Enum input_linux::EventRef [] [src]

pub enum EventRef<'a> {
    Synchronize(&'a SynchronizeEvent),
    Key(&'a KeyEvent),
    Relative(&'a RelativeEvent),
    Absolute(&'a AbsoluteEvent),
    Switch(&'a SwitchEvent),
    Misc(&'a MiscEvent),
    Led(&'a LedEvent),
    Autorepeat(&'a AutorepeatEvent),
    Sound(&'a SoundEvent),
    UInput(&'a UInputEvent),
    Unknown(&'a InputEvent),
}

Variants

Methods

impl<'a> EventRef<'a>
[src]

[src]

Trait Implementations

impl<'a> Copy for EventRef<'a>
[src]

impl<'a> Clone for EventRef<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> PartialOrd for EventRef<'a>
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a> Ord for EventRef<'a>
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<'a> PartialEq for EventRef<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Eq for EventRef<'a>
[src]

impl<'a> Hash for EventRef<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl<'a> Debug for EventRef<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> From<&'a SynchronizeEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a KeyEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a RelativeEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a AbsoluteEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a SwitchEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a MiscEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a LedEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a AutorepeatEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a SoundEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a UInputEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<&'a Event> for EventRef<'a>
[src]

[src]

Performs the conversion.

impl<'a> From<EventRef<'a>> for &'a InputEvent
[src]

[src]

Performs the conversion.

impl<'a> AsRef<InputEvent> for EventRef<'a>
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl<'a> Send for EventRef<'a>

impl<'a> Sync for EventRef<'a>