pub trait TimeConvex: TimeBounds + Sized + Into<TimeInterval<Self::TimePoint>> { }
Expand description

§A marker of convex (interval) time set

If a time window implements this trait, it is sure that it is a time interval (bounded or not) or an empty set.

Some computations will be optimized for convex windows.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: TimePoint> TimeConvex for Range<T>

source§

impl<T: TimePoint> TimeConvex for RangeFrom<T>

source§

impl<T: TimePoint> TimeConvex for RangeInclusive<T>

source§

impl<T: TimePoint> TimeConvex for RangeTo<T>

source§

impl<T: TimePoint> TimeConvex for RangeToInclusive<T>

source§

impl<TW> TimeConvex for ((Instant, Instant), TW)
where TW: TimeConvex<TimePoint = TimeValue>,

Implementors§