pub trait Float: Copy + PartialEq + ToOrd + Add<Output = Self> + Sub<Output = Self> + Neg<Output = Self> + Mul<Output = Self> + Div<Output = Self> + IsNan + IsFinite + Signed + Round + Pow + Exp + Trig {
const ZERO: Self;
const PI: Self;
const PI_OVER_TWO: Self;
const TAU: Self;
const SIXTY: Self;
const NINETY: Self;
const ONE_EIGHTY: Self;
const THREE_SIXTY: Self;
const MIN: Self;
const MAX: Self;
// Required method
fn rem_euclid(self, _: Self) -> Self;
}
Expand description
A floating-point number that serves as the backing value of an Angle
.
Required Associated Constants§
sourceconst PI_OVER_TWO: Self
const PI_OVER_TWO: Self
π divided by two.
sourceconst ONE_EIGHTY: Self
const ONE_EIGHTY: Self
The number 180.
sourceconst THREE_SIXTY: Self
const THREE_SIXTY: Self
The number 360.
Required Methods§
sourcefn rem_euclid(self, _: Self) -> Self
fn rem_euclid(self, _: Self) -> Self
Modulus operation.