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 VMFunctionBody
Function body.
type_index: VMSharedSignatureIndex
Function signature id.
vmctx: VMFunctionEnvironment
Function 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 VMCallerCheckedAnyfunc
impl !Send for VMCallerCheckedAnyfunc
impl !Sync for VMCallerCheckedAnyfunc
impl Unpin for VMCallerCheckedAnyfunc
impl UnwindSafe for VMCallerCheckedAnyfunc
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
Compare self to key
and return true
if they are equal.