pub enum Export {
Function {
func: FuncPointer,
ctx: Context,
signature: Arc<FuncSig>,
},
Memory(Memory),
Table(Table),
Global(Global),
}Expand description
Kind of WebAssembly export.
Variants§
Function
Function export.
Fields
§
func: FuncPointerA pointer to a function.
Memory(Memory)
Memory export.
Table(Table)
Table export.
Global(Global)
Global export.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Export
impl !Sync for Export
impl !UnwindSafe for Export
impl Freeze for Export
impl Send for Export
impl Unpin for Export
impl UnsafeUnpin for Export
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