Enum seed_datepicker::dialog_view_type::DialogViewType[][src]

pub enum DialogViewType {
    Years,
    Months,
    Days,
}

Types of views for the datepicker.

Variants

Years

YEARS_IN_YEAR_SELECTION Years, from a year which modulo % 20 == 0

Months

1 full year with the selection of a month

Days

1 full month with the selection of a day

Implementations

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 Copy for DialogViewType[src]

impl Debug for DialogViewType[src]

impl Default for DialogViewType[src]

impl Eq for DialogViewType[src]

impl Ord for DialogViewType[src]

impl PartialEq<DialogViewType> for DialogViewType[src]

impl PartialOrd<DialogViewType> for DialogViewType[src]

impl StructuralEq for DialogViewType[src]

impl StructuralPartialEq for DialogViewType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,