#[repr(C, packed(1))]pub struct USB_30_PORT_CHANGE {
pub AsUshort16: USHORT,
}
Fields§
§AsUshort16: USHORT
Implementations§
Source§impl USB_30_PORT_CHANGE
impl USB_30_PORT_CHANGE
pub fn ConnectStatusChange(&self) -> USHORT
pub fn set_ConnectStatusChange(&mut self, val: USHORT)
pub fn Reserved2(&self) -> USHORT
pub fn set_Reserved2(&mut self, val: USHORT)
pub fn OverCurrentIndicatorChange(&self) -> USHORT
pub fn set_OverCurrentIndicatorChange(&mut self, val: USHORT)
pub fn ResetChange(&self) -> USHORT
pub fn set_ResetChange(&mut self, val: USHORT)
pub fn BHResetChange(&self) -> USHORT
pub fn set_BHResetChange(&mut self, val: USHORT)
pub fn PortLinkStateChange(&self) -> USHORT
pub fn set_PortLinkStateChange(&mut self, val: USHORT)
pub fn PortConfigErrorChange(&self) -> USHORT
pub fn set_PortConfigErrorChange(&mut self, val: USHORT)
pub fn Reserved3(&self) -> USHORT
pub fn set_Reserved3(&mut self, val: USHORT)
Trait Implementations§
Source§impl Clone for USB_30_PORT_CHANGE
impl Clone for USB_30_PORT_CHANGE
Source§fn clone(&self) -> USB_30_PORT_CHANGE
fn clone(&self) -> USB_30_PORT_CHANGE
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for USB_30_PORT_CHANGE
impl Default for USB_30_PORT_CHANGE
Source§fn default() -> USB_30_PORT_CHANGE
fn default() -> USB_30_PORT_CHANGE
Returns the “default value” for a type. Read more
impl Copy for USB_30_PORT_CHANGE
Auto Trait Implementations§
impl Freeze for USB_30_PORT_CHANGE
impl RefUnwindSafe for USB_30_PORT_CHANGE
impl Send for USB_30_PORT_CHANGE
impl Sync for USB_30_PORT_CHANGE
impl Unpin for USB_30_PORT_CHANGE
impl UnwindSafe for USB_30_PORT_CHANGE
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