Struct Eccerrorbitpos
#[repr(transparent)]pub struct Eccerrorbitpos(pub u32);Expand description
ECC Error bit position register.
Tuple Fields§
§0: u32Implementations§
§impl Eccerrorbitpos
impl Eccerrorbitpos
pub const fn errorbitpos1(&self) -> u16
pub const fn errorbitpos1(&self) -> u16
Position of error bit 1.
pub const fn set_errorbitpos1(&mut self, val: u16)
pub const fn set_errorbitpos1(&mut self, val: u16)
Position of error bit 1.
pub const fn errorbitpos2(&self) -> u16
pub const fn errorbitpos2(&self) -> u16
Position of error bit 2.
pub const fn set_errorbitpos2(&mut self, val: u16)
pub const fn set_errorbitpos2(&mut self, val: u16)
Position of error bit 2.
Trait Implementations§
§impl Clone for Eccerrorbitpos
impl Clone for Eccerrorbitpos
§fn clone(&self) -> Eccerrorbitpos
fn clone(&self) -> Eccerrorbitpos
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Eccerrorbitpos
§impl Debug for Eccerrorbitpos
impl Debug for Eccerrorbitpos
§impl Default for Eccerrorbitpos
impl Default for Eccerrorbitpos
§fn default() -> Eccerrorbitpos
fn default() -> Eccerrorbitpos
Returns the “default value” for a type. Read more
impl Eq for Eccerrorbitpos
§impl PartialEq for Eccerrorbitpos
impl PartialEq for Eccerrorbitpos
impl StructuralPartialEq for Eccerrorbitpos
Auto Trait Implementations§
impl Freeze for Eccerrorbitpos
impl RefUnwindSafe for Eccerrorbitpos
impl Send for Eccerrorbitpos
impl Sync for Eccerrorbitpos
impl Unpin for Eccerrorbitpos
impl UnsafeUnpin for Eccerrorbitpos
impl UnwindSafe for Eccerrorbitpos
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