Skip to main content

PatternConfig

Trait PatternConfig 

Source
pub trait PatternConfig {
    const CASE_INSENSITIVE: bool = false;
    const MAX_COMPLEXITY: u64 = u64::MAX;
}
Expand description

Compile time configuration for a TypedPattern.

Provided Associated Constants§

Source

const CASE_INSENSITIVE: bool = false

Configures the pattern to match case insensitive.

Source

const MAX_COMPLEXITY: u64 = u64::MAX

Configures the maximum allowed complexity of the pattern.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§