[][src]Enum evdev_rs::enums::InputProp

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_POINTERINPUT_PROP_DIRECTINPUT_PROP_BUTTONPADINPUT_PROP_SEMI_MTINPUT_PROP_TOPBUTTONPADINPUT_PROP_POINTING_STICKINPUT_PROP_ACCELEROMETERINPUT_PROP_MAX

Methods

impl InputProp[src]

Important traits for InputPropIterator
pub fn iter(&self) -> InputPropIterator[src]

pub fn from_str(name: &str) -> Option<InputProp>[src]

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 PartialEq<InputProp> for InputProp[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]

This method tests for !=.

impl Clone for InputProp[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for InputProp[src]

impl Display for InputProp[src]

impl Debug for InputProp[src]

impl Hash for InputProp[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Send for InputProp

impl Sync for InputProp

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]