Expand description
Unit-interval progress through an animation or gesture, clamped to
[0, 1]. The saturating arithmetic and total ordering come from
Bounded; construction from a ratio of durations is the common case.
Structs§
- Progress
- A newtype rather than a
Bounded<ProgressBounds>alias so the domain methods below can be inherent: the clamping and the total order areBounded’s, everything a progress means is here. - Progress
Bounds