pub enum CborHeadValue {
Argument(u64),
Indefinite,
Simple(u8),
Float(CborFloat),
Break,
}Expand description
Semantic payload carried by a decoded CBOR head.
Variants§
Implementations§
Source§impl CborHeadValue
impl CborHeadValue
pub fn arrow_0(self) -> CborFloat
pub fn arrow_Argument_0(self) -> u64
pub fn arrow_Simple_0(self) -> u8
pub fn arrow_Float_0(self) -> CborFloat
Trait Implementations§
Source§impl Clone for CborHeadValue
impl Clone for CborHeadValue
Source§fn clone(&self) -> CborHeadValue
fn clone(&self) -> CborHeadValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CborHeadValue
impl Debug for CborHeadValue
Source§impl DeepView for CborHeadValue
impl DeepView for CborHeadValue
Source§impl PartialEq for CborHeadValue
impl PartialEq for CborHeadValue
Source§fn eq(&self, other: &CborHeadValue) -> bool
fn eq(&self, other: &CborHeadValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CborHeadValue
impl Eq for CborHeadValue
impl Structural for CborHeadValue
impl StructuralPartialEq for CborHeadValue
Auto Trait Implementations§
impl Freeze for CborHeadValue
impl RefUnwindSafe for CborHeadValue
impl Send for CborHeadValue
impl Sync for CborHeadValue
impl Unpin for CborHeadValue
impl UnsafeUnpin for CborHeadValue
impl UnwindSafe for CborHeadValue
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