Struct wasmer_vm::VMCallerCheckedAnyfunc
source · [−]#[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
sourceimpl Clone for VMCallerCheckedAnyfunc
impl Clone for VMCallerCheckedAnyfunc
sourcefn clone(&self) -> VMCallerCheckedAnyfunc
fn clone(&self) -> VMCallerCheckedAnyfunc
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VMCallerCheckedAnyfunc
impl Debug for VMCallerCheckedAnyfunc
sourceimpl Default for VMCallerCheckedAnyfunc
impl Default for VMCallerCheckedAnyfunc
sourceimpl Hash for VMCallerCheckedAnyfunc
impl Hash for VMCallerCheckedAnyfunc
sourceimpl MemoryUsage for VMCallerCheckedAnyfunc
impl MemoryUsage for VMCallerCheckedAnyfunc
sourcefn size_of_val(&self, visited: &mut dyn MemoryUsageTracker) -> usize
fn size_of_val(&self, visited: &mut dyn MemoryUsageTracker) -> usize
Returns the size of the referenced value in bytes. Read more
sourceimpl PartialEq<VMCallerCheckedAnyfunc> for VMCallerCheckedAnyfunc
impl PartialEq<VMCallerCheckedAnyfunc> for VMCallerCheckedAnyfunc
sourcefn eq(&self, other: &VMCallerCheckedAnyfunc) -> bool
fn eq(&self, other: &VMCallerCheckedAnyfunc) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VMCallerCheckedAnyfunc) -> bool
fn ne(&self, other: &VMCallerCheckedAnyfunc) -> bool
This method tests for !=
.
impl Copy for VMCallerCheckedAnyfunc
impl Eq for VMCallerCheckedAnyfunc
impl StructuralEq for VMCallerCheckedAnyfunc
impl StructuralPartialEq for VMCallerCheckedAnyfunc
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
impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.