pub struct KeybindingConfig {
pub quit: char,
pub help: char,
pub toggle_fps: char,
pub filter: char,
pub sort_cpu: char,
pub sort_mem: char,
pub sort_pid: char,
pub kill_process: char,
pub explode: String,
pub collapse: String,
pub navigate: String,
}Expand description
Keybinding configuration.
Fields§
§quit: charKey to quit the application.
help: charKey to show help.
toggle_fps: charKey to toggle FPS display.
filter: charKey to filter processes.
sort_cpu: charKey to sort by CPU usage.
sort_mem: charKey to sort by memory usage.
sort_pid: charKey to sort by PID.
kill_process: charKey to kill selected process.
explode: StringKey to explode (expand) a panel.
collapse: StringKey to collapse a panel.
Key to navigate between panels.
Trait Implementations§
Source§impl Clone for KeybindingConfig
impl Clone for KeybindingConfig
Source§fn clone(&self) -> KeybindingConfig
fn clone(&self) -> KeybindingConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 KeybindingConfig
impl Debug for KeybindingConfig
Source§impl Default for KeybindingConfig
impl Default for KeybindingConfig
Source§impl<'de> Deserialize<'de> for KeybindingConfig
impl<'de> Deserialize<'de> for KeybindingConfig
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
Auto Trait Implementations§
impl Freeze for KeybindingConfig
impl RefUnwindSafe for KeybindingConfig
impl Send for KeybindingConfig
impl Sync for KeybindingConfig
impl Unpin for KeybindingConfig
impl UnsafeUnpin for KeybindingConfig
impl UnwindSafe for KeybindingConfig
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