#[repr(C)]pub struct _SYSTEM_POWER_SOURCE_STATE {
pub BatteryState: SYSTEM_BATTERY_STATE,
pub InstantaneousPeakPower: DWORD,
pub InstantaneousPeakPeriod: DWORD,
pub SustainablePeakPower: DWORD,
pub SustainablePeakPeriod: DWORD,
pub PeakPower: DWORD,
pub MaxOutputPower: DWORD,
pub MaxInputPower: DWORD,
pub BatteryRateInCurrent: LONG,
pub BatteryVoltage: DWORD,
}Fields§
§BatteryState: SYSTEM_BATTERY_STATE§InstantaneousPeakPower: DWORD§InstantaneousPeakPeriod: DWORD§SustainablePeakPower: DWORD§SustainablePeakPeriod: DWORD§PeakPower: DWORD§MaxOutputPower: DWORD§MaxInputPower: DWORD§BatteryRateInCurrent: LONG§BatteryVoltage: DWORDTrait Implementations§
Source§impl Clone for _SYSTEM_POWER_SOURCE_STATE
impl Clone for _SYSTEM_POWER_SOURCE_STATE
Source§fn clone(&self) -> _SYSTEM_POWER_SOURCE_STATE
fn clone(&self) -> _SYSTEM_POWER_SOURCE_STATE
Returns a duplicate 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 _SYSTEM_POWER_SOURCE_STATE
impl Debug for _SYSTEM_POWER_SOURCE_STATE
impl Copy for _SYSTEM_POWER_SOURCE_STATE
Auto Trait Implementations§
impl Freeze for _SYSTEM_POWER_SOURCE_STATE
impl RefUnwindSafe for _SYSTEM_POWER_SOURCE_STATE
impl Send for _SYSTEM_POWER_SOURCE_STATE
impl Sync for _SYSTEM_POWER_SOURCE_STATE
impl Unpin for _SYSTEM_POWER_SOURCE_STATE
impl UnsafeUnpin for _SYSTEM_POWER_SOURCE_STATE
impl UnwindSafe for _SYSTEM_POWER_SOURCE_STATE
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more