cosmic::cosmic_theme::palette

Module angle

source
Expand description

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

Traitsยง

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