Struct seed_datepicker::config::PickerConfig [−][src]
pub struct PickerConfig<T> where
T: HasDateConstraints + Default + Clone, { /* fields omitted */ }
Configuration for the datepicker.
Implementations
impl<T> PickerConfig<T> where
T: HasDateConstraints + Default + Clone,
[src]
impl<T> PickerConfig<T> where
T: HasDateConstraints + Default + Clone,
[src]pub fn guess_allowed_year_month(&self) -> NaiveDate
[src]
impl<T> PickerConfig<T> where
T: HasDateConstraints + Default + Clone,
[src]
impl<T> PickerConfig<T> where
T: HasDateConstraints + Default + Clone,
[src]pub fn initial_date(&self) -> &Option<NaiveDate>
[src]
pub fn initial_view_type(&self) -> &DialogViewType
[src]
pub fn selection_type(&self) -> &DialogViewType
[src]
pub fn initially_opened(&self) -> &bool
[src]
pub fn month_title_format(&self) -> &String
[src]
Trait Implementations
impl<T> Debug for PickerConfig<T> where
T: Debug + HasDateConstraints + Default + Clone,
[src]
impl<T> Debug for PickerConfig<T> where
T: Debug + HasDateConstraints + Default + Clone,
[src]impl<T> Default for PickerConfig<T> where
T: Default + HasDateConstraints + Clone,
[src]
impl<T> Default for PickerConfig<T> where
T: Default + HasDateConstraints + Clone,
[src]pub fn default() -> PickerConfig<T>
[src]
impl<T> HasDateConstraints for PickerConfig<T> where
T: HasDateConstraints + Default + Clone,
[src]
impl<T> HasDateConstraints for PickerConfig<T> where
T: HasDateConstraints + Default + Clone,
[src]pub fn is_day_forbidden(&self, date: &NaiveDate) -> bool
[src]
pub fn is_month_forbidden(&self, year_month_info: &NaiveDate) -> bool
[src]
pub fn is_year_forbidden(&self, year: i32) -> bool
[src]
pub fn is_year_group_forbidden(&self, year: i32) -> bool
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for PickerConfig<T> where
T: RefUnwindSafe,
impl<T> RefUnwindSafe for PickerConfig<T> where
T: RefUnwindSafe,
impl<T> Send for PickerConfig<T> where
T: Send,
impl<T> Send for PickerConfig<T> where
T: Send,
impl<T> Sync for PickerConfig<T> where
T: Sync,
impl<T> Sync for PickerConfig<T> where
T: Sync,
impl<T> Unpin for PickerConfig<T> where
T: Unpin,
impl<T> Unpin for PickerConfig<T> where
T: Unpin,
impl<T> UnwindSafe for PickerConfig<T> where
T: UnwindSafe,
impl<T> UnwindSafe for PickerConfig<T> where
T: UnwindSafe,