pub struct SensorLimit {
pub range: Range<Celsius>,
pub default: Celsius,
pub flags: u32,
}Fields§
§range: Range<Celsius>§default: Celsius§flags: u32Trait Implementations§
Source§impl Clone for SensorLimit
impl Clone for SensorLimit
Source§fn clone(&self) -> SensorLimit
fn clone(&self) -> SensorLimit
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensorLimit
impl Debug for SensorLimit
Source§impl<'de> Deserialize<'de> for SensorLimit
impl<'de> Deserialize<'de> for SensorLimit
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ThermalInfo> for SensorLimit
impl From<ThermalInfo> for SensorLimit
Source§fn from(info: ThermalInfo) -> Self
fn from(info: ThermalInfo) -> Self
Converts to this type from the input type.
Source§impl Hash for SensorLimit
impl Hash for SensorLimit
Source§impl Ord for SensorLimit
impl Ord for SensorLimit
Source§fn cmp(&self, other: &SensorLimit) -> Ordering
fn cmp(&self, other: &SensorLimit) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SensorLimit
impl PartialEq for SensorLimit
Source§impl PartialOrd for SensorLimit
impl PartialOrd for SensorLimit
Source§impl Serialize for SensorLimit
impl Serialize for SensorLimit
impl Eq for SensorLimit
impl StructuralPartialEq for SensorLimit
Auto Trait Implementations§
impl Freeze for SensorLimit
impl RefUnwindSafe for SensorLimit
impl Send for SensorLimit
impl Sync for SensorLimit
impl Unpin for SensorLimit
impl UnwindSafe for SensorLimit
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