Skip to main content

TypeRegex

Trait TypeRegex 

Source
pub trait TypeRegex {
    // Required method
    fn get() -> StaticRegex;
}
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".

Implementors§