#[repr(transparent)]pub struct Hprt(pub u32);
Expand description
Host port control and status register
Tuple Fields§
§0: u32
Implementations§
Source§impl Hprt
impl Hprt
Sourcepub fn set_penchng(&mut self, val: bool)
pub fn set_penchng(&mut self, val: bool)
Port enable/disable change
Sourcepub 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