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: FuncPointer
A pointer to a function.
Memory(Memory)
Memory export.
Table(Table)
Table export.
Global(Global)
Global export.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Export
impl !RefUnwindSafe for Export
impl Send for Export
impl !Sync for Export
impl Unpin for Export
impl !UnwindSafe 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