pub trait Angle:
Copy
+ Trig
+ FromUnit
+ ToUnit
+ Mul<f32, Output = Self>
+ Div<f32, Output = Self> {
// Provided methods
fn to_angle<A: Angle>(self) -> A { ... }
fn from_angle<A: Angle>(angle: A) -> Self { ... }
}Expand description
A closed trait used to represent various angular units.
Types that implement this inherit all basic trigonometric functions and enable easy conversion between angular units.
Provided Methods§
Object Safety§
This trait is not object safe.