#[repr(transparent)]pub struct Header(pub u32);Expand description
.
Tuple Fields§
§0: u32Implementations§
Source§impl Header
impl Header
Sourcepub const fn set_entries(&mut self, val: u8)
pub const fn set_entries(&mut self, val: u8)
.
Sourcepub const fn set_sub_type(&mut self, val: u8)
pub const fn set_sub_type(&mut self, val: u8)
.
Sourcepub const fn identifier(&self) -> u8
pub const fn identifier(&self) -> u8
.
Sourcepub const fn set_identifier(&mut self, val: u8)
pub const fn set_identifier(&mut self, val: u8)
.
Trait Implementations§
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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