Trait peroxide::prelude::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)

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl TrigOps for f32

§

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

§

fn sin(&self) -> f32

§

fn cos(&self) -> f32

§

fn tan(&self) -> f32

§

fn sinh(&self) -> f32

§

fn cosh(&self) -> f32

§

fn tanh(&self) -> f32

§

fn asin(&self) -> f32

§

fn acos(&self) -> f32

§

fn atan(&self) -> f32

§

fn asinh(&self) -> f32

§

fn acosh(&self) -> f32

§

fn atanh(&self) -> f32

§

impl TrigOps for f64

§

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

§

fn sin(&self) -> f64

§

fn cos(&self) -> f64

§

fn tan(&self) -> f64

§

fn sinh(&self) -> f64

§

fn cosh(&self) -> f64

§

fn tanh(&self) -> f64

§

fn asin(&self) -> f64

§

fn acos(&self) -> f64

§

fn atan(&self) -> f64

§

fn asinh(&self) -> f64

§

fn acosh(&self) -> f64

§

fn atanh(&self) -> f64

Implementors§