pub trait NonOverlappingCheck {
type Element;
// Required methods
fn is_same(a: &Self::Element, b: &Self::Element) -> bool;
fn is_overlapping(a: &Self::Element, b: &Self::Element) -> bool;
}Required Associated Types§
Required Methods§
fn is_same(a: &Self::Element, b: &Self::Element) -> bool
fn is_overlapping(a: &Self::Element, b: &Self::Element) -> bool
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.