Struct windows::Win32::System::Power::SYSTEM_POWER_INFORMATION
#[repr(C)]pub struct SYSTEM_POWER_INFORMATION {
pub MaxIdlenessAllowed: u32,
pub Idleness: u32,
pub TimeRemaining: u32,
pub CoolingMode: POWER_COOLING_MODE,
}
Fields§
§MaxIdlenessAllowed: u32
§Idleness: u32
§TimeRemaining: u32
§CoolingMode: POWER_COOLING_MODE
Trait Implementations§
§impl Clone for SYSTEM_POWER_INFORMATION
impl Clone for SYSTEM_POWER_INFORMATION
§fn clone(&self) -> SYSTEM_POWER_INFORMATION
fn clone(&self) -> SYSTEM_POWER_INFORMATION
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 SYSTEM_POWER_INFORMATION
impl Debug for SYSTEM_POWER_INFORMATION
§impl Default for SYSTEM_POWER_INFORMATION
impl Default for SYSTEM_POWER_INFORMATION
§impl PartialEq for SYSTEM_POWER_INFORMATION
impl PartialEq for SYSTEM_POWER_INFORMATION
§fn eq(&self, other: &SYSTEM_POWER_INFORMATION) -> bool
fn eq(&self, other: &SYSTEM_POWER_INFORMATION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SYSTEM_POWER_INFORMATION
impl Eq for SYSTEM_POWER_INFORMATION
impl StructuralPartialEq for SYSTEM_POWER_INFORMATION
Auto Trait Implementations§
impl Freeze for SYSTEM_POWER_INFORMATION
impl RefUnwindSafe for SYSTEM_POWER_INFORMATION
impl Send for SYSTEM_POWER_INFORMATION
impl Sync for SYSTEM_POWER_INFORMATION
impl Unpin for SYSTEM_POWER_INFORMATION
impl UnwindSafe for SYSTEM_POWER_INFORMATION
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)