Struct FindIter
pub struct FindIter<'s, 'h> { /* private fields */ }
An iterator over non-overlapping matches from a packed searcher.
The lifetime 's refers to the lifetime of the underlying Searcher,
while the lifetime 'h refers to the lifetime of the haystack being
searched.
Trait Implementations
impl<'s, 'h> Debug for FindIter<'s, 'h>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'s, 'h> Iterator for FindIter<'s, 'h>
type Item = Match;fn next(&mut self) -> Option<Match>
Auto Trait Implementations
impl<'s, 'h> Freeze for FindIter<'s, 'h>
impl<'s, 'h> RefUnwindSafe for FindIter<'s, 'h>
impl<'s, 'h> Send for FindIter<'s, 'h>
impl<'s, 'h> Sync for FindIter<'s, 'h>
impl<'s, 'h> Unpin for FindIter<'s, 'h>
impl<'s, 'h> UnsafeUnpin for FindIter<'s, 'h>
impl<'s, 'h> UnwindSafe for FindIter<'s, 'h>
Blanket Implementations
impl<I> IntoIterator for FindIter<'s, 'h>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for FindIter<'s, 'h>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for FindIter<'s, 'h>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for FindIter<'s, 'h>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for FindIter<'s, 'h>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for FindIter<'s, 'h>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for FindIter<'s, 'h>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for FindIter<'s, 'h>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>