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_POINTERINPUT_PROP_DIRECTINPUT_PROP_BUTTONPADINPUT_PROP_SEMI_MTINPUT_PROP_TOPBUTTONPADINPUT_PROP_POINTING_STICKINPUT_PROP_ACCELEROMETERINPUT_PROP_MAX
Methods
impl InputProp[src]
fn iter(&self) -> InputPropIterator[src]
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 Clone for InputProp[src]
fn clone(&self) -> InputProp[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for InputProp[src]
fn eq(&self, __arg_0: &InputProp) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.