rangetools 0.1.4

Extending the Rust Range structs found in std::ops
Documentation
1
2
3
4
5
6
7
8
use crate::{RangeUnion, Rangetools, UnboundedRange};

impl<Set, R: Rangetools<Set = Set>> RangeUnion<R, Set> for UnboundedRange {
    type Output = UnboundedRange;
    fn union(self, _: R) -> Self::Output {
        self
    }
}