Struct collate::Range[][src]

pub struct Range<V, B> { /* fields omitted */ }

A range for use with the Collate trait.

Implementations

impl<V, B: Borrow<[V]>> Range<V, B>[src]

pub fn len(&self) -> usize[src]

pub fn prefix(&self) -> &[V][src]

pub fn start(&self) -> &Bound<V>[src]

pub fn end(&self) -> &Bound<V>[src]

Trait Implementations

impl<V: Clone, B: Clone> Clone for Range<V, B>[src]

impl<V> Default for Range<V, Vec<V>>[src]

impl<V: Eq, B: Eq> Eq for Range<V, B>[src]

impl<V, B> From<(B, Bound<V>, Bound<V>)> for Range<V, B>[src]

impl<V, B> From<(B, Range<V>)> for Range<V, B>[src]

impl<V, B> From<(B, RangeFrom<V>)> for Range<V, B>[src]

impl<V, B> From<(B, RangeTo<V>)> for Range<V, B>[src]

impl<V: PartialEq, B: PartialEq> PartialEq<Range<V, B>> for Range<V, B>[src]

impl<V, B> StructuralEq for Range<V, B>[src]

impl<V, B> StructuralPartialEq for Range<V, B>[src]

Auto Trait Implementations

impl<V, B> RefUnwindSafe for Range<V, B> where
    B: RefUnwindSafe,
    V: RefUnwindSafe

impl<V, B> Send for Range<V, B> where
    B: Send,
    V: Send

impl<V, B> Sync for Range<V, B> where
    B: Sync,
    V: Sync

impl<V, B> Unpin for Range<V, B> where
    B: Unpin,
    V: Unpin

impl<V, B> UnwindSafe for Range<V, B> where
    B: UnwindSafe,
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.