1 2 3 4 5 6 7
pub trait IntersectsWith<T = Self> { /// Tests whether this element intersects with the [`other`]. /// /// # Returns /// - `true` if the two elements intersect. fn intersects_with(&self, other: &T) -> bool; }
1 2 3 4 5 6 7
pub trait IntersectsWith<T = Self> { /// Tests whether this element intersects with the [`other`]. /// /// # Returns /// - `true` if the two elements intersect. fn intersects_with(&self, other: &T) -> bool; }