pub struct ThermalSensorSetting {
pub controller: ThermalController,
pub default_min_temp: i32,
pub default_max_temp: i32,
pub current_temp: i32,
pub target: ThermalTarget,
}Fields§
§controller: ThermalController§default_min_temp: i32§default_max_temp: i32§current_temp: i32§target: ThermalTargetTrait Implementations§
Source§impl Clone for ThermalSensorSetting
impl Clone for ThermalSensorSetting
Source§fn clone(&self) -> ThermalSensorSetting
fn clone(&self) -> ThermalSensorSetting
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ThermalSensorSetting
impl Debug for ThermalSensorSetting
Source§impl From<nvmlGpuThermalSettings_t__bindgen_ty_1> for ThermalSensorSetting
impl From<nvmlGpuThermalSettings_t__bindgen_ty_1> for ThermalSensorSetting
Source§fn from(value: nvmlGpuThermalSettings_t__bindgen_ty_1) -> Self
fn from(value: nvmlGpuThermalSettings_t__bindgen_ty_1) -> Self
Converts to this type from the input type.
Source§impl Hash for ThermalSensorSetting
impl Hash for ThermalSensorSetting
Source§impl PartialEq for ThermalSensorSetting
impl PartialEq for ThermalSensorSetting
Source§fn eq(&self, other: &ThermalSensorSetting) -> bool
fn eq(&self, other: &ThermalSensorSetting) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ThermalSensorSetting
impl Eq for ThermalSensorSetting
impl StructuralPartialEq for ThermalSensorSetting
Auto Trait Implementations§
impl Freeze for ThermalSensorSetting
impl RefUnwindSafe for ThermalSensorSetting
impl Send for ThermalSensorSetting
impl Sync for ThermalSensorSetting
impl Unpin for ThermalSensorSetting
impl UnsafeUnpin for ThermalSensorSetting
impl UnwindSafe for ThermalSensorSetting
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