#[repr(u8)]pub enum ValueTag {
Null = 0,
Bool = 1,
I64 = 2,
U64 = 3,
F64 = 4,
Str = 5,
StaticStr = 6,
Array = 7,
Object = 8,
}Expand description
Tag byte identifying the active variant in Value.
Variants§
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