pub enum ExportLocal {
Func(EntryRef<Func>),
Global(EntryRef<Global>),
Table(EntryRef<Table>),
Memory(EntryRef<Memory>),
}
Expand description
Export entry reference.
Module can export function, global, table or memory instance under specific name (field).
Variants§
Func(EntryRef<Func>)
Function reference.
Global(EntryRef<Global>)
Global reference.
Table(EntryRef<Table>)
Table reference.
Memory(EntryRef<Memory>)
Memory reference.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExportLocal
impl !RefUnwindSafe for ExportLocal
impl !Send for ExportLocal
impl !Sync for ExportLocal
impl Unpin for ExportLocal
impl !UnwindSafe for ExportLocal
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