#[repr(transparent)]pub struct Headermask(pub u32);
Expand description
Header (S0) mask.
Tuple Fields§
§0: u32
Implementations§
Source§impl Headermask
impl Headermask
Sourcepub const fn headermask(&self) -> u8
pub const fn headermask(&self) -> u8
Header (S0) mask
Sourcepub fn set_headermask(&mut self, val: u8)
pub fn set_headermask(&mut self, val: u8)
Header (S0) mask
Trait Implementations§
Source§impl Clone for Headermask
impl Clone for Headermask
Source§fn clone(&self) -> Headermask
fn clone(&self) -> Headermask
Returns a copy 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 Default for Headermask
impl Default for Headermask
Source§fn default() -> Headermask
fn default() -> Headermask
Returns the “default value” for a type. Read more
Source§impl PartialEq for Headermask
impl PartialEq for Headermask
impl Copy for Headermask
impl Eq for Headermask
impl StructuralPartialEq for Headermask
Auto Trait Implementations§
impl Freeze for Headermask
impl RefUnwindSafe for Headermask
impl Send for Headermask
impl Sync for Headermask
impl Unpin for Headermask
impl UnwindSafe for Headermask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)