struct RangeInclusive
pub struct RangeInclusive<T>
Conforms to Contains<T>, Clone, Iterator, DoubleEnded.
The range a..=b: the values from start to end, both included.
Fields
pub var start: T
pub var end: T
Methods
fn contains(x: T): bool
Returns whether x lies from start to end, both included.
fn clone(): RangeInclusive<T>
mut fn next(): ?T
mut fn nextBack(): ?T