Trait TimeValLike
pub trait TimeValLike: Sized
Required Methods
fn seconds(seconds: i64) -> Selffn milliseconds(milliseconds: i64) -> Selffn microseconds(microseconds: i64) -> Selffn nanoseconds(nanoseconds: i64) -> Selffn num_seconds(&self) -> i64fn num_milliseconds(&self) -> i64fn num_microseconds(&self) -> i64fn num_nanoseconds(&self) -> i64
Provided Methods
fn zero() -> Selffn hours(hours: i64) -> Selffn minutes(minutes: i64) -> Selffn num_hours(&self) -> i64fn num_minutes(&self) -> i64
Implementors
impl TimeValLike for TimeSpecimpl TimeValLike for TimeVal