Struct libinput_event_touch
#[repr(C)]pub struct libinput_event_touch { /* private fields */ }
Expand description
@ingroup event_touch @struct libinput_event_touch
Touch event representing a touch down, move or up, as well as a touch cancel and touch frame events. Valid event types for this event are @ref LIBINPUT_EVENT_TOUCH_DOWN, @ref LIBINPUT_EVENT_TOUCH_MOTION, @ref LIBINPUT_EVENT_TOUCH_UP, @ref LIBINPUT_EVENT_TOUCH_CANCEL and @ref LIBINPUT_EVENT_TOUCH_FRAME.
Trait Implementations§
Source§impl AsRaw<libinput_event_touch> for TouchCancelEvent
impl AsRaw<libinput_event_touch> for TouchCancelEvent
Source§fn as_raw(&self) -> *const libinput_event_touch
fn as_raw(&self) -> *const libinput_event_touch
Receive a raw pointer representing this type.
Source§impl AsRaw<libinput_event_touch> for TouchDownEvent
impl AsRaw<libinput_event_touch> for TouchDownEvent
Source§fn as_raw(&self) -> *const libinput_event_touch
fn as_raw(&self) -> *const libinput_event_touch
Receive a raw pointer representing this type.
Source§impl AsRaw<libinput_event_touch> for TouchEvent
impl AsRaw<libinput_event_touch> for TouchEvent
Source§fn as_raw(&self) -> *const libinput_event_touch
fn as_raw(&self) -> *const libinput_event_touch
Receive a raw pointer representing this type.
Source§impl AsRaw<libinput_event_touch> for TouchFrameEvent
impl AsRaw<libinput_event_touch> for TouchFrameEvent
Source§fn as_raw(&self) -> *const libinput_event_touch
fn as_raw(&self) -> *const libinput_event_touch
Receive a raw pointer representing this type.
Source§impl AsRaw<libinput_event_touch> for TouchMotionEvent
impl AsRaw<libinput_event_touch> for TouchMotionEvent
Source§fn as_raw(&self) -> *const libinput_event_touch
fn as_raw(&self) -> *const libinput_event_touch
Receive a raw pointer representing this type.
Source§impl AsRaw<libinput_event_touch> for TouchUpEvent
impl AsRaw<libinput_event_touch> for TouchUpEvent
Source§fn as_raw(&self) -> *const libinput_event_touch
fn as_raw(&self) -> *const libinput_event_touch
Receive a raw pointer representing this type.
§impl Clone for libinput_event_touch
impl Clone for libinput_event_touch
§fn clone(&self) -> libinput_event_touch
fn clone(&self) -> libinput_event_touch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for libinput_event_touch
impl Debug for libinput_event_touch
Source§impl FromRaw<libinput_event_touch> for TouchDownEvent
impl FromRaw<libinput_event_touch> for TouchDownEvent
Source§impl FromRaw<libinput_event_touch> for TouchEvent
impl FromRaw<libinput_event_touch> for TouchEvent
Source§impl FromRaw<libinput_event_touch> for TouchUpEvent
impl FromRaw<libinput_event_touch> for TouchUpEvent
impl Copy for libinput_event_touch
Auto Trait Implementations§
impl Freeze for libinput_event_touch
impl RefUnwindSafe for libinput_event_touch
impl Send for libinput_event_touch
impl Sync for libinput_event_touch
impl Unpin for libinput_event_touch
impl UnwindSafe for libinput_event_touch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more