pub enum NcReceived {
NoInput,
Key(NcKey),
Char(char),
}Expand description
Variants§
NoInput
No input was received.
A 0x00 (NUL) was received, meaning no input.
Key(NcKey)
A synthesized event was received.
Char(char)
A valid char was received.
Trait Implementations§
Source§impl Clone for NcReceived
impl Clone for NcReceived
Source§fn clone(&self) -> NcReceived
fn clone(&self) -> NcReceived
Returns a duplicate of the value. Read more
1.0.0 · 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 NcReceived
impl Debug for NcReceived
Source§impl Default for NcReceived
impl Default for NcReceived
Source§impl Display for NcReceived
impl Display for NcReceived
Source§impl From<&mut ncinput> for NcReceived
impl From<&mut ncinput> for NcReceived
Source§impl From<&ncinput> for NcReceived
impl From<&ncinput> for NcReceived
Source§impl From<NcReceived> for u32
impl From<NcReceived> for u32
Source§fn from(r: NcReceived) -> Self
fn from(r: NcReceived) -> Self
Converts to this type from the input type.
Source§impl From<ncinput> for NcReceived
impl From<ncinput> for NcReceived
Source§impl From<u32> for NcReceived
impl From<u32> for NcReceived
Source§impl PartialEq for NcReceived
impl PartialEq for NcReceived
impl Copy for NcReceived
impl Eq for NcReceived
impl StructuralPartialEq for NcReceived
Auto Trait Implementations§
impl Freeze for NcReceived
impl RefUnwindSafe for NcReceived
impl Send for NcReceived
impl Sync for NcReceived
impl Unpin for NcReceived
impl UnwindSafe for NcReceived
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