Expand description
A literal value, i.e. "foo"
, 1.0
, or h'FFF7'
CDDL ABNF grammar:
value = number / text / bytes
Variants
Text(String)
A text-string literal.
Uint(u64)
An unsigned integer literal.
Nint(i64)
A negative integer literal.
Float(f64)
A floating-point literal.
Bytes(Vec<u8>)
A byte-tring literal.
Trait Implementations
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more