pub struct GpuSettings {
pub voltage_boost: Option<Percentage>,
pub sensor_limits: Vec<Celsius>,
pub power_limits: Vec<Percentage>,
pub coolers: Vec<(CoolerDesc, CoolerStatus)>,
pub vfp: Option<VfpDeltas>,
pub pstate_deltas: BTreeMap<PState, BTreeMap<ClockDomain, KilohertzDelta>>,
pub overvolt: Vec<MicrovoltsDelta>,
pub vfp_locks: BTreeMap<usize, ClockLockEntry>,
}Fields§
§voltage_boost: Option<Percentage>§sensor_limits: Vec<Celsius>§power_limits: Vec<Percentage>§coolers: Vec<(CoolerDesc, CoolerStatus)>§vfp: Option<VfpDeltas>§pstate_deltas: BTreeMap<PState, BTreeMap<ClockDomain, KilohertzDelta>>§overvolt: Vec<MicrovoltsDelta>§vfp_locks: BTreeMap<usize, ClockLockEntry>Trait Implementations§
Source§impl Clone for GpuSettings
impl Clone for GpuSettings
Source§fn clone(&self) -> GpuSettings
fn clone(&self) -> GpuSettings
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 GpuSettings
impl Debug for GpuSettings
Source§impl<'de> Deserialize<'de> for GpuSettings
impl<'de> Deserialize<'de> for GpuSettings
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 Hash for GpuSettings
impl Hash for GpuSettings
Source§impl Ord for GpuSettings
impl Ord for GpuSettings
Source§fn cmp(&self, other: &GpuSettings) -> Ordering
fn cmp(&self, other: &GpuSettings) -> 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 GpuSettings
impl PartialEq for GpuSettings
Source§impl PartialOrd for GpuSettings
impl PartialOrd for GpuSettings
Source§impl Serialize for GpuSettings
impl Serialize for GpuSettings
impl Eq for GpuSettings
impl StructuralPartialEq for GpuSettings
Auto Trait Implementations§
impl Freeze for GpuSettings
impl RefUnwindSafe for GpuSettings
impl Send for GpuSettings
impl Sync for GpuSettings
impl Unpin for GpuSettings
impl UnwindSafe for GpuSettings
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