Struct Headermask
#[repr(transparent)]pub struct Headermask(pub u32);
Expand description
Header (S0) mask.
Tuple Fields§
§0: u32
Implementations§
§impl Headermask
impl Headermask
pub const fn headermask(&self) -> u8
pub const fn headermask(&self) -> u8
Header (S0) mask
pub fn set_headermask(&mut self, val: u8)
pub fn set_headermask(&mut self, val: u8)
Header (S0) mask
Trait Implementations§
§impl Clone for Headermask
impl Clone for Headermask
§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 more§impl Default for Headermask
impl Default for Headermask
§fn default() -> Headermask
fn default() -> Headermask
Returns the “default value” for a type. Read more
§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
)