Enum alacritty::config::ui_config::LazyRegexVariant [−][src]
pub enum LazyRegexVariant {
Compiled(Box<RegexSearch>),
Pattern(String),
}Expand description
Regex which is compiled on demand, to avoid expensive computations at startup.
Variants
Compiled(Box<RegexSearch>)
Tuple Fields
0: Box<RegexSearch>Pattern(String)
Tuple Fields
0: StringImplementations
Get a reference to the compiled regex.
If the regex is not already compiled, this will compile the DFAs and store them for future access.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LazyRegexVariant
impl Send for LazyRegexVariant
impl Sync for LazyRegexVariant
impl Unpin for LazyRegexVariant
impl UnwindSafe for LazyRegexVariant
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.