pub struct Cooler {
pub kind: CoolerType,
pub controller: CoolerController,
pub default_level_range: Range<Percentage>,
pub current_level_range: Range<Percentage>,
pub current_level: Percentage,
pub default_policy: CoolerPolicy,
pub current_policy: CoolerPolicy,
pub target: CoolerTarget,
pub control: CoolerControl,
pub active: bool,
}Fields§
§kind: CoolerType§controller: CoolerController§default_level_range: Range<Percentage>§current_level_range: Range<Percentage>§current_level: Percentage§default_policy: CoolerPolicy§current_policy: CoolerPolicy§target: CoolerTarget§control: CoolerControl§active: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for Cooler
impl RefUnwindSafe for Cooler
impl Send for Cooler
impl Sync for Cooler
impl Unpin for Cooler
impl UnwindSafe for Cooler
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