pub enum Controllers {
Show 30 variants
Unknown,
CmdPalette,
NextTab,
PrevTab,
NextCol,
PrevCol,
Right,
Left,
SortCol,
Filter,
CFilter,
JForward,
JBackward,
NSample,
PSample,
Pause,
Quit,
Help,
Process,
Cgroup,
System,
Gpu,
GpuProcess,
GpuZoom,
Zoom,
Fold,
NextPage,
PrevPage,
NextSelection,
PrevSelection,
}Variants§
Unknown
CmdPalette
NextTab
PrevTab
NextCol
PrevCol
Right
Left
SortCol
Filter
CFilter
JForward
JBackward
NSample
PSample
Pause
Quit
Help
Process
Cgroup
System
Gpu
GpuProcess
GpuZoom
Zoom
Fold
NextPage
PrevPage
NextSelection
PrevSelection
Implementations§
Source§impl Controllers
impl Controllers
pub fn command(&self) -> &'static str
pub fn cmd_shortcut(&self) -> &'static str
pub fn default_events(&self) -> Vec<Event>
pub fn handle<T: 'static + ViewBridge>( &self, view: &mut StatsView<T>, cmd_vec: &[&str], )
pub fn callback<T: 'static + ViewBridge>( &self, c: &mut Cursive, cmd_vec: &[&str], )
Trait Implementations§
Source§impl Clone for Controllers
impl Clone for Controllers
Source§fn clone(&self) -> Controllers
fn clone(&self) -> Controllers
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Controllers
impl Debug for Controllers
impl Eq for Controllers
Source§impl Hash for Controllers
impl Hash for Controllers
Source§impl PartialEq for Controllers
impl PartialEq for Controllers
impl StructuralPartialEq for Controllers
Auto Trait Implementations§
impl Freeze for Controllers
impl RefUnwindSafe for Controllers
impl Send for Controllers
impl Sync for Controllers
impl Unpin for Controllers
impl UnsafeUnpin for Controllers
impl UnwindSafe for Controllers
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.impl<T> Erased for T
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