pub enum Received {
NoInput,
Key(Key),
Char(char),
}Variants§
NoInput
No input was received.
A 0x00 (NUL) was received, meaning no input.
Key(Key)
A synthesized event was received.
Char(char)
A valid char was received.
Implementations§
Trait Implementations§
Source§impl From<NcReceived> for Received
impl From<NcReceived> for Received
Source§fn from(nc: NcReceived) -> Self
fn from(nc: NcReceived) -> Self
Converts to this type from the input type.
Source§impl From<Received> for NcReceived
impl From<Received> for NcReceived
impl Copy for Received
impl Eq for Received
impl StructuralPartialEq for Received
Auto Trait Implementations§
impl Freeze for Received
impl RefUnwindSafe for Received
impl Send for Received
impl Sync for Received
impl Unpin for Received
impl UnwindSafe for Received
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