Skip to main content

Intersects

Trait Intersects 

Source
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§

Source

fn intersects(&self, rhs: &Rhs) -> bool

Returns true when self intersects rhs.

Implementors§