pub enum Simple {
Unassigned(u8),
Reserved(u8),
}
Expand description
Most simple types (e.g. bool
are covered elsewhere) but this
value captures those value ranges of CBOR type Simple
(major 7)
which are either not assigned or reserved.
Variants§
Trait Implementations§
Source§impl Ord for Simple
impl Ord for Simple
Source§impl PartialOrd for Simple
impl PartialOrd for Simple
impl Copy for Simple
impl Eq for Simple
impl StructuralPartialEq 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