Module angle

Source
Expand description

Traits for working with angular values, such as for in hues.

Traits§

AngleEq
Angular equality, where 0 degrees and 360 degrees are equal.
FromAngle
Performs value-to-value conversion between angle types. See also IntoAngle.
FullRotation
Represents types that can express a full rotation (i.e. 360 degrees).
HalfRotation
Represents types that can express half of a rotation (i.e. 180 degrees).
IntoAngle
Performs value-to-value conversion between angle types. See also IntoAngle.
RealAngle
Angle values that are real numbers and can represent both radians and degrees.
SignedAngle
Angle types that can represent the full circle using positive and negative values.
UnsignedAngle
Angle types that can represent the full circle as positive values.