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 Allwhere Self: PartialOrd + Sub<Output = T> + Add<Output = T> + Clone + Copy + Sized,