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)ZeroMethods
impl TimeSpec[src]
fn as_seconds(self) -> i64
impl TimeSpec[src]
fn with_type(self, timetype: TimeType) -> TimeSpecAndType
Trait Implementations
impl PartialEq for TimeSpec[src]
fn eq(&self, __arg_0: &TimeSpec) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &TimeSpec) -> bool
This method tests for !=.
impl Debug for TimeSpec[src]
impl Copy for TimeSpec[src]
impl Clone for TimeSpec[src]
fn clone(&self) -> TimeSpec
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more