Skip to main content

Intersects

Trait Intersects 

Source
pub trait Intersects<T> {
    // Required method
    fn intersects(&self, other: &T) -> bool;
}
Expand description

Tests whether two values intersect.

Required Methods§

Source

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".

Implementors§