Struct makepad_widgets::FingerUpEvent
pub struct FingerUpEvent {
pub window_id: WindowId,
pub abs: DVec2,
pub capture_time: f64,
pub digit_id: DigitId,
pub device: DigitDevice,
pub tap_count: u32,
pub modifiers: KeyModifiers,
pub time: f64,
pub abs_start: DVec2,
pub rect: Rect,
pub is_over: bool,
pub is_sweep: bool,
}
Fields§
§window_id: WindowId
§abs: DVec2
§capture_time: f64
§digit_id: DigitId
§device: DigitDevice
§tap_count: u32
§modifiers: KeyModifiers
§time: f64
§abs_start: DVec2
§rect: Rect
§is_over: bool
§is_sweep: bool
Implementations§
§impl FingerUpEvent
impl FingerUpEvent
pub fn was_tap(&self) -> bool
pub fn was_long_press(&self) -> bool
Trait Implementations§
§impl Clone for FingerUpEvent
impl Clone for FingerUpEvent
§fn clone(&self) -> FingerUpEvent
fn clone(&self) -> FingerUpEvent
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 moreAuto Trait Implementations§
impl RefUnwindSafe for FingerUpEvent
impl Send for FingerUpEvent
impl Sync for FingerUpEvent
impl Unpin for FingerUpEvent
impl UnwindSafe for FingerUpEvent
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