#[non_exhaustive]pub enum Keyboard {
Eof,
}
Expand description
A keyboard input.
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.
Eof
Event representing an ‘end of file’ on stdin
Trait Implementations§
source§impl PartialEq for Keyboard
impl PartialEq for Keyboard
impl Eq for Keyboard
impl StructuralEq for Keyboard
impl StructuralPartialEq for Keyboard
Auto Trait Implementations§
impl RefUnwindSafe for Keyboard
impl Send for Keyboard
impl Sync for Keyboard
impl Unpin for Keyboard
impl UnwindSafe for Keyboard
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