Enum evdev_rs::enums::EventType [] [src]

pub enum EventType {
    EV_SYN,
    EV_KEY,
    EV_REL,
    EV_ABS,
    EV_MSC,
    EV_SW,
    EV_LED,
    EV_SND,
    EV_REP,
    EV_FF,
    EV_PWR,
    EV_FF_STATUS,
    EV_MAX,
}

Variants

Methods

impl EventType
[src]

[src]

[src]

The given type constant for the passed name or Errno if not found.

[src]

The max value defined for the given event type, e.g. ABS_MAX for a type of EV_ABS, or Errno for an invalid type.

Trait Implementations

impl Clone for EventType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more