Struct wasmer_types::ExternRef
source · [−]#[repr(transparent)]pub struct ExternRef { /* private fields */ }
Expand description
An opaque reference to some data. This reference can be passed through Wasm.
Implementations
Trait Implementations
sourceimpl From<ExternRef> for VMExternRef
impl From<ExternRef> for VMExternRef
sourceimpl<T> From<ExternRef> for Value<T> where
T: WasmValueType,
impl<T> From<ExternRef> for Value<T> where
T: WasmValueType,
sourceimpl From<VMExternRef> for ExternRef
impl From<VMExternRef> for ExternRef
sourcefn from(other: VMExternRef) -> Self
fn from(other: VMExternRef) -> Self
Converts to this type from the input type.
impl Eq for ExternRef
impl StructuralEq for ExternRef
impl StructuralPartialEq for ExternRef
Auto Trait Implementations
impl !RefUnwindSafe for ExternRef
impl !Send for ExternRef
impl !Sync for ExternRef
impl Unpin for ExternRef
impl !UnwindSafe for ExternRef
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn 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
sourceimpl<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,
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.