1 2 3 4
/// A trait for intersection checks pub trait Intersect<T, R> { fn intersects(&self, other: &T) -> R; }