SingletonBounds

Trait SingletonBounds 

Source
pub trait SingletonBounds<T> { }
Expand description

Special trait to convert a value into Endpoint-s representing a singleton interval.

This trait is only has a single method when the singleton feature is enabled. Otherwise it is an empty trait and implemented for Interval<T> by default.

Implementors§

Source§

impl<T> SingletonBounds<T> for Interval<T>

Available on non-crate feature singleton only.