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

Methods

impl InputProp
[src]

[src]

[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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for InputProp
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Display for InputProp
[src]

[src]

Formats the value using the given formatter. Read more