[][src]Struct bitvec::slice::RSplitN

pub struct RSplitN<'a, C, T, F> where
    C: Cursor,
    T: 'a + BitStore,
    F: FnMut(usize, &bool) -> bool
{ /* fields omitted */ }

An iterator over subslices separated by positions that satisfy a predicate function, limited to a given number of splits, starting from the end of the slice.

This struct is created by the rsplitn method on BitSlices.

Trait Implementations

impl<'a, C, T, F> Iterator for RSplitN<'a, C, T, F> where
    C: Cursor,
    T: 'a + BitStore,
    F: FnMut(usize, &bool) -> bool
[src]

type Item = &'a BitSlice<C, T>

The type of the elements being iterated over.

impl<'a, C, T, F> Debug for RSplitN<'a, C, T, F> where
    C: Cursor,
    T: 'a + BitStore,
    F: FnMut(usize, &bool) -> bool
[src]

impl<'a, C, T, F> FusedIterator for RSplitN<'a, C, T, F> where
    C: Cursor,
    T: 'a + BitStore,
    F: FnMut(usize, &bool) -> bool
[src]

Auto Trait Implementations

impl<'a, C, T, F> Send for RSplitN<'a, C, T, F> where
    F: Send

impl<'a, C, T, F> Sync for RSplitN<'a, C, T, F> where
    F: Sync

impl<'a, C, T, F> Unpin for RSplitN<'a, C, T, F> where
    F: Unpin

impl<'a, C, T, F> UnwindSafe for RSplitN<'a, C, T, F> where
    C: RefUnwindSafe,
    F: UnwindSafe,
    T: RefUnwindSafe

impl<'a, C, T, F> RefUnwindSafe for RSplitN<'a, C, T, F> where
    C: RefUnwindSafe,
    F: RefUnwindSafe,
    T: RefUnwindSafe

Blanket Implementations

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.

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

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

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