pub enum EditModeStep {
PassThrough(KeyChord),
Exited,
}Expand description
What feed_edit_mode_key returns.
Variants§
PassThrough(KeyChord)
Engine has no real edit-mode wiring yet — pass the chord back
to the caller, who lets the page see it. Will be replaced
once hjkl_engine::Host lands.
Exited
Edit-mode exited (Esc). Engine has flipped back to Normal.
Trait Implementations§
Source§impl Clone for EditModeStep
impl Clone for EditModeStep
Source§fn clone(&self) -> EditModeStep
fn clone(&self) -> EditModeStep
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 EditModeStep
impl Debug for EditModeStep
Source§impl PartialEq for EditModeStep
impl PartialEq for EditModeStep
impl Eq for EditModeStep
impl StructuralPartialEq for EditModeStep
Auto Trait Implementations§
impl Freeze for EditModeStep
impl RefUnwindSafe for EditModeStep
impl Send for EditModeStep
impl Sync for EditModeStep
impl Unpin for EditModeStep
impl UnsafeUnpin for EditModeStep
impl UnwindSafe for EditModeStep
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