[][src]Enum input::event::switch::SwitchEvent

pub enum SwitchEvent {
    Toggle(SwitchToggleEvent),
}

A switch related Event

Variants

An event related a switch, that was toggled

Trait Implementations

impl AsRaw<libinput_event_switch> for SwitchEvent[src]

impl Context for SwitchEvent[src]

impl Debug for SwitchEvent[src]

impl Eq for SwitchEvent[src]

impl EventTrait for SwitchEvent[src]

impl FromRaw<libinput_event_switch> for SwitchEvent[src]

impl Hash for SwitchEvent[src]

impl PartialEq<SwitchEvent> for SwitchEvent[src]

impl StructuralEq for SwitchEvent[src]

impl StructuralPartialEq for SwitchEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SwitchEventTrait for T where
    T: AsRaw<libinput_event_switch> + Context
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.