pub struct ProcTable {
pub rows: Vec<Row>,
pub view: View,
pub sort: Sort,
pub tree_mode: bool,
pub show_kernel_threads: bool,
pub show_userland_threads: bool,
pub show_containerised: bool,
}Expand description
State of the table across ticks.
Fields§
§rows: Vec<Row>§view: View§sort: Sort§tree_mode: bool§show_kernel_threads: bool§show_userland_threads: bool§show_containerised: boolWhether processes inside a container are listed (htop’s O).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProcTable
impl RefUnwindSafe for ProcTable
impl Send for ProcTable
impl Sync for ProcTable
impl Unpin for ProcTable
impl UnsafeUnpin for ProcTable
impl UnwindSafe for ProcTable
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