Struct stm32_metapac::otg::regs::Cid
#[repr(transparent)]pub struct Cid(pub u32);
Expand description
Core ID register
Tuple Fields§
§0: u32
Implementations§
§impl Cid
impl Cid
pub const fn product_id(&self) -> u32
pub const fn product_id(&self) -> u32
Product ID field
pub fn set_product_id(&mut self, val: u32)
pub fn set_product_id(&mut self, val: u32)
Product ID field
Trait Implementations§
impl Copy for Cid
impl Eq for Cid
impl StructuralEq for Cid
impl StructuralPartialEq for Cid
Auto Trait Implementations§
impl RefUnwindSafe for Cid
impl Send for Cid
impl Sync for Cid
impl Unpin for Cid
impl UnwindSafe for Cid
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