[−][src]Trait euclid::Trig 
Trait for basic trigonometry functions, so they can be used on generic numeric types
Required Methods
fn sin(self) -> Self
fn cos(self) -> Self
fn tan(self) -> Self
fn fast_atan2(y: Self, x: Self) -> Self
fn degrees_to_radians(deg: Self) -> Self
fn radians_to_degrees(rad: Self) -> Self
Implementations on Foreign Types
impl Trig for f32[src] 
impl Trig for f32fn sin(self) -> f32[src] 
fn sin(self) -> f32fn cos(self) -> f32[src] 
fn cos(self) -> f32fn tan(self) -> f32[src] 
fn tan(self) -> f32fn fast_atan2(y: f32, x: f32) -> f32[src] 
fn fast_atan2(y: f32, x: f32) -> f32A slightly faster approximation of atan2.
Note that it does not deal with the case where both x and y are 0.
fn degrees_to_radians(deg: Self) -> Self[src] 
fn degrees_to_radians(deg: Self) -> Selffn radians_to_degrees(rad: Self) -> Self[src] 
fn radians_to_degrees(rad: Self) -> Selfimpl Trig for f64[src] 
impl Trig for f64fn sin(self) -> f64[src] 
fn sin(self) -> f64fn cos(self) -> f64[src] 
fn cos(self) -> f64fn tan(self) -> f64[src] 
fn tan(self) -> f64fn fast_atan2(y: f64, x: f64) -> f64[src] 
fn fast_atan2(y: f64, x: f64) -> f64A slightly faster approximation of atan2.
Note that it does not deal with the case where both x and y are 0.
fn degrees_to_radians(deg: Self) -> Self[src] 
fn degrees_to_radians(deg: Self) -> Selffn radians_to_degrees(rad: Self) -> Self[src] 
fn radians_to_degrees(rad: Self) -> Self