pub trait RangeBoundsExt<T: Idx>: RangeBounds<T> {
// Provided methods
fn start(&self) -> Option<T> { ... }
fn end(&self) -> Option<T> { ... }
fn len(&self) -> Option<T> { ... }
fn is_empty(&self) -> bool { ... }
fn is_full(&self) -> bool { ... }
fn map<F, R>(&self, f: F) -> (Bound<R>, Bound<R>)
where F: Fn(&T) -> R { ... }
}
Provided Methods§
fn start(&self) -> Option<T>
fn end(&self) -> Option<T>
fn len(&self) -> Option<T>
fn is_empty(&self) -> bool
fn is_full(&self) -> bool
fn map<F, R>(&self, f: F) -> (Bound<R>, Bound<R>)
Object Safety§
This trait is not object safe.