Enum libnotcurses_sys::NcReceived
source · [−]Expand description
Variants
NoInput
No input was received
A 0x00
(NUL) was received, meaning no input.
Event(NcKey)
A synthesized event was received.
Char(char)
A valid char
was received.
Trait Implementations
sourceimpl Clone for NcReceived
impl Clone for NcReceived
sourcefn clone(&self) -> NcReceived
fn clone(&self) -> NcReceived
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NcReceived
impl Debug for NcReceived
sourceimpl Default for NcReceived
impl Default for NcReceived
sourceimpl From<&'_ mut ncinput> for NcReceived
impl From<&'_ mut ncinput> for NcReceived
sourceimpl From<&'_ ncinput> for NcReceived
impl From<&'_ ncinput> for NcReceived
sourceimpl From<NcReceived> for u32
impl From<NcReceived> for u32
sourcefn from(r: NcReceived) -> Self
fn from(r: NcReceived) -> Self
Converts to this type from the input type.
sourceimpl From<ncinput> for NcReceived
impl From<ncinput> for NcReceived
sourceimpl From<u32> for NcReceived
impl From<u32> for NcReceived
sourceimpl PartialEq<NcReceived> for NcReceived
impl PartialEq<NcReceived> for NcReceived
sourcefn eq(&self, other: &NcReceived) -> bool
fn eq(&self, other: &NcReceived) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NcReceived) -> bool
fn ne(&self, other: &NcReceived) -> bool
This method tests for !=
.
impl Copy for NcReceived
impl StructuralPartialEq for NcReceived
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more