pub trait Trigonometry: Sized {
// 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, other: Self) -> Self;
}Expand description
Trigonometry methods and their inverses.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl Trigonometry for f32
Available on crate feature std, or non-crate feature libm only.
impl Trigonometry for f32
Available on crate feature
std, or non-crate feature libm only.Source§impl Trigonometry for f64
Available on crate feature std, or non-crate feature libm only.
impl Trigonometry for f64
Available on crate feature
std, or non-crate feature libm only.