pub trait Trig: Sized + Copy {
// Required methods
fn sin(self) -> Self;
fn cos(self) -> Self;
fn sin_cos(self) -> (Self, Self);
fn tan(self) -> Self;
fn asin(self) -> Self;
fn acos(self) -> Self;
fn atan(self) -> Self;
fn atan2(self, _: Self) -> Self;
}
Expand description
Trait for computing trigonometric functions and their inverses.