Enum input::event::device::DeviceEvent [] [src]

pub enum DeviceEvent {
    Added(DeviceAddedEvent),
    Removed(DeviceRemovedEvent),
}

A device related Event

Variants

Signals that a device has been added to the context.

Signals that a device has been removed.

Trait Implementations

impl Debug for DeviceEvent
[src]

[src]

Formats the value using the given formatter.

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

impl Hash for DeviceEvent
[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 EventTrait for DeviceEvent
[src]

[src]

Convert into a general Event again

[src]

Get the libinput context from the event.

[src]

Return the device associated with this event. Read more

impl FromRaw<libinput_event_device_notify> for DeviceEvent
[src]

[src]

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

impl AsRaw<libinput_event_device_notify> for DeviceEvent
[src]

[src]

Receive a raw pointer representing this type.