[−][src]Enum wasmtime_runtime::Export
The value of an export passed from one instance to another.
Variants
A function export value.
Fields of Function
address: *const VMFunctionBodyThe address of the native-code function.
vmctx: *mut VMContextPointer to the containing VMContext.
signature: SignatureThe function signature declaration, used for compatibilty checking.
A table export value.
Fields of Table
definition: *mut VMTableDefinitionThe address of the table descriptor.
vmctx: *mut VMContextPointer to the containing VMContext.
table: TablePlanThe table declaration, used for compatibilty checking.
A memory export value.
Fields of Memory
definition: *mut VMMemoryDefinitionThe address of the memory descriptor.
vmctx: *mut VMContextPointer to the containing VMContext.
memory: MemoryPlanThe memory declaration, used for compatibilty checking.
A global export value.
Fields of Global
definition: *mut VMGlobalDefinitionThe address of the global storage.
vmctx: *mut VMContextPointer to the containing VMContext.
global: GlobalThe global declaration, used for compatibilty checking.
Methods
impl Export[src]
pub fn function(
address: *const VMFunctionBody,
vmctx: *mut VMContext,
signature: Signature
) -> Self[src]
address: *const VMFunctionBody,
vmctx: *mut VMContext,
signature: Signature
) -> Self
Construct a function export value.
pub fn table(
definition: *mut VMTableDefinition,
vmctx: *mut VMContext,
table: TablePlan
) -> Self[src]
definition: *mut VMTableDefinition,
vmctx: *mut VMContext,
table: TablePlan
) -> Self
Construct a table export value.
pub fn memory(
definition: *mut VMMemoryDefinition,
vmctx: *mut VMContext,
memory: MemoryPlan
) -> Self[src]
definition: *mut VMMemoryDefinition,
vmctx: *mut VMContext,
memory: MemoryPlan
) -> Self
Construct a memory export value.
pub fn global(
definition: *mut VMGlobalDefinition,
vmctx: *mut VMContext,
global: Global
) -> Self[src]
definition: *mut VMGlobalDefinition,
vmctx: *mut VMContext,
global: Global
) -> Self
Construct a global export value.
Trait Implementations
Auto Trait Implementations
impl !Send for Export
impl !Sync for Export
impl Unpin for Export
impl UnwindSafe for Export
impl RefUnwindSafe for Export
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self