Struct parity_wasm::elements::ImportEntry
[−]
[src]
pub struct ImportEntry { /* fields omitted */ }
Import entry.
Methods
impl ImportEntry
[src]
fn new(module_str: String, field_str: String, external: External) -> Self
[src]
New import entry.
fn module(&self) -> &str
[src]
Module reference of the import entry.
fn module_mut(&mut self) -> &mut String
[src]
Module reference of the import entry (mutable).
fn field(&self) -> &str
[src]
Field reference of the import entry.
fn field_mut(&mut self) -> &mut String
[src]
Field reference of the import entry (mutable)
fn external(&self) -> &External
[src]
Local binidng of the import entry.
fn external_mut(&mut self) -> &mut External
[src]
Local binidng of the import entry (mutable)
Trait Implementations
impl Debug for ImportEntry
[src]
impl Clone for ImportEntry
[src]
fn clone(&self) -> ImportEntry
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Deserialize for ImportEntry
[src]
type Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>
[src]
Deserialize type from serial i/o