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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.