#[repr(transparent)]pub struct CheckbitMask(pub u32);Expand description
Left-justified RAM checkbit mask. Set bits invert the corresponding check bits on reads; writes to unimplemented bits are ignored.
Tuple Fields§
§0: u32Implementations§
Source§impl CheckbitMask
impl CheckbitMask
pub const fn chkbit_mask(&self) -> u8
pub const fn set_chkbit_mask(&mut self, val: u8)
Trait Implementations§
Source§impl Clone for CheckbitMask
impl Clone for CheckbitMask
Source§fn clone(&self) -> CheckbitMask
fn clone(&self) -> CheckbitMask
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 Default for CheckbitMask
impl Default for CheckbitMask
Source§fn default() -> CheckbitMask
fn default() -> CheckbitMask
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckbitMask
impl PartialEq for CheckbitMask
impl Copy for CheckbitMask
impl Eq for CheckbitMask
impl StructuralPartialEq for CheckbitMask
Auto Trait Implementations§
impl Freeze for CheckbitMask
impl RefUnwindSafe for CheckbitMask
impl Send for CheckbitMask
impl Sync for CheckbitMask
impl Unpin for CheckbitMask
impl UnwindSafe for CheckbitMask
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