pub enum SequenceOutput {
Pending,
Esc,
EscEsc,
PassThrough,
}Expand description
Output from the sequence detector after processing a key event.
Variants§
Pending
No action yet; waiting for timeout or more input.
Esc
Single Escape key was detected.
EscEsc
Double Escape (Esc Esc) sequence was detected.
PassThrough
Pass through the original key event (not part of a sequence).
Trait Implementations§
Source§impl Clone for SequenceOutput
impl Clone for SequenceOutput
Source§fn clone(&self) -> SequenceOutput
fn clone(&self) -> SequenceOutput
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 SequenceOutput
impl Debug for SequenceOutput
Source§impl PartialEq for SequenceOutput
impl PartialEq for SequenceOutput
impl Copy for SequenceOutput
impl Eq for SequenceOutput
impl StructuralPartialEq for SequenceOutput
Auto Trait Implementations§
impl Freeze for SequenceOutput
impl RefUnwindSafe for SequenceOutput
impl Send for SequenceOutput
impl Sync for SequenceOutput
impl Unpin for SequenceOutput
impl UnsafeUnpin for SequenceOutput
impl UnwindSafe for SequenceOutput
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