Trait TrigOps
pub trait TrigOps: Sized {
Show 15 methods
    // Required methods
    fn sin_cos(&self) -> (Self, Self);
    fn tan(&self) -> Self;
    fn sinh(&self) -> Self;
    fn cosh(&self) -> Self;
    fn tanh(&self) -> Self;
    fn asin(&self) -> Self;
    fn acos(&self) -> Self;
    fn atan(&self) -> Self;
    fn asinh(&self) -> Self;
    fn acosh(&self) -> Self;
    fn atanh(&self) -> Self;
    // Provided methods
    fn sin(&self) -> Self { ... }
    fn cos(&self) -> Self { ... }
    fn asin_acos(&self) -> (Self, Self) { ... }
    fn asinh_acosh(&self) -> (Self, Self) { ... }
}Required Methods§
fn sin_cos(&self) -> (Self, Self)
fn tan(&self) -> Self
fn sinh(&self) -> Self
fn cosh(&self) -> Self
fn tanh(&self) -> Self
fn asin(&self) -> Self
fn acos(&self) -> Self
fn atan(&self) -> Self
fn asinh(&self) -> Self
fn acosh(&self) -> Self
fn atanh(&self) -> Self
Provided Methods§
fn sin(&self) -> Self
fn cos(&self) -> Self
fn asin_acos(&self) -> (Self, Self)
fn asinh_acosh(&self) -> (Self, Self)
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.