Enum input::event::keyboard::KeyboardEvent [] [src]

pub enum KeyboardEvent {
    Key(KeyboardKeyEvent),
}

A keyboard related Event

Variants

An event related to pressing a key

Trait Implementations

impl Debug for KeyboardEvent
[src]

Formats the value using the given formatter.

impl PartialEq for KeyboardEvent
[src]

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

This method tests for !=.

impl Eq for KeyboardEvent
[src]

impl Hash for KeyboardEvent
[src]

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

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

impl EventTrait for KeyboardEvent
[src]

Convert into a general Event again

Get the libinput context from the event.

Return the device associated with this event. Read more

impl FromRaw<libinput_event_keyboard> for KeyboardEvent
[src]

Create a new instance of this type from a raw pointer. Read more

impl AsRaw<libinput_event_keyboard> for KeyboardEvent
[src]

Receive a raw pointer representing this type.