Struct DEVICE_POWER_DESCRIPTOR
#[repr(C)]pub struct DEVICE_POWER_DESCRIPTOR {
pub Version: u32,
pub Size: u32,
pub DeviceAttentionSupported: bool,
pub AsynchronousNotificationSupported: bool,
pub IdlePowerManagementEnabled: bool,
pub D3ColdEnabled: bool,
pub D3ColdSupported: bool,
pub NoVerifyDuringIdlePower: bool,
pub Reserved: [u8; 2],
pub IdleTimeoutInMS: u32,
}
Fields§
§Version: u32
§Size: u32
§DeviceAttentionSupported: bool
§AsynchronousNotificationSupported: bool
§IdlePowerManagementEnabled: bool
§D3ColdEnabled: bool
§D3ColdSupported: bool
§NoVerifyDuringIdlePower: bool
§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 more§impl Debug for DEVICE_POWER_DESCRIPTOR
impl Debug for DEVICE_POWER_DESCRIPTOR
§impl Default for DEVICE_POWER_DESCRIPTOR
impl Default for DEVICE_POWER_DESCRIPTOR
§impl PartialEq for DEVICE_POWER_DESCRIPTOR
impl PartialEq for DEVICE_POWER_DESCRIPTOR
impl Copy 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