pub struct MouseOnly;Expand description
Handle mouse-events only. Useful whenever you want to write new key-bindings, but keep the mouse-events.
Trait Implementations§
Source§impl HandleEvent<Event, MouseOnly, ScrollOutcome> for ScrollAreaState<'_>
Handle scrolling for the whole area spanned by the two scroll-states.
impl HandleEvent<Event, MouseOnly, ScrollOutcome> for ScrollAreaState<'_>
Handle scrolling for the whole area spanned by the two scroll-states.
Source§impl HandleEvent<Event, MouseOnly, ScrollOutcome> for ScrollState
impl HandleEvent<Event, MouseOnly, ScrollOutcome> for ScrollState
Source§impl HandleEvent<Event, MouseOnly, TextOutcome> for DateInputState
impl HandleEvent<Event, MouseOnly, TextOutcome> for DateInputState
Source§impl HandleEvent<Event, MouseOnly, TextOutcome> for MaskedInputState
impl HandleEvent<Event, MouseOnly, TextOutcome> for MaskedInputState
Source§impl HandleEvent<Event, MouseOnly, TextOutcome> for NumberInputState
impl HandleEvent<Event, MouseOnly, TextOutcome> for NumberInputState
Source§impl HandleEvent<Event, MouseOnly, TextOutcome> for TextAreaState
impl HandleEvent<Event, MouseOnly, TextOutcome> for TextAreaState
Source§impl HandleEvent<Event, MouseOnly, TextOutcome> for TextInputState
impl HandleEvent<Event, MouseOnly, TextOutcome> for TextInputState
impl Copy for MouseOnly
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
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