Struct Hprt
#[repr(transparent)]pub struct Hprt(pub u32);
Expand description
Host port control and status register
Tuple Fields§
§0: u32
Implementations§
§impl Hprt
impl Hprt
pub fn set_penchng(&mut self, val: bool)
pub fn set_penchng(&mut self, val: bool)
Port enable/disable change
pub fn set_pocchng(&mut self, val: bool)
pub fn set_pocchng(&mut self, val: bool)
Port overcurrent change
Trait Implementations§
impl Copy for Hprt
impl Eq for Hprt
impl StructuralPartialEq for Hprt
Auto Trait Implementations§
impl Freeze for Hprt
impl RefUnwindSafe for Hprt
impl Send for Hprt
impl Sync for Hprt
impl Unpin for Hprt
impl UnwindSafe for Hprt
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
)