Enum input::event::pointer::PointerEvent
[−]
[src]
pub enum PointerEvent {
Motion(PointerMotionEvent),
MotionAbsolute(PointerMotionAbsoluteEvent),
Button(PointerButtonEvent),
Axis(PointerAxisEvent),
}A pointer related Event
Variants
Motion(PointerMotionEvent)An event related to moving a pointer
MotionAbsolute(PointerMotionAbsoluteEvent)An event related to absolute pointer movement
Button(PointerButtonEvent)An event related to button pressed on a pointer device
Axis(PointerAxisEvent)An event related to moving axis on a pointer device
Trait Implementations
impl Debug for PointerEvent[src]
impl PartialEq for PointerEvent[src]
fn eq(&self, __arg_0: &PointerEvent) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PointerEvent) -> bool
This method tests for !=.
impl Eq for PointerEvent[src]
impl Hash for PointerEvent[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.
impl EventTrait for PointerEvent[src]
fn into_event(self) -> Event where Self: Sized
Convert into a general Event again
fn context(&self) -> Libinput
Get the libinput context from the event.
fn device(&self) -> Device
Return the device associated with this event. Read more
impl FromRaw<libinput_event_pointer> for PointerEvent[src]
unsafe fn from_raw(event: *mut libinput_event_pointer) -> Self
Create a new instance of this type from a raw pointer. Read more
impl AsRaw<libinput_event_pointer> for PointerEvent[src]
fn as_raw(&self) -> *const libinput_event_pointer
Receive a raw pointer representing this type.