Struct aho_corasick::FindIter[][src]

pub struct FindIter<'a, 'b, S: 'a + StateID> { /* fields omitted */ }

An iterator of non-overlapping matches in a particular haystack.

This iterator yields matches according to the MatchKind used by this automaton.

This iterator is constructed via the AhoCorasick::find_iter method.

The type variable S refers to the representation used for state identifiers. (By default, this is usize.)

The lifetime 'a refers to the lifetime of the AhoCorasick automaton.

The lifetime 'b refers to the lifetime of the haystack being searched.

Trait Implementations

impl<'a, 'b, S: Debug + 'a + StateID> Debug for FindIter<'a, 'b, S>[src]

impl<'a, 'b, S: StateID> Iterator for FindIter<'a, 'b, S>[src]

type Item = Match

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, 'b, S> RefUnwindSafe for FindIter<'a, 'b, S> where
    S: RefUnwindSafe

impl<'a, 'b, S> Send for FindIter<'a, 'b, S> where
    S: Sync

impl<'a, 'b, S> Sync for FindIter<'a, 'b, S> where
    S: Sync

impl<'a, 'b, S> Unpin for FindIter<'a, 'b, S>

impl<'a, 'b, S> UnwindSafe for FindIter<'a, 'b, S> where
    S: RefUnwindSafe

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.