#[repr(C, packed(1))]pub struct VarDataHeader8 {
pub length: u8,
}Expand description
Variable-length data header with u8 length (1 byte).
Fields§
§length: u8Length of the variable data in bytes.
Implementations§
Source§impl VarDataHeader8
impl VarDataHeader8
Sourcepub const ENCODED_LENGTH: usize = 1
pub const ENCODED_LENGTH: usize = 1
Encoded length of the var data header in bytes.
Trait Implementations§
Source§impl Clone for VarDataHeader8
impl Clone for VarDataHeader8
Source§fn clone(&self) -> VarDataHeader8
fn clone(&self) -> VarDataHeader8
Returns a duplicate of the value. Read more
1.0.0 · 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 VarDataHeader8
impl Debug for VarDataHeader8
Source§impl PartialEq for VarDataHeader8
impl PartialEq for VarDataHeader8
impl Copy for VarDataHeader8
impl Eq for VarDataHeader8
impl StructuralPartialEq for VarDataHeader8
Auto Trait Implementations§
impl Freeze for VarDataHeader8
impl RefUnwindSafe for VarDataHeader8
impl Send for VarDataHeader8
impl Sync for VarDataHeader8
impl Unpin for VarDataHeader8
impl UnwindSafe for VarDataHeader8
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