pub trait Angle<N> {
Show 15 methods
fn pi() -> Self
where
N: NumCast;
fn two_pi() -> Self
where
N: NumCast;
fn half_pi() -> Self
where
N: NumCast;
fn to_rad(self) -> Rad<N>
where
N: NumCast;
fn to_deg(self) -> Deg<N>
where
N: NumCast;
fn wrap(self) -> Self
where
N: NumCast + Clone;
fn max(self, other: Self) -> Self
where
N: PartialOrd + NumCast + Clone;
fn min(self, other: Self) -> Self
where
N: PartialOrd + NumCast + Clone;
fn value(self) -> N;
fn as_value(&self) -> &N;
fn sin(self) -> N
where
N: Float + NumCast;
fn cos(self) -> N
where
N: Float + NumCast;
fn tan(self) -> N
where
N: Float + NumCast;
fn sin_cos(self) -> (N, N)
where
N: Float + NumCast;
fn abs(self) -> Self
where
N: Signed;
}