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§
impl Copy for Simple
impl Eq for Simple
Source§impl Ord for Simple
impl Ord for Simple
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Simple
impl PartialOrd 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 UnsafeUnpin 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