imageproc::rect

Trait Region

Source
pub trait Region<T> {
    // Required method
    fn contains(&self, x: T, y: T) -> bool;
}
Expand description

A geometrical representation of a set of 2D points with coordinate type T.

Required Methods§

Source

fn contains(&self, x: T, y: T) -> bool

Whether this region contains the given point.

Implementors§