Enum inquire::DateSelectPromptAction
source · 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
impl Clone for DateSelectPromptAction
source§fn clone(&self) -> DateSelectPromptAction
fn clone(&self) -> DateSelectPromptAction
Returns a copy 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
impl Debug for DateSelectPromptAction
source§impl InnerAction for DateSelectPromptAction
impl InnerAction for DateSelectPromptAction
source§impl PartialEq for DateSelectPromptAction
impl PartialEq for DateSelectPromptAction
source§fn eq(&self, other: &DateSelectPromptAction) -> bool
fn eq(&self, other: &DateSelectPromptAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DateSelectPromptAction
impl Eq for DateSelectPromptAction
impl StructuralPartialEq for DateSelectPromptAction
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