Struct wasmtime_runtime::VMExternRef
source · pub struct VMExternRef(/* private fields */);
Implementations§
source§impl VMExternRef
impl VMExternRef
sourcepub fn assert_unreachable<T>(&self) -> T
pub fn assert_unreachable<T>(&self) -> T
This method is only available when the gc
cargo feature is disabled.
pub fn as_raw(&self) -> *mut u8
pub unsafe fn into_raw(self) -> *mut u8
pub unsafe fn from_raw(ptr: *mut u8) -> Option<Self>
pub unsafe fn clone_from_raw(ptr: *mut u8) -> Option<Self>
pub fn strong_count(&self) -> usize
pub fn eq(a: &Self, _b: &Self) -> bool
pub fn hash<H>(externref: &Self, _hasher: &mut H)where
H: Hasher,
pub fn cmp(a: &Self, _b: &Self) -> Ordering
Trait Implementations§
source§impl Clone for VMExternRef
impl Clone for VMExternRef
source§fn clone(&self) -> VMExternRef
fn clone(&self) -> VMExternRef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Deref for VMExternRef
impl Deref for VMExternRef
source§impl Drop for VMExternRef
impl Drop for VMExternRef
source§impl From<VMExternRef> for TableElement
impl From<VMExternRef> for TableElement
source§fn from(x: VMExternRef) -> TableElement
fn from(x: VMExternRef) -> TableElement
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VMExternRef
impl RefUnwindSafe for VMExternRef
impl Send for VMExternRef
impl Sync for VMExternRef
impl Unpin for VMExternRef
impl UnwindSafe for VMExternRef
Blanket Implementations§
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)