pub struct KeyMap {
pub line_up: Binding,
pub line_down: Binding,
pub page_up: Binding,
pub page_down: Binding,
pub half_page_up: Binding,
pub half_page_down: Binding,
pub goto_top: Binding,
pub goto_bottom: Binding,
}Expand description
KeyMap defines keybindings. It satisfies to the help.KeyMap interface, which is used to render the help menu.
Fields§
§line_up: BindingLineUp binding.
line_down: BindingLineDown binding.
page_up: BindingPageUp binding.
page_down: BindingPageDown binding.
half_page_up: BindingHalfPageUp binding.
half_page_down: BindingHalfPageDown binding.
goto_top: BindingGotoTop binding.
goto_bottom: BindingGotoBottom binding.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyMap
impl RefUnwindSafe for KeyMap
impl Send for KeyMap
impl Sync for KeyMap
impl Unpin for KeyMap
impl UnsafeUnpin for KeyMap
impl UnwindSafe for KeyMap
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