pub struct AutoCpuFreqState {
pub cpu_count: usize,
pub performance_load_threshold: f32,
pub powersave_load_threshold: f32,
pub stats_file_path: PathBuf,
pub governor_override_path: PathBuf,
pub turbo_override_path: PathBuf,
pub is_aur: bool,
}Fields§
§cpu_count: usize§performance_load_threshold: f32§powersave_load_threshold: f32§stats_file_path: PathBuf§governor_override_path: PathBuf§turbo_override_path: PathBuf§is_aur: boolImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoCpuFreqState
impl RefUnwindSafe for AutoCpuFreqState
impl Send for AutoCpuFreqState
impl Sync for AutoCpuFreqState
impl Unpin for AutoCpuFreqState
impl UnsafeUnpin for AutoCpuFreqState
impl UnwindSafe for AutoCpuFreqState
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