NormalizeAngle

Trait NormalizeAngle 

Source
pub trait NormalizeAngle<T = Self> {
    type Output;

    // Required method
    fn normalize_angle(self) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn normalize_angle(self) -> Self::Output

Normalizes the angle into the range -π to π.

Implementations on Foreign Types§

Source§

impl NormalizeAngle for f32

Available on crate feature std only.
Source§

impl NormalizeAngle for f64

Available on crate feature std only.

Implementors§