pub struct CpuFreqs {
pub min: Option<f32>,
pub max: Option<f32>,
pub cur: Option<f32>,
}Expand description
Struct for CPU frequencies, you can get the current frequency as well as the minimum and maximum values available. When a value is not available it return None
Fields§
§min: Option<f32>§max: Option<f32>§cur: Option<f32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpuFreqs
impl RefUnwindSafe for CpuFreqs
impl Send for CpuFreqs
impl Sync for CpuFreqs
impl Unpin for CpuFreqs
impl UnwindSafe for CpuFreqs
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