pub enum DatePickerEntryMode {
Calendar,
Input,
CalendarOnly,
InputOnly,
}Expand description
Initial display mode of the date picker dialog.
Date picker UI mode for either showing a list of available years or a monthly calendar
initially in the dialog shown by calling showDatePicker.
Variants§
Calendar
User picks a date from calendar grid. Can switch to Input by pressing
a button in the dialog.
Input
User can input the date with a text field. Can switch to Calendar
by pressing a button in the dialog.
CalendarOnly
User can only pick a date from calendar grid. Switching to
Input is disabled.
InputOnly
User can only input the date with a text field. Switching to
Calendar is disabled.
Trait Implementations§
Source§impl Clone for DatePickerEntryMode
impl Clone for DatePickerEntryMode
impl Copy for DatePickerEntryMode
Source§impl Debug for DatePickerEntryMode
impl Debug for DatePickerEntryMode
impl Eq for DatePickerEntryMode
Source§impl Hash for DatePickerEntryMode
impl Hash for DatePickerEntryMode
Source§impl PartialEq for DatePickerEntryMode
impl PartialEq for DatePickerEntryMode
impl StructuralPartialEq for DatePickerEntryMode
Auto Trait Implementations§
impl Forget for DatePickerEntryMode
impl Freeze for DatePickerEntryMode
impl Move for DatePickerEntryMode
impl RefUnwindSafe for DatePickerEntryMode
impl Send for DatePickerEntryMode
impl Sync for DatePickerEntryMode
impl Unpin for DatePickerEntryMode
impl UnsafeUnpin for DatePickerEntryMode
impl UnwindSafe for DatePickerEntryMode
Blanket Implementations§
Source§impl<T> AnyEq for T
impl<T> AnyEq for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.