Struct wiggle::wasmtime_crate::Export [−][src]
pub struct Export<'instance> { /* fields omitted */ }Expand description
An exported WebAssembly value.
This type is primarily accessed from the
Instance::exports accessor and describes what
names and items are exported from a wasm instance.
Implementations
Consume this Export and return the contained Extern.
Consume this Export and return the contained Func, if it’s a function,
or None otherwise.
Consume this Export and return the contained Table, if it’s a table,
or None otherwise.
Consume this Export and return the contained Memory, if it’s a memory,
or None otherwise.
Consume this Export and return the contained Global, if it’s a global,
or None otherwise.
Consume this Export and return the contained Instance, if it’s a
instance, or None otherwise.
Consume this Export and return the contained Module, if it’s a
module, or None otherwise.
Trait Implementations
Auto Trait Implementations
impl<'instance> !RefUnwindSafe for Export<'instance>
impl<'instance> !UnwindSafe for Export<'instance>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more