#[repr(transparent)]pub struct VMFuncRef(_);
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
.source§impl PartialEq<VMFuncRef> for VMFuncRef
impl PartialEq<VMFuncRef> for VMFuncRef
impl Copy for VMFuncRef
impl Eq for VMFuncRef
impl Send for VMFuncRef
impl StructuralEq for VMFuncRef
impl StructuralPartialEq for VMFuncRef
impl Sync for VMFuncRef
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§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<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.