Enum seed_datepicker::dialog_view_type::DialogViewType [−][src]
pub enum DialogViewType { Years, Months, Days, }
Types of views for the datepicker.
Variants
YEARS_IN_YEAR_SELECTION Years, from a year which modulo % 20 == 0
1 full year with the selection of a month
1 full month with the selection of a day
Implementations
impl DialogViewType
[src]
impl DialogViewType
[src]pub const fn larger_type(&self) -> Option<DialogViewType>
[src]
returns the larger view type, if such exists, otherwise returns None
Trait Implementations
impl Clone for DialogViewType
[src]
impl Clone for DialogViewType
[src]pub fn clone(&self) -> DialogViewType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DialogViewType
[src]
impl Copy for DialogViewType
[src]impl Debug for DialogViewType
[src]
impl Debug for DialogViewType
[src]impl Default for DialogViewType
[src]
impl Default for DialogViewType
[src]pub fn default() -> DialogViewType
[src]
impl Eq for DialogViewType
[src]
impl Eq for DialogViewType
[src]impl Ord for DialogViewType
[src]
impl Ord for DialogViewType
[src]impl PartialEq<DialogViewType> for DialogViewType
[src]
impl PartialEq<DialogViewType> for DialogViewType
[src]impl PartialOrd<DialogViewType> for DialogViewType
[src]
impl PartialOrd<DialogViewType> for DialogViewType
[src]pub fn partial_cmp(&self, other: &DialogViewType) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for DialogViewType
[src]
impl StructuralEq for DialogViewType
[src]impl StructuralPartialEq for DialogViewType
[src]
impl StructuralPartialEq for DialogViewType
[src]Auto Trait Implementations
impl RefUnwindSafe for DialogViewType
impl RefUnwindSafe for DialogViewType
impl Send for DialogViewType
impl Send for DialogViewType
impl Sync for DialogViewType
impl Sync for DialogViewType
impl Unpin for DialogViewType
impl Unpin for DialogViewType
impl UnwindSafe for DialogViewType
impl UnwindSafe for DialogViewType
Blanket Implementations
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,