Skip to main content

RegexSetExt

Trait RegexSetExt 

Source
pub trait RegexSetExt {
    // Required method
    fn patterns_for_indexes(&self, indexes: &HashSet<usize>) -> Vec<String>;
}
Expand description

A trait for getting additional information from a [RegexSet].

Required Methods§

Source

fn patterns_for_indexes(&self, indexes: &HashSet<usize>) -> Vec<String>

Returns the regex patterns for the supplied indexes.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RegexSetExt for RegexSet

Implementors§