Skip to main content

StrPattern

Trait StrPattern 

Source
pub trait StrPattern {
    // Required methods
    fn matches_input(&self, input: &str) -> bool;
    fn describe_pattern(&self) -> String;
}

Required Methods§

Source

fn matches_input(&self, input: &str) -> bool

Source

fn describe_pattern(&self) -> String

Implementations on Foreign Types§

Source§

impl StrPattern for &str

Source§

impl StrPattern for String

Source§

impl StrPattern for Regex

Implementors§