Enum libnotcurses_sys::NcInputType
source · #[repr(u32)]
pub enum NcInputType {
Unknown,
Press,
Repeat,
Release,
}
Expand description
The type of the NcInput
event.
Note: Unknown and Press are considered equivalent.
Variants§
Trait Implementations§
source§impl Clone for NcInputType
impl Clone for NcInputType
source§fn clone(&self) -> NcInputType
fn clone(&self) -> NcInputType
Returns a copy 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 NcInputType
impl Debug for NcInputType
source§impl Default for NcInputType
impl Default for NcInputType
source§impl Display for NcInputType
impl Display for NcInputType
source§impl From<NcInputType> for u32
impl From<NcInputType> for u32
source§fn from(it: NcInputType) -> Self
fn from(it: NcInputType) -> Self
Converts to this type from the input type.
source§impl From<u32> for NcInputType
impl From<u32> for NcInputType
source§impl PartialEq<NcInputType> for NcInputType
impl PartialEq<NcInputType> for NcInputType
source§fn eq(&self, other: &NcInputType) -> bool
fn eq(&self, other: &NcInputType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.