Skip to main content

Time

Type Alias Time 

Source
pub type Time = TimeOf<f32>;
Expand description

Represents time which can be used as an instant or a duration.

Provides conversion to other time units (seconds, minutes, days…).

Uses float as its underlying representation.

See TimeOf to use your own precision.

Aliased Type§

pub struct Time(/* private fields */);