Enum parity_wasm_cp::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 External
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for External
[src]
impl Copy for External
impl Clone for External
[src]
impl Clone for External
fn clone(&self) -> External
[src]
fn clone(&self) -> External
Returns 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 External
fn eq(&self, other: &External) -> bool
[src]
fn eq(&self, other: &External) -> bool
This 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) -> bool
This method tests for !=
.
impl Deserialize for External
[src]
impl Deserialize for External
type 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