Range

Trait Range 

Source
pub trait Range: Collection {
    // Required method
    fn new(lb: Self::Item, ub: Self::Item) -> Self;
}
Expand description

Generates a new object with lower and upper bounds.

Required Methods§

Source

fn new(lb: Self::Item, ub: Self::Item) -> Self

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<Bound> Range for Interval<Bound>
where Bound: Width,

Source§

impl<Bound> Range for IntervalSet<Bound>
where Bound: Width + Num,