#[non_exhaustive]pub enum WebKey {
Enter,
Tab,
Escape,
Backspace,
}Expand description
A key WebInput::Key presses.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Enter
Return: submits a form, confirms a field.
Tab
Moves the focus forward.
Escape
Escape.
Backspace
Deletes backward.
Implementations§
Trait Implementations§
impl Copy for WebKey
impl Eq for WebKey
impl StructuralPartialEq for WebKey
Auto Trait Implementations§
impl Forget for WebKey
impl Freeze for WebKey
impl Move for WebKey
impl RefUnwindSafe for WebKey
impl Send for WebKey
impl Sync for WebKey
impl Unpin for WebKey
impl UnsafeUnpin for WebKey
impl UnwindSafe for WebKey
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