pub enum Simple {
False,
True,
Null,
Float(f64),
}Expand description
A CBOR simple value.
Variants§
False
The boolean value false.
True
The boolean value true.
Null
The value representing null (None).
Float(f64)
A floating point value.
Implementations§
Trait Implementations§
source§impl CBORDecodable for Simple
impl CBORDecodable for Simple
source§impl CBOREncodable for Simple
impl CBOREncodable for Simple
source§impl PartialEq for Simple
impl PartialEq for Simple
impl CBORCodable for Simple
Auto Trait Implementations§
impl Freeze for Simple
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
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