Struct wasmer_vm::VMFuncRef [−][src]
#[repr(transparent)]pub struct VMFuncRef(_);
Expand description
A function reference. A single word that points to metadata about a function.
Implementations
Methods from Deref<Target = *const VMCallerCheckedAnyfunc>
Trait Implementations
impl MemoryUsage for VMFuncRef
[src]
impl MemoryUsage for VMFuncRef
[src]fn size_of_val(&self, visited: &mut dyn MemoryUsageTracker) -> usize
[src]
fn size_of_val(&self, visited: &mut dyn MemoryUsageTracker) -> usize
[src]Returns the size of the referenced value in bytes. Read more
impl NativeWasmType for VMFuncRef
[src]
impl NativeWasmType for VMFuncRef
[src]type Abi = Self
type Abi = Self
The ABI for this type (i32, i64, f32, f64)
fn from_abi(abi: Self::Abi) -> Self
[src]
fn into_abi(self) -> Self::Abi
[src]
fn from_binary(bits: i128) -> Self
[src]
fn from_binary(bits: i128) -> Self
[src]Convert to self from i128 binary representation.
fn to_value<T>(self) -> Value<T> where
T: WasmValueType,
[src]
fn to_value<T>(self) -> Value<T> where
T: WasmValueType,
[src]Convert self to a Value
.
impl Copy for VMFuncRef
[src]
impl Eq for VMFuncRef
[src]
impl Send for VMFuncRef
[src]
impl StructuralEq for VMFuncRef
[src]
impl StructuralPartialEq for VMFuncRef
[src]
impl Sync for VMFuncRef
[src]
Auto Trait Implementations
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.
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.
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more