Struct wasmer_types::ExternRef [−][src]
#[repr(transparent)]pub struct ExternRef { /* fields omitted */ }
Expand description
An opaque reference to some data. This reference can be passed through Wasm.
Implementations
Trait Implementations
impl From<ExternRef> for VMExternRef
[src]
impl From<ExternRef> for VMExternRef
[src]impl<T> From<ExternRef> for Value<T> where
T: WasmValueType,
[src]
impl<T> From<ExternRef> for Value<T> where
T: WasmValueType,
[src]impl From<VMExternRef> for ExternRef
[src]
impl From<VMExternRef> for ExternRef
[src]fn from(other: VMExternRef) -> Self
[src]
fn from(other: VMExternRef) -> Self
[src]Performs the conversion.
impl Eq for ExternRef
[src]
impl StructuralEq for ExternRef
[src]
impl StructuralPartialEq for ExternRef
[src]
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
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]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
[src]
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]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