pub struct SYSTEM_POWER_CAPABILITIES {
Show 33 fields pub PowerButtonPresent: u8, pub SleepButtonPresent: u8, pub LidPresent: u8, pub SystemS1: u8, pub SystemS2: u8, pub SystemS3: u8, pub SystemS4: u8, pub SystemS5: u8, pub HiberFilePresent: u8, pub FullWake: u8, pub VideoDimPresent: u8, pub ApmPresent: u8, pub UpsPresent: u8, pub ThermalControl: u8, pub ProcessorThrottle: u8, pub ProcessorMinThrottle: u8, pub ProcessorMaxThrottle: u8, pub FastSystemS4: u8, pub Hiberboot: u8, pub WakeAlarmPresent: u8, pub AoAc: u8, pub DiskSpinDown: u8, pub HiberFileType: u8, pub AoAcConnectivitySupported: u8, pub spare3: [u8; 6], pub SystemBatteriesPresent: u8, pub BatteriesAreShortTerm: u8, pub BatteryScale: [BATTERY_REPORTING_SCALE; 3], pub AcOnLineWake: u32, pub SoftLidWake: u32, pub RtcWake: u32, pub MinDeviceWakeState: u32, pub DefaultLowLatencyWake: u32,
}

Fields§

§PowerButtonPresent: u8§SleepButtonPresent: u8§LidPresent: u8§SystemS1: u8§SystemS2: u8§SystemS3: u8§SystemS4: u8§SystemS5: u8§HiberFilePresent: u8§FullWake: u8§VideoDimPresent: u8§ApmPresent: u8§UpsPresent: u8§ThermalControl: u8§ProcessorThrottle: u8§ProcessorMinThrottle: u8§ProcessorMaxThrottle: u8§FastSystemS4: u8§Hiberboot: u8§WakeAlarmPresent: u8§AoAc: u8§DiskSpinDown: u8§HiberFileType: u8§AoAcConnectivitySupported: u8§spare3: [u8; 6]§SystemBatteriesPresent: u8§BatteriesAreShortTerm: u8§BatteryScale: [BATTERY_REPORTING_SCALE; 3]§AcOnLineWake: u32§SoftLidWake: u32§RtcWake: u32§MinDeviceWakeState: u32§DefaultLowLatencyWake: u32

Trait Implementations§

source§

impl Clone for SYSTEM_POWER_CAPABILITIES

source§

fn clone(&self) -> SYSTEM_POWER_CAPABILITIES

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for SYSTEM_POWER_CAPABILITIES

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.