Struct Dsts
#[repr(transparent)]pub struct Dsts(pub u32);Expand description
Device Status Register.
Tuple Fields§
§0: u32Implementations§
§impl Dsts
impl Dsts
pub const fn set_suspsts(&mut self, val: bool)
pub const fn set_suspsts(&mut self, val: bool)
Suspend Status (SuspSts).
pub const fn set_enumspd(&mut self, val: Enumspd)
pub const fn set_enumspd(&mut self, val: Enumspd)
Enumerated Speed (EnumSpd).
pub const fn set_errticerr(&mut self, val: bool)
pub const fn set_errticerr(&mut self, val: bool)
Erratic Error (ErrticErr).
pub const fn set_devlnsts(&mut self, val: u8)
pub const fn set_devlnsts(&mut self, val: u8)
Device Line Status (DevLnSts).
Trait Implementations§
impl Copy for Dsts
impl Eq for Dsts
impl StructuralPartialEq for Dsts
Auto Trait Implementations§
impl Forget for Dsts
impl Freeze for Dsts
impl Move for Dsts
impl RefUnwindSafe for Dsts
impl Send for Dsts
impl Sync for Dsts
impl Unpin for Dsts
impl UnsafeUnpin for Dsts
impl UnwindSafe for Dsts
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