pub struct DashboardState {Show 15 fields
pub cpu_data: VecDeque<u64>,
pub mem_data: VecDeque<u64>,
pub table_state: TableState,
pub foreground_job_index: usize,
pub system: System,
pub table_area: Option<Rect>,
pub table_inner_area: Option<Rect>,
pub hovered_row: Option<usize>,
pub jobs: Vec<VideoJob>,
pub gpu_data: VecDeque<u64>,
pub gpu_mem_data: VecDeque<u64>,
pub gpu_available: bool,
pub gpu_model: Option<String>,
pub gpu_vendor: GpuVendor,
pub start_time: Instant,
}Fields§
§cpu_data: VecDeque<u64>§mem_data: VecDeque<u64>§table_state: TableState§foreground_job_index: usize§system: System§table_area: Option<Rect>§table_inner_area: Option<Rect>§hovered_row: Option<usize>§jobs: Vec<VideoJob>§gpu_data: VecDeque<u64>§gpu_mem_data: VecDeque<u64>§gpu_available: bool§gpu_model: Option<String>§gpu_vendor: GpuVendor§start_time: InstantTrait Implementations§
Auto Trait Implementations§
impl Freeze for DashboardState
impl RefUnwindSafe for DashboardState
impl Send for DashboardState
impl Sync for DashboardState
impl Unpin for DashboardState
impl UnwindSafe for DashboardState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more