Struct parity_wasm::elements::ImportEntry [−][src]
pub struct ImportEntry { /* fields omitted */ }
Import entry.
Implementations
impl ImportEntry
[src]
impl ImportEntry
[src]pub fn new(module_str: String, field_str: String, external: External) -> Self
[src]
New import entry.
pub fn module(&self) -> &str
[src]
Module reference of the import entry.
pub fn module_mut(&mut self) -> &mut String
[src]
Module reference of the import entry (mutable).
pub fn field(&self) -> &str
[src]
Field reference of the import entry.
pub fn field_mut(&mut self) -> &mut String
[src]
Field reference of the import entry (mutable)
pub fn external(&self) -> &External
[src]
Local binidng of the import entry.
pub fn external_mut(&mut self) -> &mut External
[src]
Local binidng of the import entry (mutable)
Trait Implementations
impl Clone for ImportEntry
[src]
impl Clone for ImportEntry
[src]fn clone(&self) -> ImportEntry
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Deserialize for ImportEntry
[src]
impl Deserialize for ImportEntry
[src]impl PartialEq<ImportEntry> for ImportEntry
[src]
impl PartialEq<ImportEntry> for ImportEntry
[src]fn eq(&self, other: &ImportEntry) -> bool
[src]
fn ne(&self, other: &ImportEntry) -> bool
[src]
impl Serialize for ImportEntry
[src]
impl Serialize for ImportEntry
[src]