Trait float::Trig [−] [src]

pub trait Trig {
    fn sin(self) -> Self;
    fn cos(self) -> Self;
    fn tan(self) -> Self;
}

Basic trigonometry functions

Required Methods

fn sin(self) -> Self

Returns sine of self

fn cos(self) -> Self

Returns cosine of self

fn tan(self) -> Self

Returns tangent of self

Implementors