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
true
if the two elements intersect.