[][src]Struct i3status_rs::blocks::nvidia_gpu::NvidiaGpu

pub struct NvidiaGpu {
    id: usize,
    id_fans: usize,
    id_memory: usize,
    update_interval: Duration,
    gpu_enabled: bool,
    gpu_id: u64,
    name_widget: TextWidget,
    name_widget_mode: NameWidgetMode,
    label: String,
    show_memory: Option<TextWidget>,
    memory_widget_mode: MemoryWidgetMode,
    show_utilization: Option<TextWidget>,
    show_temperature: Option<TextWidget>,
    show_fan: Option<TextWidget>,
    fan_speed: u64,
    fan_speed_controlled: bool,
    scrolling: Scrolling,
    show_clocks: Option<TextWidget>,
    maximum_idle: u64,
    maximum_good: u64,
    maximum_info: u64,
    maximum_warning: u64,
}

Fields

id: usizeid_fans: usizeid_memory: usizeupdate_interval: Durationgpu_enabled: boolgpu_id: u64name_widget: TextWidgetname_widget_mode: NameWidgetModelabel: Stringshow_memory: Option<TextWidget>memory_widget_mode: MemoryWidgetModeshow_utilization: Option<TextWidget>show_temperature: Option<TextWidget>show_fan: Option<TextWidget>fan_speed: u64fan_speed_controlled: boolscrolling: Scrollingshow_clocks: Option<TextWidget>maximum_idle: u64maximum_good: u64maximum_info: u64maximum_warning: u64

Trait Implementations

impl Block for NvidiaGpu[src]

impl ConfigBlock for NvidiaGpu[src]

type Config = NvidiaGpuConfig

Auto Trait Implementations

impl !RefUnwindSafe for NvidiaGpu[src]

impl !Send for NvidiaGpu[src]

impl !Sync for NvidiaGpu[src]

impl Unpin for NvidiaGpu[src]

impl UnwindSafe for NvidiaGpu[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.