pub struct RefType { /* private fields */ }Expand description
A reference type: nullability plus a heap type.
Implementations§
Source§impl RefType
impl RefType
Sourcepub const NULLFUNCREF: Self
pub const NULLFUNCREF: Self
The nullfuncref type, aka (ref null nofunc).
Sourcepub const NULLEXTERNREF: Self
pub const NULLEXTERNREF: Self
The nullexternref type, aka (ref null noextern).
Sourcepub const NULLEXNREF: Self
pub const NULLEXNREF: Self
The nullexnref type, aka (ref null noexn).
Trait Implementations§
impl Eq for RefType
impl StructuralPartialEq for RefType
Auto Trait Implementations§
impl Freeze for RefType
impl RefUnwindSafe for RefType
impl Send for RefType
impl Sync for RefType
impl Unpin for RefType
impl UnsafeUnpin for RefType
impl UnwindSafe for RefType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.