TrigOps

Trait TrigOps 

Source
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§

Source

fn sin_cos(&self) -> (Self, Self)

Source

fn tan(&self) -> Self

Source

fn sinh(&self) -> Self

Source

fn cosh(&self) -> Self

Source

fn tanh(&self) -> Self

Source

fn asin(&self) -> Self

Source

fn acos(&self) -> Self

Source

fn atan(&self) -> Self

Source

fn asinh(&self) -> Self

Source

fn acosh(&self) -> Self

Source

fn atanh(&self) -> Self

Provided Methods§

Source

fn sin(&self) -> Self

Source

fn cos(&self) -> Self

Source

fn asin_acos(&self) -> (Self, Self)

Source

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.

Implementations on Foreign Types§

Source§

impl TrigOps for f32

Source§

fn sin_cos(&self) -> (Self, Self)

Source§

fn sin(&self) -> Self

Source§

fn cos(&self) -> Self

Source§

fn tan(&self) -> Self

Source§

fn sinh(&self) -> Self

Source§

fn cosh(&self) -> Self

Source§

fn tanh(&self) -> Self

Source§

fn asin(&self) -> Self

Source§

fn acos(&self) -> Self

Source§

fn atan(&self) -> Self

Source§

fn asinh(&self) -> Self

Source§

fn acosh(&self) -> Self

Source§

fn atanh(&self) -> Self

Source§

impl TrigOps for f64

Source§

fn sin_cos(&self) -> (Self, Self)

Source§

fn sin(&self) -> Self

Source§

fn cos(&self) -> Self

Source§

fn tan(&self) -> Self

Source§

fn sinh(&self) -> Self

Source§

fn cosh(&self) -> Self

Source§

fn tanh(&self) -> Self

Source§

fn asin(&self) -> Self

Source§

fn acos(&self) -> Self

Source§

fn atan(&self) -> Self

Source§

fn asinh(&self) -> Self

Source§

fn acosh(&self) -> Self

Source§

fn atanh(&self) -> Self

Implementors§