pub enum PressOutcome {
Inactive,
Continue,
Resolved(u8),
Aborted,
}Expand description
Outcome of the most recent press while sequence mode was considered.
Variants§
Inactive
Mode was not armed for this press.
Continue
Step accepted; waiting for more keys or timeout.
Resolved(u8)
Sequence completed with this id — emit bound key.
Aborted
Aborted; no sequence output.
Trait Implementations§
Source§impl Clone for PressOutcome
impl Clone for PressOutcome
Source§fn clone(&self) -> PressOutcome
fn clone(&self) -> PressOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PressOutcome
impl Debug for PressOutcome
Source§impl PartialEq for PressOutcome
impl PartialEq for PressOutcome
Source§fn eq(&self, other: &PressOutcome) -> bool
fn eq(&self, other: &PressOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PressOutcome
impl Eq for PressOutcome
impl StructuralPartialEq for PressOutcome
Auto Trait Implementations§
impl Freeze for PressOutcome
impl RefUnwindSafe for PressOutcome
impl Send for PressOutcome
impl Sync for PressOutcome
impl Unpin for PressOutcome
impl UnsafeUnpin for PressOutcome
impl UnwindSafe for PressOutcome
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