pub trait RangeArg<T> {
// Required methods
fn start(&self) -> Option<&T>;
fn end(&self) -> Option<&T>;
}
Expand description
Abstracts the std range types.
Based upon the nightly RangeArgument
trait.
pub trait RangeArg<T> {
// Required methods
fn start(&self) -> Option<&T>;
fn end(&self) -> Option<&T>;
}
Abstracts the std range types.
Based upon the nightly RangeArgument
trait.