[][src]Struct winapi::um::winnt::SYSTEM_POWER_CAPABILITIES

#[repr(C)]
pub struct SYSTEM_POWER_CAPABILITIES { pub PowerButtonPresent: BOOLEAN, pub SleepButtonPresent: BOOLEAN, pub LidPresent: BOOLEAN, pub SystemS1: BOOLEAN, pub SystemS2: BOOLEAN, pub SystemS3: BOOLEAN, pub SystemS4: BOOLEAN, pub SystemS5: BOOLEAN, pub HiberFilePresent: BOOLEAN, pub FullWake: BOOLEAN, pub VideoDimPresent: BOOLEAN, pub ApmPresent: BOOLEAN, pub UpsPresent: BOOLEAN, pub ThermalControl: BOOLEAN, pub ProcessorThrottle: BOOLEAN, pub ProcessorMinThrottle: BYTE, pub ProcessorMaxThrottle: BYTE, pub FastSystemS4: BOOLEAN, pub Hiberboot: BOOLEAN, pub WakeAlarmPresent: BOOLEAN, pub AoAc: BOOLEAN, pub DiskSpinDown: BOOLEAN, pub HiberFileType: BYTE, pub AoAcConnectivitySupported: BOOLEAN, pub spare3: [BYTE; 6], pub SystemBatteriesPresent: BOOLEAN, pub BatteriesAreShortTerm: BOOLEAN, pub BatteryScale: [BATTERY_REPORTING_SCALE; 3], pub AcOnLineWake: SYSTEM_POWER_STATE, pub SoftLidWake: SYSTEM_POWER_STATE, pub RtcWake: SYSTEM_POWER_STATE, pub MinDeviceWakeState: SYSTEM_POWER_STATE, pub DefaultLowLatencyWake: SYSTEM_POWER_STATE, }

Fields

PowerButtonPresent: BOOLEANSleepButtonPresent: BOOLEANLidPresent: BOOLEANSystemS1: BOOLEANSystemS2: BOOLEANSystemS3: BOOLEANSystemS4: BOOLEANSystemS5: BOOLEANHiberFilePresent: BOOLEANFullWake: BOOLEANVideoDimPresent: BOOLEANApmPresent: BOOLEANUpsPresent: BOOLEANThermalControl: BOOLEANProcessorThrottle: BOOLEANProcessorMinThrottle: BYTEProcessorMaxThrottle: BYTEFastSystemS4: BOOLEANHiberboot: BOOLEANWakeAlarmPresent: BOOLEANAoAc: BOOLEANDiskSpinDown: BOOLEANHiberFileType: BYTEAoAcConnectivitySupported: BOOLEANspare3: [BYTE; 6]SystemBatteriesPresent: BOOLEANBatteriesAreShortTerm: BOOLEANBatteryScale: [BATTERY_REPORTING_SCALE; 3]AcOnLineWake: SYSTEM_POWER_STATESoftLidWake: SYSTEM_POWER_STATERtcWake: SYSTEM_POWER_STATEMinDeviceWakeState: SYSTEM_POWER_STATEDefaultLowLatencyWake: SYSTEM_POWER_STATE

Trait Implementations

impl Copy for SYSTEM_POWER_CAPABILITIES[src]

impl Clone for SYSTEM_POWER_CAPABILITIES[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for SYSTEM_POWER_CAPABILITIES

impl Sync for SYSTEM_POWER_CAPABILITIES

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]