pub enum DateSelectPromptAction {
GoToPrevDay,
GoToNextDay,
GoToPrevWeek,
GoToNextWeek,
GoToPrevMonth,
GoToNextMonth,
GoToPrevYear,
GoToNextYear,
}Expand description
Set of actions for a DateSelectPrompt.
Variants§
GoToPrevDay
Move day cursor to the previous day.
GoToNextDay
Move day cursor to the next day.
GoToPrevWeek
Move day cursor to the previous week.
GoToNextWeek
Move day cursor to the next week.
GoToPrevMonth
Move day cursor to the previous month.
GoToNextMonth
Move day cursor to the next month.
GoToPrevYear
Move day cursor to the previous year.
GoToNextYear
Move day cursor to the next year.
Trait Implementations§
Source§impl Clone for DateSelectPromptAction
Available on crate feature date only.
impl Clone for DateSelectPromptAction
Available on crate feature
date only.Source§fn clone(&self) -> DateSelectPromptAction
fn clone(&self) -> DateSelectPromptAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DateSelectPromptAction
Available on crate feature date only.
impl Debug for DateSelectPromptAction
Available on crate feature
date only.Source§impl InnerAction for DateSelectPromptAction
Available on crate feature date only.
impl InnerAction for DateSelectPromptAction
Available on crate feature
date only.Source§impl PartialEq for DateSelectPromptAction
Available on crate feature date only.
impl PartialEq for DateSelectPromptAction
Available on crate feature
date only.impl Copy for DateSelectPromptAction
Available on crate feature
date only.impl Eq for DateSelectPromptAction
Available on crate feature
date only.impl StructuralPartialEq for DateSelectPromptAction
Available on crate feature
date only.Auto Trait Implementations§
impl Freeze for DateSelectPromptAction
impl RefUnwindSafe for DateSelectPromptAction
impl Send for DateSelectPromptAction
impl Sync for DateSelectPromptAction
impl Unpin for DateSelectPromptAction
impl UnwindSafe for DateSelectPromptAction
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