#[repr(transparent)]pub struct ProductId(pub u32);Expand description
product ID
Tuple Fields§
§0: u32Implementations§
Source§impl ProductId
impl ProductId
Sourcepub const fn product_id(&self) -> u16
pub const fn product_id(&self) -> u16
This register contains the product ID which is unique for each part number.
Sourcepub const fn set_product_id(&mut self, val: u16)
pub const fn set_product_id(&mut self, val: u16)
This register contains the product ID which is unique for each part number.
Trait Implementations§
impl Copy for ProductId
impl Eq for ProductId
impl StructuralPartialEq for ProductId
Auto Trait Implementations§
impl Freeze for ProductId
impl RefUnwindSafe for ProductId
impl Send for ProductId
impl Sync for ProductId
impl Unpin for ProductId
impl UnwindSafe for ProductId
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