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: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cooler
impl Send for Cooler
impl Sync for Cooler
impl Unpin for Cooler
impl UnwindSafe for Cooler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more