Trait riddle_math::SpacialNumeric[][src]

pub trait SpacialNumeric: PartialOrd + Copy + Clone + Debug + Add<Self, Output = Self> + Sub<Self, Output = Self> + Mul<Self, Output = Self> + Div<Self, Output = Self> + Default { }

Numeric types over which crate::Rect and crate::Vector2 are defined

Types which implement this have basic operations and comparisons defined that can work for all signed, unsigned numbers, integer, and floating point numbers.

Implementations on Foreign Types

impl SpacialNumeric for u32[src]

impl SpacialNumeric for i32[src]

impl SpacialNumeric for u64[src]

impl SpacialNumeric for i64[src]

impl SpacialNumeric for f32[src]

impl SpacialNumeric for f64[src]

Loading content...

Implementors

Loading content...