Struct wasmer_engine::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: VMFunctionThe 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 ExportFunctionimpl Send for ExportFunctionimpl Sync for ExportFunctionimpl Unpin for ExportFunctionimpl !UnwindSafe for ExportFunctionBlanket 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>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more