Struct wasmer_vm::VMCallerCheckedAnyfunc [−][src]
#[repr(C)]pub struct VMCallerCheckedAnyfunc { pub func_ptr: *const VMFunctionBody, pub type_index: VMSharedSignatureIndex, pub vmctx: VMFunctionEnvironment, }
Expand description
The VM caller-checked “anyfunc” record, for caller-side signature checking. It consists of the actual function pointer and a signature id to be checked by the caller.
Fields
func_ptr: *const VMFunctionBodyFunction body.
type_index: VMSharedSignatureIndexFunction signature id.
vmctx: VMFunctionEnvironmentFunction VMContext or host env.
Trait Implementations
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 VMCallerCheckedAnyfuncimpl !Send for VMCallerCheckedAnyfuncimpl !Sync for VMCallerCheckedAnyfuncimpl Unpin for VMCallerCheckedAnyfuncimpl UnwindSafe for VMCallerCheckedAnyfuncBlanket 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
Compare self to key and return true if they are equal.