[][src]Trait vector2math::ZeroOneTwo

pub trait ZeroOneTwo: Copy {
    const ZERO: Self;
    const ONE: Self;
    const TWO: Self;
}

Trait for defining small-number constants

Associated Constants

const ZERO: Self

This type's value for zero, i.e. 0

const ONE: Self

This type's value for one, i.e. 1

const TWO: Self

This type's value for two, i.e. 2

Loading content...

Implementations on Foreign Types

impl ZeroOneTwo for u8[src]

impl ZeroOneTwo for u16[src]

impl ZeroOneTwo for u32[src]

impl ZeroOneTwo for u64[src]

impl ZeroOneTwo for u128[src]

impl ZeroOneTwo for usize[src]

impl ZeroOneTwo for i8[src]

impl ZeroOneTwo for i16[src]

impl ZeroOneTwo for i32[src]

impl ZeroOneTwo for i64[src]

impl ZeroOneTwo for i128[src]

impl ZeroOneTwo for isize[src]

impl ZeroOneTwo for f32[src]

impl ZeroOneTwo for f64[src]

Loading content...

Implementors

Loading content...