Trait rin_math::InsideRect[][src]

pub trait InsideRect<T: BaseNum> {
    fn inside(&self, rect: &Rect<T>) -> bool;
}

Trait to calculate if something is inside a rectangle

Required methods

fn inside(&self, rect: &Rect<T>) -> bool[src]

Loading content...

Implementors

impl<T: Float + BaseNum> InsideRect<T> for Rect<T>[src]

impl<T: Float + BaseNum> InsideRect<T> for Pnt2<T>[src]

Loading content...