Expand description
Integer-tick time points, nonnegative durations, signed offsets and rational frame rates.
Structs§
- Duration
- A nonnegative span of time, stored as integer flicks.
- Frame
Rate - A positive rational number of frames per second, stored in reduced form.
- Time
- A signed point on the timeline, stored as integer flicks since the origin.
- Time
Offset - A signed span of time, stored as integer flicks.
Constants§
- TICKS_
PER_ SECOND - Flicks per second, exactly covering common video and audio sample rates.
Traits§
- Time
Literal - Readable nonnegative time literals, such as
2.seconds()and1.5.seconds().