[−][src]Enum wasmtime_runtime::Export
The value of an export passed from one instance to another.
Variants
Function
A function export value.
Fields of Function
address: *const VMFunctionBody
The address of the native-code function.
vmctx: *mut VMContext
Pointer to the containing VMContext
.
signature: Signature
The function signature declaration, used for compatibilty checking.
Table
A table export value.
Fields of Table
definition: *mut VMTableDefinition
The address of the table descriptor.
vmctx: *mut VMContext
Pointer to the containing VMContext
.
table: TablePlan
The table declaration, used for compatibilty checking.
Memory
A memory export value.
Fields of Memory
definition: *mut VMMemoryDefinition
The address of the memory descriptor.
vmctx: *mut VMContext
Pointer to the containing VMContext
.
memory: MemoryPlan
The memory declaration, used for compatibilty checking.
Global
A global export value.
Fields of Global
definition: *mut VMGlobalDefinition
The address of the global storage.
vmctx: *mut VMContext
Pointer to the containing VMContext
.
global: Global
The 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
impl Clone for Export
[src]
fn clone(&self) -> Export
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Export
[src]
Auto Trait Implementations
impl Unpin for Export
impl !Send for Export
impl !Sync for Export
impl RefUnwindSafe for Export
impl UnwindSafe for Export
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
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