pub struct ProcessView {
pub sort: SortKey,
pub descending: bool,
pub tree: bool,
pub kernel_threads: bool,
pub containers: bool,
}Expand description
How the process table is sorted and what it shows. Both front-ends
keep it between runs: the TUI in [tui], the GUI with its window state.
Fields§
§sort: SortKey§descending: boolLargest first (or Z to A).
tree: boolProcesses under their parents.
kernel_threads: bool§containers: boolThe per-container summary above the table.
Trait Implementations§
Source§impl Clone for ProcessView
impl Clone for ProcessView
impl Copy for ProcessView
Source§impl Debug for ProcessView
impl Debug for ProcessView
Source§impl Default for ProcessView
impl Default for ProcessView
Source§impl<'de> Deserialize<'de> for ProcessViewwhere
ProcessView: Default,
impl<'de> Deserialize<'de> for ProcessViewwhere
ProcessView: Default,
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
impl Eq for ProcessView
Source§impl PartialEq for ProcessView
impl PartialEq for ProcessView
Source§impl Serialize for ProcessView
impl Serialize for ProcessView
impl StructuralPartialEq for ProcessView
Auto Trait Implementations§
impl Forget for ProcessView
impl Freeze for ProcessView
impl RefUnwindSafe for ProcessView
impl Send for ProcessView
impl Sync for ProcessView
impl Unpin for ProcessView
impl UnsafeUnpin for ProcessView
impl UnwindSafe for ProcessView
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.