Enum evdev_rs::enums::InputProp [−][src]
pub enum InputProp { INPUT_PROP_POINTER, INPUT_PROP_DIRECT, INPUT_PROP_BUTTONPAD, INPUT_PROP_SEMI_MT, INPUT_PROP_TOPBUTTONPAD, INPUT_PROP_POINTING_STICK, INPUT_PROP_ACCELEROMETER, INPUT_PROP_MAX, }
Variants
INPUT_PROP_POINTER
INPUT_PROP_DIRECT
INPUT_PROP_BUTTONPAD
INPUT_PROP_SEMI_MT
INPUT_PROP_TOPBUTTONPAD
INPUT_PROP_POINTING_STICK
INPUT_PROP_ACCELEROMETER
INPUT_PROP_MAX
Methods
impl InputProp
[src]
impl InputProp
ⓘImportant traits for InputPropIteratorpub fn iter(&self) -> InputPropIterator
[src]
ⓘImportant traits for InputPropIterator
pub fn iter(&self) -> InputPropIterator
pub fn from_str(name: &str) -> Option<InputProp>
[src]
pub fn from_str(name: &str) -> Option<InputProp>
Look up an input property by its name. Properties start with the fixed prefix "INPUT_PROP_" followed by their name (eg., "INPUT_PROP_POINTER"). The prefix must be included in the name. It returns the constant assigned to the property or Errno if not found.
Trait Implementations
impl Clone for InputProp
[src]
impl Clone for InputProp
fn clone(&self) -> InputProp
[src]
fn clone(&self) -> InputProp
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for InputProp
[src]
impl Debug for InputProp
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for InputProp
[src]
impl PartialEq for InputProp
fn eq(&self, other: &InputProp) -> bool
[src]
fn eq(&self, other: &InputProp) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Display for InputProp
[src]
impl Display for InputProp