Struct aho_corasick::FindOverlappingIter[][src]

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

An iterator of overlapping matches in a particular haystack.

This iterator will report all possible matches in a particular haystack, even when the matches overlap.

This iterator is constructed via the AhoCorasick::find_overlapping_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 FindOverlappingIter<'a, 'b, S>[src]

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

type Item = Match

The type of the elements being iterated over.

Auto Trait Implementations

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

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

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

impl<'a, 'b, S> Unpin for FindOverlappingIter<'a, 'b, S> where
    S: Unpin

impl<'a, 'b, S> UnwindSafe for FindOverlappingIter<'a, 'b, S> where
    S: RefUnwindSafe + 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<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.