pub trait Intersects<Rhs = Self> {
// Required method
fn intersects(&self, rhs: &Rhs) -> bool;
}Expand description
A trait for values that can report whether they intersect Rhs.
Required Methods§
Sourcefn intersects(&self, rhs: &Rhs) -> bool
fn intersects(&self, rhs: &Rhs) -> bool
Returns true when self intersects rhs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".