[][src]Enum parse_zoneinfo::line::TimeSpec

pub enum TimeSpec {
    Hours(i8),
    HoursMinutes(i8i8),
    HoursMinutesSeconds(i8i8i8),
    Zero,
}

Variants

Hours(i8)
HoursMinutes(i8i8)
HoursMinutesSeconds(i8i8i8)
Zero

Methods

impl TimeSpec[src]

pub fn as_seconds(self) -> i64[src]

impl TimeSpec[src]

pub fn with_type(self, timetype: TimeType) -> TimeSpecAndType[src]

Trait Implementations

impl Clone for TimeSpec[src]

impl Copy for TimeSpec[src]

impl Debug for TimeSpec[src]

impl PartialEq<TimeSpec> for TimeSpec[src]

impl StructuralPartialEq for TimeSpec[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<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.