Trait saphir::ToRegex

source ·
pub trait ToRegex {
    fn to_regex(&self) -> Result<Regex, Error>;
    fn as_str(&self) -> &str;
}
Expand description

Trait to convert string type to regular expressions

Required Methods

Implementations on Foreign Types

Implementors