#[repr(transparent)]pub struct Cdetect(pub u32);Expand description
Card Detect register
Tuple Fields§
§0: u32Implementations§
Source§impl Cdetect
impl Cdetect
Sourcepub const fn card0_detect(&self) -> bool
pub const fn card0_detect(&self) -> bool
Card 0 detect
Sourcepub const fn set_card0_detect(&mut self, val: bool)
pub const fn set_card0_detect(&mut self, val: bool)
Card 0 detect
Sourcepub const fn card1_detect(&self) -> bool
pub const fn card1_detect(&self) -> bool
Card 1 detect
Sourcepub const fn set_card1_detect(&mut self, val: bool)
pub const fn set_card1_detect(&mut self, val: bool)
Card 1 detect
Trait Implementations§
impl Copy for Cdetect
impl Eq for Cdetect
impl StructuralPartialEq for Cdetect
Auto Trait Implementations§
impl Freeze for Cdetect
impl RefUnwindSafe for Cdetect
impl Send for Cdetect
impl Sync for Cdetect
impl Unpin for Cdetect
impl UnwindSafe for Cdetect
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