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