pub struct TouchDownEvent { /* private fields */ }
Expand description
An event related to resting the finger on the screen
Trait Implementations§
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 Context for TouchDownEvent
impl Context for TouchDownEvent
Source§impl Debug for TouchDownEvent
impl Debug for TouchDownEvent
Source§impl Drop for TouchDownEvent
impl Drop for TouchDownEvent
Source§impl EventTrait for TouchDownEvent
impl EventTrait for TouchDownEvent
Source§impl FromRaw<libinput_event_touch> for TouchDownEvent
impl FromRaw<libinput_event_touch> for TouchDownEvent
Source§impl Hash for TouchDownEvent
impl Hash for TouchDownEvent
Source§impl PartialEq for TouchDownEvent
impl PartialEq for TouchDownEvent
Source§impl TouchEventPosition for TouchDownEvent
impl TouchEventPosition for TouchDownEvent
Source§fn x(&self) -> f64
fn x(&self) -> f64
Return the current absolute x coordinate of the touch event, in mm from
the top left corner of the device. Read more
Source§fn y(&self) -> f64
fn y(&self) -> f64
Return the current absolute y coordinate of the touch event, in mm from
the top left corner of the device. Read more
Source§impl TouchEventSlot for TouchDownEvent
impl TouchEventSlot for TouchDownEvent
impl Eq for TouchDownEvent
Auto Trait Implementations§
impl Freeze for TouchDownEvent
impl !RefUnwindSafe for TouchDownEvent
impl !Send for TouchDownEvent
impl !Sync for TouchDownEvent
impl Unpin for TouchDownEvent
impl !UnwindSafe for TouchDownEvent
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