[−][src]Enum input::event::Event
A libinput Event
Variants
Device(DeviceEvent)
A device related Event
Keyboard(KeyboardEvent)
A keyboard related Event
Pointer(PointerEvent)
A pointer related Event
Touch(TouchEvent)
A touch related Event
Tablet(TabletToolEvent)
A tablet related Event
TabletPad(TabletPadEvent)
A tabled pad related Event
Gesture(GestureEvent)
A gesture related Event
Switch(SwitchEvent)
A switch related Event
Trait Implementations
impl AsRaw<libinput_event> for Event
[src]
fn as_raw(&self) -> *const libinput_event
[src]
impl Context for Event
[src]
impl Debug for Event
[src]
impl Eq for Event
[src]
impl EventTrait for Event
[src]
fn as_raw_event(&self) -> *mut libinput_event
[src]
fn into_event(self) -> Event where
Self: Sized,
[src]
Self: Sized,
fn device(&self) -> Device
[src]
impl FromRaw<libinput_event> for Event
[src]
unsafe fn from_raw(event: *mut libinput_event, context: &Libinput) -> Self
[src]
impl Hash for Event
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<Event> for Event
[src]
impl StructuralEq for Event
[src]
impl StructuralPartialEq for Event
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Event
impl !Send for Event
impl !Sync for Event
impl Unpin for Event
impl !UnwindSafe for Event
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,