Struct wasmer_engine_near::ExportFunction [−][src]
pub struct ExportFunction {
pub vm_function: VMFunction,
pub metadata: Option<Arc<ExportFunctionMetadata>>,
}
Expand description
A function export value with an extra function pointer to initialize host environments.
Fields
vm_function: VMFunction
The VM function, containing most of the data.
metadata: Option<Arc<ExportFunctionMetadata>>
Contains functions necessary to create and initialize host envs
with each Instance
as well as being responsible for the
underlying memory of the host env.
Trait Implementations
Performs the conversion.
Returns the size of the referenced value in bytes. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl !RefUnwindSafe for ExportFunction
impl Send for ExportFunction
impl Sync for ExportFunction
impl Unpin for ExportFunction
impl !UnwindSafe for ExportFunction
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more