pub struct GestureEventArgs {
pub phase: GestureEventPhase,
pub kind: GestureEventKind,
pub scene_x: f32,
pub scene_y: f32,
pub delta_x: f32,
pub delta_y: f32,
pub scale: f32,
pub pointer_count: i32,
pub x: f32,
pub y: f32,
pub handled: bool,
}Fields§
§phase: GestureEventPhase§kind: GestureEventKind§scene_x: f32§scene_y: f32§delta_x: f32§delta_y: f32§scale: f32§pointer_count: i32§x: f32§y: f32§handled: boolImplementations§
Source§impl GestureEventArgs
impl GestureEventArgs
pub fn new( phase: GestureEventPhase, kind: GestureEventKind, scene_x: f32, scene_y: f32, delta_x: f32, delta_y: f32, scale: f32, pointer_count: i32, ) -> Self
Trait Implementations§
Source§impl Clone for GestureEventArgs
impl Clone for GestureEventArgs
Source§fn clone(&self) -> GestureEventArgs
fn clone(&self) -> GestureEventArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GestureEventArgs
impl RefUnwindSafe for GestureEventArgs
impl Send for GestureEventArgs
impl Sync for GestureEventArgs
impl Unpin for GestureEventArgs
impl UnsafeUnpin for GestureEventArgs
impl UnwindSafe for GestureEventArgs
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