Struct pax_runtime::api::ArgsClap
source · pub struct ArgsClap {
pub x: f64,
pub y: f64,
}Expand description
A Clap describes either a “click” (mousedown followed by mouseup), OR a
“tap” with one finger (singular fingerdown event).
Claps 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: f64Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ArgsClap
impl Send for ArgsClap
impl Sync for ArgsClap
impl Unpin for ArgsClap
impl UnwindSafe for ArgsClap
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
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.