Enum parse_zoneinfo::line::TimeSpec
[−]
[src]
pub enum TimeSpec { Hours(i8), HoursMinutes(i8, i8), HoursMinutesSeconds(i8, i8, i8), Zero, }
Variants
Hours(i8)
HoursMinutes(i8, i8)
HoursMinutesSeconds(i8, i8, i8)
Zero
Methods
impl TimeSpec
[src]
fn as_seconds(self) -> i64
[src]
impl TimeSpec
[src]
fn with_type(self, timetype: TimeType) -> TimeSpecAndType
[src]
Trait Implementations
impl PartialEq for TimeSpec
[src]
fn eq(&self, __arg_0: &TimeSpec) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TimeSpec) -> bool
[src]
This method tests for !=
.