[][src]Enum holiday::NthWeekday

pub enum NthWeekday {
    First,
    Second,
    Third,
    Fourth,
    Fifth,
    Last,
}

The nth ocurrence of a weekday in a month.

Using the Fifth explicitly may panic if you try to create a date with it, as some months do not have 5 ocurrences of a given weekday.

Variants

First
Second
Third
Fourth
Fifth
Last

Trait Implementations

impl Clone for NthWeekday[src]

impl Copy for NthWeekday[src]

impl Debug for NthWeekday[src]

impl Eq for NthWeekday[src]

impl From<NthWeekday> for u32[src]

impl From<u32> for NthWeekday[src]

impl Ord for NthWeekday[src]

impl PartialEq<NthWeekday> for NthWeekday[src]

impl PartialEq<u32> for NthWeekday[src]

impl PartialOrd<NthWeekday> for NthWeekday[src]

impl StructuralEq for NthWeekday[src]

impl StructuralPartialEq for NthWeekday[src]

Auto Trait Implementations

impl RefUnwindSafe for NthWeekday

impl Send for NthWeekday

impl Sync for NthWeekday

impl Unpin for NthWeekday

impl UnwindSafe for NthWeekday

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<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.