[][src]Trait batbox::Real

pub trait Real: Num + Copy {
    const PI: Self;

    fn signum(self) -> Self;
fn floor(self) -> Self;
fn ceil(self) -> Self;
fn sqrt(self) -> Self;
fn tan(self) -> Self;
fn sin(self) -> Self;
fn cos(self) -> Self;
fn atan2(y: Self, x: Self) -> Self;
fn as_f32(self) -> f32; fn sin_cos(self) -> (Self, Self) { ... } }

Associated Constants

const PI: Self

Loading content...

Required methods

fn signum(self) -> Self

fn floor(self) -> Self

fn ceil(self) -> Self

fn sqrt(self) -> Self

fn tan(self) -> Self

fn sin(self) -> Self

fn cos(self) -> Self

fn atan2(y: Self, x: Self) -> Self

fn as_f32(self) -> f32

Loading content...

Provided methods

fn sin_cos(self) -> (Self, Self)

Loading content...

Implementors

impl<T: Float> Real for RealImpl<T>[src]

Loading content...