Struct windows::Win32::System::Power::PROCESSOR_POWER_INFORMATION
#[repr(C)]pub struct PROCESSOR_POWER_INFORMATION {
pub Number: u32,
pub MaxMhz: u32,
pub CurrentMhz: u32,
pub MhzLimit: u32,
pub MaxIdleState: u32,
pub CurrentIdleState: u32,
}
Fields§
§Number: u32
§MaxMhz: u32
§CurrentMhz: u32
§MhzLimit: u32
§MaxIdleState: u32
§CurrentIdleState: u32
Trait Implementations§
§impl Clone for PROCESSOR_POWER_INFORMATION
impl Clone for PROCESSOR_POWER_INFORMATION
§fn clone(&self) -> PROCESSOR_POWER_INFORMATION
fn clone(&self) -> PROCESSOR_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 PROCESSOR_POWER_INFORMATION
impl Debug for PROCESSOR_POWER_INFORMATION
§impl Default for PROCESSOR_POWER_INFORMATION
impl Default for PROCESSOR_POWER_INFORMATION
§impl PartialEq for PROCESSOR_POWER_INFORMATION
impl PartialEq for PROCESSOR_POWER_INFORMATION
§fn eq(&self, other: &PROCESSOR_POWER_INFORMATION) -> bool
fn eq(&self, other: &PROCESSOR_POWER_INFORMATION) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PROCESSOR_POWER_INFORMATION
impl Eq for PROCESSOR_POWER_INFORMATION
impl StructuralPartialEq for PROCESSOR_POWER_INFORMATION
Auto Trait Implementations§
impl Freeze for PROCESSOR_POWER_INFORMATION
impl RefUnwindSafe for PROCESSOR_POWER_INFORMATION
impl Send for PROCESSOR_POWER_INFORMATION
impl Sync for PROCESSOR_POWER_INFORMATION
impl Unpin for PROCESSOR_POWER_INFORMATION
impl UnwindSafe for PROCESSOR_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
)