#[repr(transparent)]pub struct Devtype(pub u32);Expand description
Device Type Identifier Register
Tuple Fields§
§0: u32Implementations§
Source§impl Devtype
impl Devtype
Sourcepub const fn major_type(&self) -> u8
pub const fn major_type(&self) -> u8
Major classification grouping for this debug/trace component
Sourcepub const fn set_major_type(&mut self, val: u8)
pub const fn set_major_type(&mut self, val: u8)
Major classification grouping for this debug/trace component
Sourcepub const fn set_sub_type(&mut self, val: u8)
pub const fn set_sub_type(&mut self, val: u8)
Sub-classification within the major category
Trait Implementations§
impl Copy for Devtype
impl Eq for Devtype
impl StructuralPartialEq for Devtype
Auto Trait Implementations§
impl Freeze for Devtype
impl RefUnwindSafe for Devtype
impl Send for Devtype
impl Sync for Devtype
impl Unpin for Devtype
impl UnwindSafe for Devtype
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