pub struct ExternRef { /* private fields */ }
Expand description
An opaque reference to some data. This reference can be passed through Wasm.
Implementations§
Trait Implementations§
Source§impl From<ExternRef> for VMExternRef
impl From<ExternRef> for VMExternRef
Source§impl From<VMExternRef> for ExternRef
impl From<VMExternRef> for ExternRef
Source§fn from(other: VMExternRef) -> Self
fn from(other: VMExternRef) -> Self
Converts to this type from the input type.
impl Eq for ExternRef
impl StructuralPartialEq for ExternRef
Auto Trait Implementations§
impl Freeze for ExternRef
impl !RefUnwindSafe for ExternRef
impl !Send for ExternRef
impl !Sync for ExternRef
impl Unpin for ExternRef
impl !UnwindSafe for ExternRef
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> 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.