pub trait RegexPattern: InnerRegexPattern {
type Match: 'static;
// Required method
fn get_match(points: [Point; 2], pattern: PatternID) -> Self::Match;
}Expand description
A regex pattern to search for
It can either be a single &str, or a list of &strs, in which
case the matched pattern will be specified.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.