#[repr(C)]pub struct _DEVICE_POWER_DESCRIPTOR {
pub Version: DWORD,
pub Size: DWORD,
pub DeviceAttentionSupported: BOOLEAN,
pub AsynchronousNotificationSupported: BOOLEAN,
pub IdlePowerManagementEnabled: BOOLEAN,
pub D3ColdEnabled: BOOLEAN,
pub D3ColdSupported: BOOLEAN,
pub NoVerifyDuringIdlePower: BOOLEAN,
pub Reserved: [BYTE; 2],
pub IdleTimeoutInMS: DWORD,
}
Fields§
§Version: DWORD
§Size: DWORD
§DeviceAttentionSupported: BOOLEAN
§AsynchronousNotificationSupported: BOOLEAN
§IdlePowerManagementEnabled: BOOLEAN
§D3ColdEnabled: BOOLEAN
§D3ColdSupported: BOOLEAN
§NoVerifyDuringIdlePower: BOOLEAN
§Reserved: [BYTE; 2]
§IdleTimeoutInMS: DWORD
Trait Implementations§
Source§impl Clone for _DEVICE_POWER_DESCRIPTOR
impl Clone for _DEVICE_POWER_DESCRIPTOR
Source§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 moreSource§impl Debug for _DEVICE_POWER_DESCRIPTOR
impl Debug for _DEVICE_POWER_DESCRIPTOR
Source§impl Ord for _DEVICE_POWER_DESCRIPTOR
impl Ord for _DEVICE_POWER_DESCRIPTOR
Source§fn cmp(&self, other: &_DEVICE_POWER_DESCRIPTOR) -> Ordering
fn cmp(&self, other: &_DEVICE_POWER_DESCRIPTOR) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for _DEVICE_POWER_DESCRIPTOR
impl PartialEq for _DEVICE_POWER_DESCRIPTOR
Source§impl PartialOrd for _DEVICE_POWER_DESCRIPTOR
impl PartialOrd for _DEVICE_POWER_DESCRIPTOR
impl Copy for _DEVICE_POWER_DESCRIPTOR
impl Eq for _DEVICE_POWER_DESCRIPTOR
impl StructuralPartialEq 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