Trait number_traits::NumConst
[−]
[src]
pub trait NumConst { fn E() -> Self; fn FRAC_1_PI() -> Self; fn FRAC_1_SQRT_2() -> Self; fn FRAC_2_PI() -> Self; fn FRAC_2_SQRT_PI() -> Self; fn FRAC_PI_2() -> Self; fn FRAC_PI_3() -> Self; fn FRAC_PI_4() -> Self; fn FRAC_PI_6() -> Self; fn FRAC_PI_8() -> Self; fn LN_10() -> Self; fn LN_2() -> Self; fn LOG10_E() -> Self; fn LOG2_E() -> Self; fn PI() -> Self; fn SQRT_2() -> Self; }
Required Methods
fn E() -> Self
fn FRAC_1_PI() -> Self
fn FRAC_1_SQRT_2() -> Self
fn FRAC_2_PI() -> Self
fn FRAC_2_SQRT_PI() -> Self
fn FRAC_PI_2() -> Self
fn FRAC_PI_3() -> Self
fn FRAC_PI_4() -> Self
fn FRAC_PI_6() -> Self
fn FRAC_PI_8() -> Self
fn LN_10() -> Self
fn LN_2() -> Self
fn LOG10_E() -> Self
fn LOG2_E() -> Self
fn PI() -> Self
fn SQRT_2() -> Self
Implementations on Foreign Types
impl<T> NumConst for Wrapping<T> where
T: NumConst,
[src]
T: NumConst,
fn E() -> Self
[src]
fn FRAC_1_PI() -> Self
[src]
fn FRAC_1_SQRT_2() -> Self
[src]
fn FRAC_2_PI() -> Self
[src]
fn FRAC_2_SQRT_PI() -> Self
[src]
fn FRAC_PI_2() -> Self
[src]
fn FRAC_PI_3() -> Self
[src]
fn FRAC_PI_4() -> Self
[src]
fn FRAC_PI_6() -> Self
[src]
fn FRAC_PI_8() -> Self
[src]
fn LN_10() -> Self
[src]
fn LN_2() -> Self
[src]
fn LOG10_E() -> Self
[src]
fn LOG2_E() -> Self
[src]
fn PI() -> Self
[src]
fn SQRT_2() -> Self
[src]
Implementors
impl NumConst for usize
impl NumConst for u8
impl NumConst for u16
impl NumConst for u32
impl NumConst for u64
impl NumConst for u128
impl NumConst for isize
impl NumConst for i8
impl NumConst for i16
impl NumConst for i32
impl NumConst for i64
impl NumConst for i128
impl NumConst for f32
impl NumConst for f64