pub struct VMFuncRef(/* private fields */);
Expand description
A function reference. A single word that points to metadata about a function.
Implementations§
Trait Implementations§
Source§impl NativeWasmType for VMFuncRef
impl NativeWasmType for VMFuncRef
Source§fn from_binary(bits: i128) -> Self
fn from_binary(bits: i128) -> Self
Convert to self from i128 binary representation.
Source§fn to_value<T>(self) -> Value<T>where
T: WasmValueType,
fn to_value<T>(self) -> Value<T>where
T: WasmValueType,
Convert self to a
Value
.impl Copy for VMFuncRef
impl Eq for VMFuncRef
impl Send for VMFuncRef
impl StructuralPartialEq for VMFuncRef
impl Sync for VMFuncRef
Auto Trait Implementations§
impl Freeze for VMFuncRef
impl RefUnwindSafe for VMFuncRef
impl Unpin for VMFuncRef
impl UnwindSafe for VMFuncRef
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Source§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.
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.