Struct rat_widget::event::FocusKeys
source · pub struct FocusKeys;Expand description
Default key bindings when focused. Also handles all events that are MouseOnly.
Trait Implementations§
source§impl HandleEvent<Event, FocusKeys, ButtonOutcome> for ButtonState
impl HandleEvent<Event, FocusKeys, ButtonOutcome> for ButtonState
source§impl HandleEvent<Event, FocusKeys, ButtonOutcome> for RButtonState
impl HandleEvent<Event, FocusKeys, ButtonOutcome> for RButtonState
source§impl HandleEvent<Event, FocusKeys, MenuOutcome> for MenuLineState
impl HandleEvent<Event, FocusKeys, MenuOutcome> for MenuLineState
source§impl HandleEvent<Event, FocusKeys, MenuOutcome> for RMenuLineState
impl HandleEvent<Event, FocusKeys, MenuOutcome> for RMenuLineState
source§impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<CellSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<CellSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<NoSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<NoSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<RowSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<RowSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<RowSetSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for FTableState<RowSetSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for MsgDialogState
impl HandleEvent<Event, FocusKeys, Outcome> for MsgDialogState
source§impl HandleEvent<Event, FocusKeys, Outcome> for RListState<NoSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RListState<NoSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for RListState<RowSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RListState<RowSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for RListState<RowSetSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RListState<RowSetSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<CellSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<CellSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<NoSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<NoSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<RowSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<RowSelection>
source§impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<RowSetSelection>
impl HandleEvent<Event, FocusKeys, Outcome> for RTableState<RowSetSelection>
source§impl<R, WState> HandleEvent<Event, FocusKeys, ScrollOutcome<R>> for ScrolledState<WState>where
WState: ScrollingState + HandleEvent<Event, FocusKeys, R> + HandleEvent<Event, MouseOnly, R>,
R: ConsumedEvent,
impl<R, WState> HandleEvent<Event, FocusKeys, ScrollOutcome<R>> for ScrolledState<WState>where
WState: ScrollingState + HandleEvent<Event, FocusKeys, R> + HandleEvent<Event, MouseOnly, R>,
R: ConsumedEvent,
Handle events or the scrolled widget and forward to the inner widget.
source§impl<R> HandleEvent<Event, FocusKeys, ScrollOutcome<R>> for ViewStatewhere
R: ConsumedEvent,
impl<R> HandleEvent<Event, FocusKeys, ScrollOutcome<R>> for ViewStatewhere
R: ConsumedEvent,
Handle all events. Text events are only processed if focus is true. Mouse events are processed if they are in range.
source§impl<R, S> HandleEvent<Event, FocusKeys, ScrollOutcome<R>> for ViewportState<S>
impl<R, S> HandleEvent<Event, FocusKeys, ScrollOutcome<R>> for ViewportState<S>
Handle events if the widget has the focus.
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for DateInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for DateInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for MaskedInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for MaskedInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for NumberInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for NumberInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for RDateInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for RDateInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for RMaskedInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for RMaskedInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for RNumberInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for RNumberInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for RTextAreaState
impl HandleEvent<Event, FocusKeys, TextOutcome> for RTextAreaState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for RTextInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for RTextInputState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for TextAreaState
impl HandleEvent<Event, FocusKeys, TextOutcome> for TextAreaState
source§impl HandleEvent<Event, FocusKeys, TextOutcome> for TextInputState
impl HandleEvent<Event, FocusKeys, TextOutcome> for TextInputState
Auto Trait Implementations§
impl Freeze for FocusKeys
impl RefUnwindSafe for FocusKeys
impl Send for FocusKeys
impl Sync for FocusKeys
impl Unpin for FocusKeys
impl UnwindSafe for FocusKeys
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> 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