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 for External
impl PartialEq for External
impl Copy for External
impl StructuralPartialEq for External
Auto Trait Implementations§
impl Freeze for External
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)