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