[−][src]Trait nclist::Interval
The interval trait needs to be implemented for T
before you can create an NClist<T>
.
An interval is half-open, inclusive start and exclusive end (like std::ops::Range<T>
), but
end > start
must always be true.
Associated Types
Loading content...Required methods
fn start(&self) -> &Self::Coord
Return a reference to the start coordinate of the interval (inclusive)
fn end(&self) -> &Self::Coord
Return a reference to the end coordinate of the interval (non-inclusive)
Implementations on Foreign Types
impl<N> Interval for Range<N> where
N: Ord,
[src]
N: Ord,
Interval is already implemented for std::ops::Range
.