pub trait RealAngle: Real {
// Required methods
fn radians_to_degrees(self) -> Self;
fn degrees_to_radians(self) -> Self;
}
Expand description
Angle values that are real numbers and can represent both radians and degrees.
Required Methods§
sourcefn radians_to_degrees(self) -> Self
fn radians_to_degrees(self) -> Self
Consider self
to be radians and convert it to degrees.
sourcefn degrees_to_radians(self) -> Self
fn degrees_to_radians(self) -> Self
Consider self
to be degrees and convert it to radians.
Object Safety§
This trait is not object safe.