Enum libnotcurses_sys::NcReceived [−][src]
Expand description
A received character or event.
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.
Char(char)
Tuple Fields
0: char
A valid char
was received.
Event(NcKey)
Tuple Fields
0: NcKey
A synthesized event was received.
NoInput
No input was received
A 0x00
(NUL) was received, meaning no input.
Other(u32)
Tuple Fields
0: u32
Something other was received.
Implementations
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NcReceived
impl Send for NcReceived
impl Sync for NcReceived
impl Unpin for NcReceived
impl UnwindSafe for NcReceived
Blanket Implementations
Mutably borrows from an owned value. Read more