Expand description
Signed integer-tick time and rational frame rates, independent of rendering.
Structs§
- Frame
Rate - A positive rational number of frames per second, stored in reduced form.
- Time
- A signed time point or duration, stored as integer flicks.
Constants§
- TICKS_
PER_ SECOND - Flicks per second, exactly covering common video and audio sample rates.
Traits§
- Time
Literal - Readable signed time literals, such as
2.seconds()and1.5.seconds().
Type Aliases§
- Duration
- A duration uses the same representation and arithmetic as a time point.