#[repr(u8)]pub enum ValueTag {
Show 15 variants
Nil = 0,
Bool = 1,
Int = 2,
Float = 3,
String = 4,
Array = 5,
Tuple = 6,
Map = 7,
Struct = 8,
Enum = 9,
Function = 10,
NativeFunction = 11,
Closure = 12,
Iterator = 13,
Task = 14,
}Variants§
Nil = 0
Bool = 1
Int = 2
Float = 3
String = 4
Array = 5
Tuple = 6
Map = 7
Struct = 8
Enum = 9
Function = 10
NativeFunction = 11
Closure = 12
Iterator = 13
Task = 14
Implementations§
Trait Implementations§
impl Copy for ValueTag
impl Eq for ValueTag
impl StructuralPartialEq for ValueTag
Auto Trait Implementations§
impl Freeze for ValueTag
impl RefUnwindSafe for ValueTag
impl Send for ValueTag
impl Sync for ValueTag
impl Unpin for ValueTag
impl UnsafeUnpin for ValueTag
impl UnwindSafe for ValueTag
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.