#[repr(C, packed(1))]pub struct USB_DEVICE_STATE {
pub bitfield: ULONG,
}
Fields§
§bitfield: ULONG
Implementations§
Source§impl USB_DEVICE_STATE
impl USB_DEVICE_STATE
pub fn DeviceConnected(&self) -> ULONG
pub fn set_DeviceConnected(&mut self, val: ULONG)
pub fn DeviceStarted(&self) -> ULONG
pub fn set_DeviceStarted(&mut self, val: ULONG)
Trait Implementations§
Source§impl Clone for USB_DEVICE_STATE
impl Clone for USB_DEVICE_STATE
Source§fn clone(&self) -> USB_DEVICE_STATE
fn clone(&self) -> USB_DEVICE_STATE
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_DEVICE_STATE
impl Default for USB_DEVICE_STATE
Source§fn default() -> USB_DEVICE_STATE
fn default() -> USB_DEVICE_STATE
Returns the “default value” for a type. Read more
impl Copy for USB_DEVICE_STATE
Auto Trait Implementations§
impl Freeze for USB_DEVICE_STATE
impl RefUnwindSafe for USB_DEVICE_STATE
impl Send for USB_DEVICE_STATE
impl Sync for USB_DEVICE_STATE
impl Unpin for USB_DEVICE_STATE
impl UnwindSafe for USB_DEVICE_STATE
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