Enum liner::KeyBindings
source · pub enum KeyBindings {
Vi,
Emacs,
}
Expand description
The key bindings to use.
Variants§
Trait Implementations§
source§impl Clone for KeyBindings
impl Clone for KeyBindings
source§fn clone(&self) -> KeyBindings
fn clone(&self) -> KeyBindings
Returns a copy 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 KeyBindings
impl Debug for KeyBindings
source§impl PartialEq for KeyBindings
impl PartialEq for KeyBindings
source§fn eq(&self, other: &KeyBindings) -> bool
fn eq(&self, other: &KeyBindings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for KeyBindings
impl Eq for KeyBindings
impl StructuralEq for KeyBindings
impl StructuralPartialEq for KeyBindings
Auto Trait Implementations§
impl RefUnwindSafe for KeyBindings
impl Send for KeyBindings
impl Sync for KeyBindings
impl Unpin for KeyBindings
impl UnwindSafe for KeyBindings
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