#[repr(C, packed(1))]pub struct USB_20_PORT_CHANGE {
pub AsUshort16: USHORT,
}
Fields§
§AsUshort16: USHORT
Implementations§
Source§impl USB_20_PORT_CHANGE
impl USB_20_PORT_CHANGE
pub fn ConnectStatusChange(&self) -> USHORT
pub fn set_ConnectStatusChange(&mut self, val: USHORT)
pub fn PortEnableDisableChange(&self) -> USHORT
pub fn set_PortEnableDisableChange(&mut self, val: USHORT)
pub fn SuspendChange(&self) -> USHORT
pub fn set_SuspendChange(&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 Reserved2(&self) -> USHORT
pub fn set_Reserved2(&mut self, val: USHORT)
Trait Implementations§
Source§impl Clone for USB_20_PORT_CHANGE
impl Clone for USB_20_PORT_CHANGE
Source§fn clone(&self) -> USB_20_PORT_CHANGE
fn clone(&self) -> USB_20_PORT_CHANGE
Returns a copy 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_20_PORT_CHANGE
impl Default for USB_20_PORT_CHANGE
Source§fn default() -> USB_20_PORT_CHANGE
fn default() -> USB_20_PORT_CHANGE
Returns the “default value” for a type. Read more
impl Copy for USB_20_PORT_CHANGE
Auto Trait Implementations§
impl Freeze for USB_20_PORT_CHANGE
impl RefUnwindSafe for USB_20_PORT_CHANGE
impl Send for USB_20_PORT_CHANGE
impl Sync for USB_20_PORT_CHANGE
impl Unpin for USB_20_PORT_CHANGE
impl UnwindSafe for USB_20_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