Expand description
Type-level constants for generic contexts.
These types implement From
, PartialEq
, and PartialOrd
so that
generic code can check if a value is zero, etc.
Structs§
- _0
- Zero.
- _1
- One.
- _2
- Two.
- _45
- Eighth turn in degrees.
- _90
- Quarter turn in degrees.
- _45_rad
- Eighth circumference of unit circle (pi/4, tau/8).
- _90_rad
- Quarter circumference of unit circle (pi/2, tau/4).
- _180
- Half turn in degrees.
- _270
- Three-quarters turn in degrees.
- _360
- Full turn in degrees.
- _180_
rad - Half circumference of unit circle (pi, tau/2).
- _270_
rad - Three-quarters circumference of unit circle (3pi/2, 3tau/4).
- _360_
rad - Circumference of unit circle (2pi, tau).