Struct input_linux::InputEvent [] [src]

#[repr(C)]
pub struct InputEvent { pub time: EventTime, pub kind: EventKind, pub code: u16, pub value: i32, }

Fields

Methods

impl InputEvent
[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Copy for InputEvent
[src]

impl Clone for InputEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialOrd for InputEvent
[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 Ord for InputEvent
[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 PartialEq for InputEvent
[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 Eq for InputEvent
[src]

impl Hash for InputEvent
[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 Debug for InputEvent
[src]

[src]

Formats the value using the given formatter. Read more

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<SynchronizeEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for SynchronizeEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<KeyEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for KeyEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<RelativeEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for RelativeEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<AbsoluteEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for AbsoluteEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<SwitchEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for SwitchEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<MiscEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for MiscEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<LedEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for LedEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<AutorepeatEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for AutorepeatEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<SoundEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for SoundEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl From<UInputEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl AsRef<InputEvent> for UInputEvent
[src]

[src]

Performs the conversion.

impl AsRef<input_event> for InputEvent
[src]

[src]

Performs the conversion.

impl GenericEvent for InputEvent
[src]

[src]

[src]

[src]

[src]

[src]

[src]

impl AsRef<InputEvent> for InputEvent
[src]

[src]

Performs the conversion.

impl From<Event> for InputEvent
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

impl AsRef<InputEvent> for Event
[src]

[src]

Performs the conversion.

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

[src]

Performs the conversion.

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

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for InputEvent

impl Sync for InputEvent