pub fn angle_turn(input: &str) -> IResult<&str, f32>
Expand description

<angle> = <number> <angle-measure>

<angle-measure>

  • deg: Degrees, there are 360 degrees in a full circle.
  • grad Gradians, also known as “gons” or “grades”. There are 400 gradians in a full circle.
  • rad: radians, there are 2π radians in a full circle.
  • turn: Turns, there is 1 turn in a full circle.

https://www.w3.org/TR/css-values-4/#angle-value