Struct pax_runtime_api::ArgsJab
source · pub struct ArgsJab {
pub x: f64,
pub y: f64,
}
Expand description
A Jab describes either a “click” (mousedown followed by mouseup), OR a
“tap” with one finger (singular fingerdown event).
Jabs are a useful alternative to most kinds of Click
or Tap
events,
when you want the same behavior for both to be contained in one place.
Fields§
§x: f64
§y: f64
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ArgsJab
impl Send for ArgsJab
impl Sync for ArgsJab
impl Unpin for ArgsJab
impl UnwindSafe for ArgsJab
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