Trait interval_adapter::EndPointTrait

source ·
pub trait EndPointTrait<T>
where Self: PartialOrd + Sub<Output = T> + Add<Output = T> + Clone + Copy + Sized,
{ }
Expand description

Enpoint of an interval, aka bound of a range. Special trait to avoid repeating all the bound on endpoint.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T, All> EndPointTrait<T> for All
where Self: PartialOrd + Sub<Output = T> + Add<Output = T> + Clone + Copy + Sized,