Trait Region
imageproc::rect
pub trait Region<T> { fn contains(&self, x: T, y: T) -> bool; }
A geometrical representation of a set of 2D points with coordinate type T.
fn contains(&self, x: T, y: T) -> bool
Whether this region contains the given point.
impl Region<f32> for Rect
fn contains(&self, x: f32, y: f32) -> bool
impl Region<i32> for Rect
fn contains(&self, x: i32, y: i32) -> bool