pub struct KeyBindings {Show 16 fields
pub down: UiIntent,
pub up: UiIntent,
pub ctrl_j: UiIntent,
pub ctrl_k: UiIntent,
pub enter: UiIntent,
pub shift_enter: UiIntent,
pub backspace: UiIntent,
pub ctrl_r: UiIntent,
pub ctrl_s: UiIntent,
pub ctrl_x: UiIntent,
pub ctrl_p: UiIntent,
pub ctrl_d: UiIntent,
pub ctrl_m: UiIntent,
pub esc: UiIntent,
pub ctrl_c: UiIntent,
pub ctrl_w: UiIntent,
}Fields§
§down: UiIntent§up: UiIntent§ctrl_j: UiIntent§ctrl_k: UiIntent§enter: UiIntent§shift_enter: UiIntent§backspace: UiIntent§ctrl_r: UiIntent§ctrl_s: UiIntent§ctrl_x: UiIntent§ctrl_p: UiIntent§ctrl_d: UiIntent§ctrl_m: UiIntent§esc: UiIntent§ctrl_c: UiIntent§ctrl_w: UiIntentTrait Implementations§
Source§impl Clone for KeyBindings
impl Clone for KeyBindings
Source§fn clone(&self) -> KeyBindings
fn clone(&self) -> KeyBindings
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 KeyBindings
impl Debug for KeyBindings
Source§impl Default for KeyBindings
impl Default for KeyBindings
Source§impl PartialEq for KeyBindings
impl PartialEq for KeyBindings
impl Eq for KeyBindings
impl StructuralPartialEq for KeyBindings
Auto Trait Implementations§
impl Freeze for KeyBindings
impl RefUnwindSafe for KeyBindings
impl Send for KeyBindings
impl Sync for KeyBindings
impl Unpin for KeyBindings
impl UnsafeUnpin 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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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