pub trait Intersects<T> {
// Required method
fn intersects(&self, other: &T) -> bool;
}Expand description
Tests whether two values intersect.
Required Methods§
Sourcefn intersects(&self, other: &T) -> bool
fn intersects(&self, other: &T) -> bool
Returns true when self intersects other.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".