[][src]Trait lyon_geom::Scalar

pub trait Scalar: Float + NumCast + FloatConst + Sized + Display + Debug + Trig + AddAssign + SubAssign + MulAssign + DivAssign {
    const HALF: Self;
    const ZERO: Self;
    const ONE: Self;
    const TWO: Self;
    const THREE: Self;
    const FOUR: Self;
    const FIVE: Self;
    const SIX: Self;
    const SEVEN: Self;
    const EIGHT: Self;
    const NINE: Self;
    const TEN: Self;
    const EPSILON: Self;

    fn value(v: f32) -> Self;
}

Associated Constants

const HALF: Self

const ZERO: Self

const ONE: Self

const TWO: Self

const THREE: Self

const FOUR: Self

const FIVE: Self

const SIX: Self

const SEVEN: Self

const EIGHT: Self

const NINE: Self

const TEN: Self

const EPSILON: Self

Loading content...

Required methods

fn value(v: f32) -> Self

Loading content...

Implementations on Foreign Types

impl Scalar for f32[src]

impl Scalar for f64[src]

Loading content...

Implementors

Loading content...