pub enum NamedKey {
Tab,
Enter,
Escape,
Backspace,
Space,
ArrowUp,
ArrowDown,
ArrowLeft,
ArrowRight,
Home,
End,
Delete,
}Expand description
Named non-printable keys recognised by Lumen.
Variants§
Tab
Tab key (focus advance).
Enter
Enter / Return.
Escape
Escape.
Backspace
Backspace.
Space
Spacebar.
ArrowUp
Up arrow.
ArrowDown
Down arrow.
ArrowLeft
Left arrow.
ArrowRight
Right arrow.
Home
Home.
End
End.
Delete
Delete (forward delete).
Trait Implementations§
impl Copy for NamedKey
impl Eq for NamedKey
impl StructuralPartialEq for NamedKey
Auto Trait Implementations§
impl Freeze for NamedKey
impl RefUnwindSafe for NamedKey
impl Send for NamedKey
impl Sync for NamedKey
impl Unpin for NamedKey
impl UnsafeUnpin for NamedKey
impl UnwindSafe for NamedKey
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,
§impl<T> DynEq for T
impl<T> DynEq for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.