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