A set of matches returned by a regex set.
pub fn matched_any(&self) -> bool[src]
Whether this set contains any matches.
Whether the regex at the given index matched.
The index for a regex is determined by its insertion order upon the
initial construction of a
RegexSet, starting at
regex_index is greater than or equal to
The total number of regexes in the set that created these matches.
pub fn iter(&self) -> SetMatchesIter<'_>ⓘ[src]
Returns an iterator over indexes in the regex that matched.
This will always produces matches in ascending order of index, where the index corresponds to the index of the regex that matched with respect to its position when initially building the set.
impl Clone for SetMatches[src]
impl Debug for SetMatches[src]
impl IntoIterator for SetMatches[src]
type IntoIter = SetMatchesIntoIter
Which kind of iterator are we turning this into?
The type of the elements being iterated over.
impl<'a> IntoIterator for &'a SetMatches[src]
impl RefUnwindSafe for SetMatches
impl Send for SetMatches
impl Sync for SetMatches
impl Unpin for SetMatches
impl UnwindSafe for SetMatches
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.