Trait angle::Angle
[−]
[src]
pub trait Angle<N> { fn pi() -> Self; fn two_pi() -> Self; fn half_pi() -> Self; fn to_rad(self) -> Rad<N>; fn to_deg(self) -> Deg<N>; fn wrap(self) -> Self; fn max(self, other: Self) -> Self; fn min(self, other: Self) -> Self; fn value(self) -> N; fn sin(self) -> N
where
N: Float; fn cos(self) -> N
where
N: Float; fn tan(self) -> N
where
N: Float; fn sin_cos(self) -> (N, N)
where
N: Float; fn abs(self) -> Self; }
Required Methods
fn pi() -> Self
fn two_pi() -> Self
fn half_pi() -> Self
fn to_rad(self) -> Rad<N>
fn to_deg(self) -> Deg<N>
fn wrap(self) -> Self
fn max(self, other: Self) -> Self
fn min(self, other: Self) -> Self
fn value(self) -> N
fn sin(self) -> N where
N: Float,
N: Float,
fn cos(self) -> N where
N: Float,
N: Float,
fn tan(self) -> N where
N: Float,
N: Float,
fn sin_cos(self) -> (N, N) where
N: Float,
N: Float,