pub struct FanCurve {
pub points: Box<[(i32, u8)]>,
pub allowed_ranges: Option<FanCurveRanges>,
}
Expand description
Custom fan curve
Fields§
§points: Box<[(i32, u8)]>
Fan curve points in the (temperature, speed) format This is a boxed slice as the number of curve points cannot be modified, only their values can be.
allowed_ranges: Option<FanCurveRanges>
Allowed value ranges. Empty when changes to the fan curve are not supported.
Trait Implementations§
impl Eq for FanCurve
impl StructuralPartialEq for FanCurve
Auto Trait Implementations§
impl Freeze for FanCurve
impl RefUnwindSafe for FanCurve
impl Send for FanCurve
impl Sync for FanCurve
impl Unpin for FanCurve
impl UnwindSafe for FanCurve
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