pub enum HeapTopType {
Extern,
Any,
Func,
Exn,
Cont,
}Available on crate feature
runtime only.Expand description
A top heap type.
Variants§
Extern
The common supertype of all external references.
Any
The common supertype of all internal references.
Func
The common supertype of all function references.
Exn
The common supertype of all exception references.
Cont
The common supertype of all continuation references.
Trait Implementations§
Source§impl Clone for HeapTopType
impl Clone for HeapTopType
Source§fn clone(&self) -> HeapTopType
fn clone(&self) -> HeapTopType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HeapTopType
Source§impl Debug for HeapTopType
impl Debug for HeapTopType
impl Eq for HeapTopType
Source§impl From<HeapTopType> for HeapType
impl From<HeapTopType> for HeapType
Source§fn from(value: HeapTopType) -> Self
fn from(value: HeapTopType) -> Self
Converts to this type from the input type.
Source§impl Hash for HeapTopType
impl Hash for HeapTopType
Source§impl PartialEq for HeapTopType
impl PartialEq for HeapTopType
impl StructuralPartialEq for HeapTopType
Auto Trait Implementations§
impl Freeze for HeapTopType
impl RefUnwindSafe for HeapTopType
impl Send for HeapTopType
impl Sync for HeapTopType
impl Unpin for HeapTopType
impl UnsafeUnpin for HeapTopType
impl UnwindSafe for HeapTopType
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more