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.