pub trait Contains<T> {
// Required method
fn contains(&self, thing: &T) -> bool;
}
Expand description
General trait for the contains()
method.
Coordinates exactly on the upper bound are considered to be contained.
See also: Intersection
, which is different in this regard.