[][src]Trait saphir::ToRegex

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

Trait to convert string type to regular expressions

Required methods

Loading content...

Implementations on Foreign Types

impl<'a> ToRegex for &'a str
[src]

impl ToRegex for String
[src]

impl ToRegex for Regex
[src]

Loading content...

Implementors

Loading content...