pub trait Intersects<Rhs: ?Sized = Self> {
// Required method
fn intersects(&self, other: &Rhs) -> bool;
}Expand description
A trait for objects that can be tested for intersection.
Required Methods§
sourcefn intersects(&self, other: &Rhs) -> bool
fn intersects(&self, other: &Rhs) -> bool
Determines if this object intersects with another object.
other- The other object to check for intersection against.