#[repr(C)]pub struct VMCallerCheckedAnyfunc {
pub func_ptr: *const VMFunctionBody,
pub type_index: VMSharedSignatureIndex,
pub vmctx: *mut VMContext,
}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: *mut VMContextFunction VMContext.
Trait Implementations§
Source§impl Clone for VMCallerCheckedAnyfunc
impl Clone for VMCallerCheckedAnyfunc
Source§fn clone(&self) -> VMCallerCheckedAnyfunc
fn clone(&self) -> VMCallerCheckedAnyfunc
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VMCallerCheckedAnyfunc
impl Debug for VMCallerCheckedAnyfunc
Auto Trait Implementations§
impl !Send for VMCallerCheckedAnyfunc
impl !Sync for VMCallerCheckedAnyfunc
impl Freeze for VMCallerCheckedAnyfunc
impl RefUnwindSafe for VMCallerCheckedAnyfunc
impl Unpin for VMCallerCheckedAnyfunc
impl UnsafeUnpin for VMCallerCheckedAnyfunc
impl UnwindSafe for VMCallerCheckedAnyfunc
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more