pub trait TimeOverlapping<TW> {
    // Required method
    fn overlaps(&self, rhs: &TW) -> bool;
}
Expand description

§A trait for time overlapping

Two time windows overlap if the intersection is not empty.

Required Methods§

source

fn overlaps(&self, rhs: &TW) -> bool

Implementors§

source§

impl<T: TimePoint> TimeOverlapping<TimeSet<T>> for TimeSet<T>

source§

impl<T: TimePoint, TW> TimeOverlapping<TW> for TimeSet<T>
where TW: TimeConvex<TimePoint = T>,

source§

impl<TW1: TimeConvex, TW2> TimeOverlapping<TW2> for TW1
where TW2: TimeBounds<TimePoint = TW1::TimePoint> + TimeConvex,

source§

impl<TW: TimeConvex> TimeOverlapping<TimeSet<<TW as TimeBounds>::TimePoint>> for TW