Enum parity_wasm::elements::External
source · pub enum External {
Function(u32),
Table(TableType),
Memory(MemoryType),
Global(GlobalType),
}
Expand description
External to local binding.
Variants§
Function(u32)
Binds to a function whose type is associated with the given index in the type section.
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§
source§impl Deserialize for External
impl Deserialize for External
source§impl PartialEq<External> for External
impl PartialEq<External> for External
impl Copy for External
impl StructuralPartialEq for External
Auto Trait Implementations§
impl RefUnwindSafe for External
impl Send for External
impl Sync for External
impl Unpin for External
impl UnwindSafe for External
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more