pub trait Trigonometry {
type Out: NumberInstance;
// Required methods
fn asin(self) -> Self::Out;
fn sin(self) -> Self::Out;
fn asinh(self) -> Self::Out;
fn sinh(self) -> Self::Out;
fn acos(self) -> Self::Out;
fn cos(self) -> Self::Out;
fn acosh(self) -> Self::Out;
fn cosh(self) -> Self::Out;
fn atan(self) -> Self::Out;
fn tan(self) -> Self::Out;
fn atanh(self) -> Self::Out;
fn tanh(self) -> Self::Out;
}Expand description
Trigonometric functions.
Required Associated Types§
type Out: NumberInstance
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".