[−][src]Struct i3status_rs::blocks::nvidia_gpu::NvidiaGpuConfig
Fields
interval: Duration
Update interval in seconds
label: Option<String>
Label to show instead of the default GPU name from nvidia-smi
gpu_id: u64
GPU id in system
show_utilization: bool
GPU utilization. In percent.
show_memory: bool
VRAM utilization.
show_temperature: bool
Core GPU temperature. In degrees C.
show_fan_speed: bool
Fan speed. In percents.
show_clocks: bool
GPU clocks. In percents.
idle: u64
Maximum temperature, below which state is set to idle
good: u64
Maximum temperature, below which state is set to good
info: u64
Maximum temperature, below which state is set to info
warning: u64
Maximum temperature, below which state is set to warning
Trait Implementations
impl Clone for NvidiaGpuConfig
[src]
fn clone(&self) -> NvidiaGpuConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NvidiaGpuConfig
[src]
impl Default for NvidiaGpuConfig
[src]
impl<'de> Deserialize<'de> for NvidiaGpuConfig where
NvidiaGpuConfig: Default,
[src]
NvidiaGpuConfig: Default,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for NvidiaGpuConfig
[src]
impl Send for NvidiaGpuConfig
[src]
impl Sync for NvidiaGpuConfig
[src]
impl Unpin for NvidiaGpuConfig
[src]
impl UnwindSafe for NvidiaGpuConfig
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,