pub struct FingerLongPressEvent {
pub window_id: WindowId,
pub abs: DVec2,
pub capture_time: f64,
pub time: f64,
pub digit_id: DigitId,
pub device: DigitDevice,
pub rect: Rect,
}Fields§
§window_id: WindowId§abs: DVec2The absolute position of this long-press event.
capture_time: f64The time at which the original finger-down event occurred.
time: f64The time at which this long-press event occurred.
digit_id: DigitId§device: DigitDevice§rect: RectTrait Implementations§
Source§impl Clone for FingerLongPressEvent
impl Clone for FingerLongPressEvent
Source§fn clone(&self) -> FingerLongPressEvent
fn clone(&self) -> FingerLongPressEvent
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FingerLongPressEvent
impl RefUnwindSafe for FingerLongPressEvent
impl Send for FingerLongPressEvent
impl Sync for FingerLongPressEvent
impl Unpin for FingerLongPressEvent
impl UnwindSafe for FingerLongPressEvent
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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