Trait TypeRegex

Source
pub trait TypeRegex {
    // Required method
    fn get() -> StaticRegex;
}
Available on crate feature regex only.
Expand description

Represents type-level regular expressions.

Required Methods§

Source

fn get() -> StaticRegex

Returns the compiled regular expression.

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.

Implementors§