pub trait Trigonometric { fn sin(&self) -> Self; fn cos(&self) -> Self; fn tan(&self) -> Self; fn asin(&self) -> Self; fn acos(&self) -> Self; fn atan(&self) -> Self; fn atan2(&self, other: &Self) -> Self; fn sin_cos(&self) -> (Self, Self); }
fn sin(&self) -> Self
fn cos(&self) -> Self
fn tan(&self) -> Self
fn asin(&self) -> Self
fn acos(&self) -> Self
fn atan(&self) -> Self
fn atan2(&self, other: &Self) -> Self
fn sin_cos(&self) -> (Self, Self)
impl Trigonometric for float
impl Trigonometric for f32
impl Trigonometric for f64
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).