Enum parity_wasm::elements::External [−][src]
pub enum External {
Function(u32),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
}External to local binding.
Variants
Function(u32)Binds to function with index.
Table(TableType)Describes local table definition to be imported as.
Memory(MemoryType)Describes local memory definition to be imported as.
Global(GlobalType)Describes local global entry to be imported as.
Trait Implementations
impl Debug for External[src]
impl Debug for Externalfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for External[src]
impl Copy for Externalimpl Clone for External[src]
impl Clone for Externalfn clone(&self) -> External[src]
fn clone(&self) -> ExternalReturns 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 External[src]
impl PartialEq for Externalfn eq(&self, other: &External) -> bool[src]
fn eq(&self, other: &External) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &External) -> bool[src]
fn ne(&self, other: &External) -> boolThis method tests for !=.
impl Deserialize for External[src]
impl Deserialize for Externaltype 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 External[src]
impl Serialize for External