Struct Idc
#[repr(transparent)]pub struct Idc(pub u32);
Expand description
Identity code
Tuple Fields§
§0: u32
Implementations§
§impl Idc
impl Idc
pub fn set_dev_id(&mut self, val: u16)
pub fn set_dev_id(&mut self, val: u16)
Device ID
pub fn set_rev_id(&mut self, val: u16)
pub fn set_rev_id(&mut self, val: u16)
Revision ID
Trait Implementations§
impl Copy for Idc
impl Eq for Idc
impl StructuralPartialEq for Idc
Auto Trait Implementations§
impl Freeze for Idc
impl RefUnwindSafe for Idc
impl Send for Idc
impl Sync for Idc
impl Unpin for Idc
impl UnwindSafe for Idc
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
)