Struct wasm_runtime_layer::Export
source · pub struct Export {
pub name: String,
pub value: Extern,
}
Expand description
A descriptor for an exported WebAssembly value of an Instance
.
This type is primarily accessed from the Instance::exports
method and describes
what names are exported from a Wasm Instance
and the type of the item that is exported.
Fields§
§name: String
The name by which the export is known.
value: Extern
The value of the exported item.
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