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 StructuralPartialEq for Cid
Auto Trait Implementations§
impl Freeze for Cid
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
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
)