IntersectsWith

Trait IntersectsWith 

Source
pub trait IntersectsWith<T = Self> {
    // Required method
    fn intersects_with(&self, other: &T) -> bool;
}

Required Methods§

Source

fn intersects_with(&self, other: &T) -> bool

Tests whether this element intersects with the [other].

§Returns
  • true if the two elements intersect.

Implementors§