Struct FindOverlappingIter

pub struct FindOverlappingIter<'a, 'h>(/* private field */);

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 and AhoCorasick::try_find_overlapping_iter methods.

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

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

Trait Implementations

impl<'a, 'h> Debug for FindOverlappingIter<'a, 'h>

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, 'h> Iterator for FindOverlappingIter<'a, 'h>

type Item = Match;
fn next(&mut self) -> Option<Match>

Auto Trait Implementations

impl<'a, 'h> Freeze for FindOverlappingIter<'a, 'h>

impl<'a, 'h> RefUnwindSafe for FindOverlappingIter<'a, 'h>

impl<'a, 'h> Send for FindOverlappingIter<'a, 'h>

impl<'a, 'h> Sync for FindOverlappingIter<'a, 'h>

impl<'a, 'h> Unpin for FindOverlappingIter<'a, 'h>

impl<'a, 'h> UnsafeUnpin for FindOverlappingIter<'a, 'h>

impl<'a, 'h> UnwindSafe for FindOverlappingIter<'a, 'h>

Blanket Implementations

impl<I> IntoIterator for FindOverlappingIter<'a, 'h> where I: Iterator,

impl<T> Any for FindOverlappingIter<'a, 'h> where T: 'static + ?Sized,

impl<T> Borrow<T> for FindOverlappingIter<'a, 'h> where T: ?Sized,

impl<T> BorrowMut<T> for FindOverlappingIter<'a, 'h> where T: ?Sized,

impl<T> From<T> for FindOverlappingIter<'a, 'h>

impl<T, U> Into<U> for FindOverlappingIter<'a, 'h> where U: From<T>,

impl<T, U> TryFrom<U> for FindOverlappingIter<'a, 'h> where U: Into<T>,

impl<T, U> TryInto<U> for FindOverlappingIter<'a, 'h> where U: TryFrom<T>,