Struct stm32_metapac::sdmmc::regs::Ver
#[repr(transparent)]pub struct Ver(pub u32);
Expand description
SDMMC IP version register
Tuple Fields§
§0: u32
Implementations§
§impl Ver
impl Ver
pub fn set_minrev(&mut self, val: u8)
pub fn set_minrev(&mut self, val: u8)
IP minor revision number.
pub fn set_majrev(&mut self, val: u8)
pub fn set_majrev(&mut self, val: u8)
IP major revision number.
Trait Implementations§
impl Copy for Ver
impl Eq for Ver
impl StructuralEq for Ver
impl StructuralPartialEq for Ver
Auto Trait Implementations§
impl RefUnwindSafe for Ver
impl Send for Ver
impl Sync for Ver
impl Unpin for Ver
impl UnwindSafe for Ver
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