Struct memchr::memmem::FindIter[][src]

pub struct FindIter<'h, 'n> { /* fields omitted */ }

An iterator over non-overlapping substring matches.

Matches are reported by the byte offset at which they begin.

'h is the lifetime of the haystack while 'n is the lifetime of the needle.

Trait Implementations

impl<'h, 'n> Debug for FindIter<'h, 'n>[src]

impl<'h, 'n> Iterator for FindIter<'h, 'n>[src]

type Item = usize

The type of the elements being iterated over.

Auto Trait Implementations

impl<'h, 'n> RefUnwindSafe for FindIter<'h, 'n>

impl<'h, 'n> Send for FindIter<'h, 'n>

impl<'h, 'n> Sync for FindIter<'h, 'n>

impl<'h, 'n> Unpin for FindIter<'h, 'n>

impl<'h, 'n> UnwindSafe for FindIter<'h, 'n>

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<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.