#[repr(u8)]pub enum HeapTag {
Float = 1,
Bool = 2,
String = 3,
Variant = 4,
Map = 5,
Quotation = 6,
Closure = 7,
}Expand description
Heap object type tags
Variants§
Trait Implementations§
impl Copy for HeapTag
impl Eq for HeapTag
impl StructuralPartialEq for HeapTag
Auto Trait Implementations§
impl Freeze for HeapTag
impl RefUnwindSafe for HeapTag
impl Send for HeapTag
impl Sync for HeapTag
impl Unpin for HeapTag
impl UnwindSafe for HeapTag
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