Bounded

Trait Bounded 

Source
pub trait Bounded<T>: IntoBounds<T> {
    // Required method
    fn from_bounds(bounds: (Endpoint<LEFT, T>, Endpoint<RIGHT, T>)) -> Self;
}
Expand description

Extend the IntoBounds trait to allow creating a value from a pair of Endpoint-s.

Required Methods§

Source

fn from_bounds(bounds: (Endpoint<LEFT, T>, Endpoint<RIGHT, T>)) -> Self

Create from the given pair of Endpoint-s.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> Bounded<T> for Interval<T>
where T: PartialOrd, Self: SingletonBounds<T>,