pub fn new(start: T, start_incl: bool, end: T, end_incl: bool) -> Interval<T> {
        Interval {
            start,
            start_incl,
            end,
            end_incl,
        }
    }
/// Create a new interval from the start value to the end value, specifying inclusivity on
/// either end of the interval.
Create a new interval from the start value to the end value, specifying inclusivity on
either end of the interval.
Create a new interval from the start value to the end value specifying inclusivity on either end of the interval .
pub fn new(start: T, start_incl: bool, end: T, end_incl: bool) -> Interval<T> {
        Interval {
            start,
            start_incl,
            end,
            end_incl,
        }
    }
pub fn new ( start : T , start_incl : bool , end : T , end_incl : bool ) -> Interval < T > { Interval { start , start_incl , end , end_incl , } }
Create a new interval from the start value to the end value, specifying inclusivity on
either end of the interval.
Create a new interval from the start value to the end value specifying inclusivity on either end of the interval .
start
T
start_incl
bool
end
T
end_incl
bool
start
T
start_incl
bool
end
T
end_incl
bool