pub trait Trig {
Show 13 methods
// Required methods
fn sin(self) -> Self;
fn asin(self) -> Self;
fn sinh(self) -> Self;
fn asinh(self) -> Self;
fn cos(self) -> Self;
fn acos(self) -> Self;
fn cosh(self) -> Self;
fn acosh(self) -> Self;
fn tan(self) -> Self;
fn atan(self) -> Self;
fn atan2(self, other: Self) -> Self;
fn tanh(self) -> Self;
fn atanh(self) -> Self;
}
Expand description
Trigonometry functions
Required Methods§
Sourcefn asinh(self) -> Self
fn asinh(self) -> Self
Refer to f32::asinh
Sourcefn acosh(self) -> Self
fn acosh(self) -> Self
Refer to f32::acosh
Sourcefn atan2(self, other: Self) -> Self
fn atan2(self, other: Self) -> Self
Refer to f32::atan2
Sourcefn atanh(self) -> Self
fn atanh(self) -> Self
Refer to f32::atanh
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.