[−][src]Enum input::event::switch::SwitchEvent
A switch related Event
Variants
Toggle(SwitchToggleEvent)
An event related a switch, that was toggled
Trait Implementations
impl AsRaw<libinput_event_switch> for SwitchEvent
[src]
fn as_raw(&self) -> *const libinput_event_switch
[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]
unsafe fn from_raw(
event: *mut libinput_event_switch,
context: &Libinput
) -> Self
[src]
event: *mut libinput_event_switch,
context: &Libinput
) -> Self
impl Hash for SwitchEvent
[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<SwitchEvent> for SwitchEvent
[src]
fn eq(&self, other: &SwitchEvent) -> bool
[src]
fn ne(&self, other: &SwitchEvent) -> bool
[src]
impl StructuralEq for SwitchEvent
[src]
impl StructuralPartialEq for SwitchEvent
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SwitchEvent
impl !Send for SwitchEvent
impl !Sync for SwitchEvent
impl Unpin for SwitchEvent
impl !UnwindSafe for SwitchEvent
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> SwitchEventTrait for T where
T: AsRaw<libinput_event_switch> + Context,
[src]
T: AsRaw<libinput_event_switch> + Context,
fn time(&self) -> u32
[src]
fn time_usec(&self) -> u64
[src]
fn into_switch_event(self) -> SwitchEvent where
Self: Sized,
[src]
Self: Sized,
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>,