pub struct CborHead {
pub major: MajorType,
pub value: CborHeadValue,
}Expand description
A normalized CBOR initial byte and its optional argument.
Fields§
§major: MajorType§value: CborHeadValueTrait Implementations§
Source§impl<Output: OutputBuf, const DET: bool> Serializer<Output, CborHead> for CborHeadFmt<DET>
impl<Output: OutputBuf, const DET: bool> Serializer<Output, CborHead> for CborHeadFmt<DET>
Source§exec fn serialize_into(&self, head: &CborHead, out: &mut Output)
exec fn serialize_into(&self, head: &CborHead, out: &mut Output)
impl Copy for CborHead
impl Eq for CborHead
impl Structural for CborHead
impl StructuralPartialEq for CborHead
Auto Trait Implementations§
impl Freeze for CborHead
impl RefUnwindSafe for CborHead
impl Send for CborHead
impl Sync for CborHead
impl Unpin for CborHead
impl UnsafeUnpin for CborHead
impl UnwindSafe for CborHead
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