pub struct DoubleClick;Expand description
Event-handler for double-click on a widget.
Events for this handler must be processed before calling any other event-handling routines for the same widget. Otherwise, the regular event-handling might interfere with recognition of double-clicks by consuming the first click.
This event-handler doesn’t consume the first click, just the second one.
Trait Implementations§
Auto Trait Implementations§
impl Forget for DoubleClick
impl Freeze for DoubleClick
impl Move for DoubleClick
impl RefUnwindSafe for DoubleClick
impl Send for DoubleClick
impl Sync for DoubleClick
impl Unpin for DoubleClick
impl UnsafeUnpin for DoubleClick
impl UnwindSafe for DoubleClick
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more