Trait InsideRect
rin::math
pub trait InsideRect<T> where T: BaseNum, { pub fn inside(&self, rect: &Rect<T>) -> bool; }
Trait to calculate if something is inside a rectangle
pub fn inside(&self, rect: &Rect<T>) -> bool
impl<T> InsideRect<T> for Point<T, U2> where T: Float + BaseNum,
impl<T> InsideRect<T> for Rect<T> where T: Float + BaseNum,