pub trait TimeFormatConstructor {
// Required methods
fn nseconds(self) -> ClockTime;
fn useconds(self) -> ClockTime;
fn mseconds(self) -> ClockTime;
fn seconds(self) -> ClockTime;
fn minutes(self) -> ClockTime;
fn hours(self) -> ClockTime;
}
Expand description
ClockTime
formatted value constructor trait.
Required Methods§
Sourcefn nseconds(self) -> ClockTime
fn nseconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as nano seconds.
Sourcefn useconds(self) -> ClockTime
fn useconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as micro seconds.
Sourcefn mseconds(self) -> ClockTime
fn mseconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as milli seconds.
Sourcefn seconds(self) -> ClockTime
fn seconds(self) -> ClockTime
Builds a ClockTime
formatted value from self
interpreted as seconds.