Struct rat_widget::date_input::ConvenientKeys
source · pub struct ConvenientKeys;Expand description
Add convenience keys:
h- todaya- January, 1ste- December, 31stl- first of last monthL- last of last monthm- first of this monthM- last of this monthn- first of next monthN- last of next monthj- add monthk- subtract monthJ- add yearK- subtract year
Calls handle(FocusKeys) afterwards.
Trait Implementations§
source§impl Debug for ConvenientKeys
impl Debug for ConvenientKeys
source§impl HandleEvent<Event, ConvenientKeys, TextOutcome> for DateInputState
impl HandleEvent<Event, ConvenientKeys, TextOutcome> for DateInputState
source§fn handle(&mut self, event: &Event, _keymap: ConvenientKeys) -> TextOutcome
fn handle(&mut self, event: &Event, _keymap: ConvenientKeys) -> TextOutcome
Handle an event. Read more
Auto Trait Implementations§
impl Freeze for ConvenientKeys
impl RefUnwindSafe for ConvenientKeys
impl Send for ConvenientKeys
impl Sync for ConvenientKeys
impl Unpin for ConvenientKeys
impl UnwindSafe for ConvenientKeys
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