Struct regex::SubCaptureMatches
pub struct SubCaptureMatches<'c, 't> { /* fields hidden */ }
Documentation
An iterator that yields all capturing matches in the order in which they appear in the regex.
If a particular capture group didn’t participate in the match, then None
is yielded for that capture. The first match always corresponds to the
overall match of the regex.
The lifetime 'c
corresponds to the lifetime of the Captures
value, and
the lifetime 't
corresponds to the originally matched text.
Trait Implementations
impl<'c, 't> Clone for SubCaptureMatches<'c, 't>
fn clone(&Self) -> SubCaptureMatches<'c, 't>
impl<'c, 't> Debug for SubCaptureMatches<'c, 't>
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl<'c, 't> FusedIterator for SubCaptureMatches<'c, 't>
Auto Trait Implementations
impl<'c, 't> RefUnwindSafe for SubCaptureMatches<'c, 't>
impl<'c, 't> Send for SubCaptureMatches<'c, 't>
impl<'c, 't> Sync for SubCaptureMatches<'c, 't>
impl<'c, 't> Unpin for SubCaptureMatches<'c, 't>
where
't: 'c,
impl<'c, 't> UnwindSafe for SubCaptureMatches<'c, 't>
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T