pub struct Click {
pub mouse: MouseEventArgs,
}Expand description
User activates an element with a mouse click or single-touch tap.
@click and @tap handlers both receive Event<Click>. A touch tap is
emitted after touch end and normalized with button set to
MouseButton::Left and no modifiers.
Fields§
§mouse: MouseEventArgsCommon mouse event data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Click
impl RefUnwindSafe for Click
impl Send for Click
impl Sync for Click
impl Unpin for Click
impl UnsafeUnpin for Click
impl UnwindSafe for Click
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.