Trait rin::prelude::InsideRect[][src]

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

Trait to calculate if something is inside a rectangle

Required methods

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

Loading content...

Implementors

impl<T> InsideRect<T> for Point<T, U2> where
    T: Float + BaseNum
[src]

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

Loading content...