Struct windows::Win32::System::Power::PPM_WMI_IDLE_STATE
#[repr(C)]pub struct PPM_WMI_IDLE_STATE {
pub Latency: u32,
pub Power: u32,
pub TimeCheck: u32,
pub PromotePercent: u8,
pub DemotePercent: u8,
pub StateType: u8,
pub Reserved: u8,
pub StateFlags: u32,
pub Context: u32,
pub IdleHandler: u32,
pub Reserved1: u32,
}
Fields§
§Latency: u32
§Power: u32
§TimeCheck: u32
§PromotePercent: u8
§DemotePercent: u8
§StateType: u8
§Reserved: u8
§StateFlags: u32
§Context: u32
§IdleHandler: u32
§Reserved1: u32
Trait Implementations§
§impl Clone for PPM_WMI_IDLE_STATE
impl Clone for PPM_WMI_IDLE_STATE
§fn clone(&self) -> PPM_WMI_IDLE_STATE
fn clone(&self) -> PPM_WMI_IDLE_STATE
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 PPM_WMI_IDLE_STATE
impl Debug for PPM_WMI_IDLE_STATE
§impl Default for PPM_WMI_IDLE_STATE
impl Default for PPM_WMI_IDLE_STATE
§impl PartialEq for PPM_WMI_IDLE_STATE
impl PartialEq for PPM_WMI_IDLE_STATE
§fn eq(&self, other: &PPM_WMI_IDLE_STATE) -> bool
fn eq(&self, other: &PPM_WMI_IDLE_STATE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PPM_WMI_IDLE_STATE
impl Eq for PPM_WMI_IDLE_STATE
impl StructuralPartialEq for PPM_WMI_IDLE_STATE
Auto Trait Implementations§
impl Freeze for PPM_WMI_IDLE_STATE
impl RefUnwindSafe for PPM_WMI_IDLE_STATE
impl Send for PPM_WMI_IDLE_STATE
impl Sync for PPM_WMI_IDLE_STATE
impl Unpin for PPM_WMI_IDLE_STATE
impl UnwindSafe for PPM_WMI_IDLE_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§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
)