Struct Dsts
#[repr(transparent)]pub struct Dsts(pub u32);
Expand description
Device status register
Tuple Fields§
§0: u32
Implementations§
§impl Dsts
impl Dsts
pub fn set_suspsts(&mut self, val: bool)
pub fn set_suspsts(&mut self, val: bool)
Suspend status
pub fn set_enumspd(&mut self, val: Dspd)
pub fn set_enumspd(&mut self, val: Dspd)
Enumerated speed
Trait Implementations§
impl Copy for Dsts
impl Eq for Dsts
impl StructuralPartialEq for Dsts
Auto Trait Implementations§
impl Freeze for Dsts
impl RefUnwindSafe for Dsts
impl Send for Dsts
impl Sync for Dsts
impl Unpin 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
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
)