#[repr(u8)]pub enum ValueType {
Show 18 variants
Nil = 0,
Bool = 1,
U8 = 2,
I8 = 3,
U16 = 4,
I16 = 5,
U32 = 6,
I32 = 7,
U64 = 8,
I64 = 9,
Varint = 10,
F32 = 11,
F64 = 12,
Str = 13,
StrIdx = 14,
Raw = 15,
Arr = 16,
Map = 17,
}
Variants§
Nil = 0
Bool = 1
U8 = 2
I8 = 3
U16 = 4
I16 = 5
U32 = 6
I32 = 7
U64 = 8
I64 = 9
Varint = 10
F32 = 11
F64 = 12
Str = 13
StrIdx = 14
Raw = 15
Arr = 16
Map = 17
Trait Implementations§
Source§impl From<ValueDescType> for ValueType
impl From<ValueDescType> for ValueType
Source§fn from(value: ValueDescType) -> Self
fn from(value: ValueDescType) -> Self
Converts to this type from the input type.
Source§impl From<ValueType> for ValueDescType
impl From<ValueType> for ValueDescType
impl Copy for ValueType
impl Eq for ValueType
impl StructuralPartialEq for ValueType
Auto Trait Implementations§
impl Freeze for ValueType
impl RefUnwindSafe for ValueType
impl Send for ValueType
impl Sync for ValueType
impl Unpin for ValueType
impl UnwindSafe for ValueType
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.