Trait linefeed::util::RangeArgument
[−]
[src]
pub trait RangeArgument<T> { fn start(&self) -> Option<&T> { ... } fn end(&self) -> Option<&T> { ... } }
Implemented for built-in range types
Provided Methods
fn start(&self) -> Option<&T>
Returns the start of range, if present.
fn end(&self) -> Option<&T>
Returns the end of range, if present.
Implementations on Foreign Types
impl<T> RangeArgument<T> for Range<T>
[src]
impl<T> RangeArgument<T> for Range<T>
impl<T> RangeArgument<T> for RangeFrom<T>
[src]
impl<T> RangeArgument<T> for RangeFrom<T>
impl<T> RangeArgument<T> for RangeTo<T>
[src]
impl<T> RangeArgument<T> for RangeTo<T>
impl<T> RangeArgument<T> for RangeFull
[src]
impl<T> RangeArgument<T> for RangeFull