Struct windows_sys::Win32::System::Ioctl::DEVICE_POWER_DESCRIPTOR
#[repr(C)]pub struct DEVICE_POWER_DESCRIPTOR {
pub Version: u32,
pub Size: u32,
pub DeviceAttentionSupported: BOOLEAN,
pub AsynchronousNotificationSupported: BOOLEAN,
pub IdlePowerManagementEnabled: BOOLEAN,
pub D3ColdEnabled: BOOLEAN,
pub D3ColdSupported: BOOLEAN,
pub NoVerifyDuringIdlePower: BOOLEAN,
pub Reserved: [u8; 2],
pub IdleTimeoutInMS: u32,
}
Fields§
§Version: u32
§Size: u32
§DeviceAttentionSupported: BOOLEAN
§AsynchronousNotificationSupported: BOOLEAN
§IdlePowerManagementEnabled: BOOLEAN
§D3ColdEnabled: BOOLEAN
§D3ColdSupported: BOOLEAN
§NoVerifyDuringIdlePower: BOOLEAN
§Reserved: [u8; 2]
§IdleTimeoutInMS: u32
Trait Implementations§
§impl Clone for DEVICE_POWER_DESCRIPTOR
impl Clone for DEVICE_POWER_DESCRIPTOR
§fn clone(&self) -> DEVICE_POWER_DESCRIPTOR
fn clone(&self) -> DEVICE_POWER_DESCRIPTOR
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 DEVICE_POWER_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for DEVICE_POWER_DESCRIPTOR
impl RefUnwindSafe for DEVICE_POWER_DESCRIPTOR
impl Send for DEVICE_POWER_DESCRIPTOR
impl Sync for DEVICE_POWER_DESCRIPTOR
impl Unpin for DEVICE_POWER_DESCRIPTOR
impl UnwindSafe for DEVICE_POWER_DESCRIPTOR
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
)