pub struct MouseOnly;Expand description
Handler for mouse events only.
- Useful when writing a new key binding.
- FocusKeys should only be handled by the focused widget, while mouse events are not bound by the focus.
Trait Implementations§
source§impl HandleEvent<Event, MouseOnly, ButtonOutcome> for ButtonState
impl HandleEvent<Event, MouseOnly, ButtonOutcome> for ButtonState
source§impl HandleEvent<Event, MouseOnly, Outcome> for TextInputState
impl HandleEvent<Event, MouseOnly, Outcome> for TextInputState
source§impl HandleEvent<Event, MouseOnly, Result<Outcome, Error>> for DateInputState
impl HandleEvent<Event, MouseOnly, Result<Outcome, Error>> for DateInputState
Auto Trait Implementations§
impl Freeze for MouseOnly
impl RefUnwindSafe for MouseOnly
impl Send for MouseOnly
impl Sync for MouseOnly
impl Unpin for MouseOnly
impl UnwindSafe for MouseOnly
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