pub trait IntersectsWith<T = Self> {
// Required method
fn intersects_with(&self, other: &T) -> bool;
}Required Methods§
Sourcefn intersects_with(&self, other: &T) -> bool
fn intersects_with(&self, other: &T) -> bool
Tests whether this element intersects with the [other].
§Returns
trueif the two elements intersect.