Struct windows_sys::Win32::Devices::Usb::USB_POWER_INFO
#[repr(C, packed(1))]pub struct USB_POWER_INFO {
pub SystemState: WDMUSB_POWER_STATE,
pub HcDevicePowerState: WDMUSB_POWER_STATE,
pub HcDeviceWake: WDMUSB_POWER_STATE,
pub HcSystemWake: WDMUSB_POWER_STATE,
pub RhDevicePowerState: WDMUSB_POWER_STATE,
pub RhDeviceWake: WDMUSB_POWER_STATE,
pub RhSystemWake: WDMUSB_POWER_STATE,
pub LastSystemSleepState: WDMUSB_POWER_STATE,
pub CanWakeup: BOOLEAN,
pub IsPowered: BOOLEAN,
}
Fields§
§SystemState: WDMUSB_POWER_STATE
§HcDevicePowerState: WDMUSB_POWER_STATE
§HcDeviceWake: WDMUSB_POWER_STATE
§HcSystemWake: WDMUSB_POWER_STATE
§RhDevicePowerState: WDMUSB_POWER_STATE
§RhDeviceWake: WDMUSB_POWER_STATE
§RhSystemWake: WDMUSB_POWER_STATE
§LastSystemSleepState: WDMUSB_POWER_STATE
§CanWakeup: BOOLEAN
§IsPowered: BOOLEAN
Trait Implementations§
§impl Clone for USB_POWER_INFO
impl Clone for USB_POWER_INFO
§fn clone(&self) -> USB_POWER_INFO
fn clone(&self) -> USB_POWER_INFO
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 moreimpl Copy for USB_POWER_INFO
Auto Trait Implementations§
impl Freeze for USB_POWER_INFO
impl RefUnwindSafe for USB_POWER_INFO
impl Send for USB_POWER_INFO
impl Sync for USB_POWER_INFO
impl Unpin for USB_POWER_INFO
impl UnwindSafe for USB_POWER_INFO
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)