Struct parity_wasm::elements::ImportEntry [−][src]
pub struct ImportEntry { /* fields omitted */ }Import entry.
Methods
impl ImportEntry[src]
impl ImportEntrypub fn new(module_str: String, field_str: String, external: External) -> Self[src]
pub fn new(module_str: String, field_str: String, external: External) -> SelfNew import entry.
pub fn module(&self) -> &str[src]
pub fn module(&self) -> &strModule reference of the import entry.
pub fn module_mut(&mut self) -> &mut String[src]
pub fn module_mut(&mut self) -> &mut StringModule reference of the import entry (mutable).
pub fn field(&self) -> &str[src]
pub fn field(&self) -> &strField reference of the import entry.
pub fn field_mut(&mut self) -> &mut String[src]
pub fn field_mut(&mut self) -> &mut StringField reference of the import entry (mutable)
pub fn external(&self) -> &External[src]
pub fn external(&self) -> &ExternalLocal binidng of the import entry.
pub fn external_mut(&mut self) -> &mut External[src]
pub fn external_mut(&mut self) -> &mut ExternalLocal binidng of the import entry (mutable)
Trait Implementations
impl Debug for ImportEntry[src]
impl Debug for ImportEntryfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for ImportEntry[src]
impl Clone for ImportEntryfn clone(&self) -> ImportEntry[src]
fn clone(&self) -> ImportEntryReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for ImportEntry[src]
impl PartialEq for ImportEntryfn eq(&self, other: &ImportEntry) -> bool[src]
fn eq(&self, other: &ImportEntry) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ImportEntry) -> bool[src]
fn ne(&self, other: &ImportEntry) -> boolThis method tests for !=.
impl Deserialize for ImportEntry[src]
impl Deserialize for ImportEntrytype Error = Error
Serialization error produced by deserialization routine.
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>[src]
fn deserialize<R: Read>(reader: &mut R) -> Result<Self, Self::Error>Deserialize type from serial i/o
impl Serialize for ImportEntry[src]
impl Serialize for ImportEntryAuto Trait Implementations
impl Send for ImportEntry
impl Send for ImportEntryimpl Sync for ImportEntry
impl Sync for ImportEntry