#[repr(transparent)]pub struct Eccerrorbitpos(pub u32);Expand description
ECC Error bit position register.
Tuple Fields§
§0: u32Implementations§
Source§impl Eccerrorbitpos
impl Eccerrorbitpos
Sourcepub const fn errorbitpos1(&self) -> u16
pub const fn errorbitpos1(&self) -> u16
Position of error bit 1
Sourcepub const fn set_errorbitpos1(&mut self, val: u16)
pub const fn set_errorbitpos1(&mut self, val: u16)
Position of error bit 1
Sourcepub const fn errorbitpos2(&self) -> u16
pub const fn errorbitpos2(&self) -> u16
Position of error bit 2
Sourcepub const fn set_errorbitpos2(&mut self, val: u16)
pub const fn set_errorbitpos2(&mut self, val: u16)
Position of error bit 2
Trait Implementations§
Source§impl Clone for Eccerrorbitpos
impl Clone for Eccerrorbitpos
Source§fn clone(&self) -> Eccerrorbitpos
fn clone(&self) -> Eccerrorbitpos
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 Debug for Eccerrorbitpos
impl Debug for Eccerrorbitpos
Source§impl Default for Eccerrorbitpos
impl Default for Eccerrorbitpos
Source§fn default() -> Eccerrorbitpos
fn default() -> Eccerrorbitpos
Returns the “default value” for a type. Read more
Source§impl PartialEq for Eccerrorbitpos
impl PartialEq for Eccerrorbitpos
impl Copy for Eccerrorbitpos
impl Eq 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 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
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)