#[non_exhaustive]pub enum Extern {
Global(Global),
Table(Table),
Memory(Memory),
Function(Function),
}Expand description
An external import value.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Global(Global)
A global instance.
Table(Table)
A table instance.
Memory(Memory)
A memory instance.
Function(Function)
A function import.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Extern
impl RefUnwindSafe for Extern
impl Send for Extern
impl Sync for Extern
impl Unpin for Extern
impl UnsafeUnpin for Extern
impl UnwindSafe for Extern
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