pub enum ValueKind<'a> {
Decimal,
Bool,
Uint,
Int,
Enum,
Flags(&'a [(u8, &'a str)]),
Fields(&'a [FieldDesc<'a>]),
Str {
padding: StringPadding,
termination: StringTermination,
},
Bytes,
DateTime(DateTimeEncoding),
Composed {
base: i64,
mantissa_offset: u16,
mantissa_words: u8,
exponent_offset: u16,
exponent_words: u8,
},
}Expand description
§8/§13 Logical value interpretation.
Variants§
Decimal
Scaled numeric (§10) — DECIMAL / FLOAT primitives.
Bool
Uint
UINT32/UINT64 raw.
Int
INT32/INT64 raw.
Enum
Enum-backed: raw integer, mapped by the caller / generated enum.
Flags(&'a [(u8, &'a str)])
§13.2 flag set: (bit, name).
Fields(&'a [FieldDesc<'a>])
§13/§13.1 packed sub-fields.
Str
Bytes
DateTime(DateTimeEncoding)
Composed
§14 mantissa/exponent over the read window.
Trait Implementations§
impl<'a> Copy for ValueKind<'a>
Auto Trait Implementations§
impl<'a> Freeze for ValueKind<'a>
impl<'a> RefUnwindSafe for ValueKind<'a>
impl<'a> Send for ValueKind<'a>
impl<'a> Sync for ValueKind<'a>
impl<'a> Unpin for ValueKind<'a>
impl<'a> UnsafeUnpin for ValueKind<'a>
impl<'a> UnwindSafe for ValueKind<'a>
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