#[repr(transparent)]pub struct ParityMask(pub u32);Expand description
Left-justified LPCAC RAM parity mask. One inverts the parity bit on reads.
Tuple Fields§
§0: u32Implementations§
Source§impl ParityMask
impl ParityMask
pub const fn chkbit_mask(&self) -> bool
pub const fn set_chkbit_mask(&mut self, val: bool)
Trait Implementations§
Source§impl Clone for ParityMask
impl Clone for ParityMask
Source§fn clone(&self) -> ParityMask
fn clone(&self) -> ParityMask
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 ParityMask
impl Default for ParityMask
Source§fn default() -> ParityMask
fn default() -> ParityMask
Returns the “default value” for a type. Read more
Source§impl PartialEq for ParityMask
impl PartialEq for ParityMask
impl Copy for ParityMask
impl Eq for ParityMask
impl StructuralPartialEq for ParityMask
Auto Trait Implementations§
impl Freeze for ParityMask
impl RefUnwindSafe for ParityMask
impl Send for ParityMask
impl Sync for ParityMask
impl Unpin for ParityMask
impl UnwindSafe for ParityMask
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