Struct regex::bytes::Matches
pub struct Matches<'r, 't>(_);
Documentation
An iterator over all non-overlapping matches for a particular string.
The iterator yields a tuple of integers corresponding to the start and end of the match. The indices are byte offsets. The iterator stops when no more matches can be found.
'r
is the lifetime of the compiled regular expression and 't
is the
lifetime of the matched byte string.
Trait Implementations
impl<'r, 't> Debug for Matches<'r, 't>
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'r, 't> FusedIterator for Matches<'r, 't>
Auto Trait Implementations
impl<'r, 't> RefUnwindSafe for Matches<'r, 't>
impl<'r, 't> UnwindSafe for Matches<'r, 't>
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T