NonOverlappingCheck

Trait NonOverlappingCheck 

Source
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§

Source

fn is_same(a: &Self::Element, b: &Self::Element) -> bool

Source

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.

Implementors§