Enum route_recognizer::nfa::CharacterClass [] [src]

pub enum CharacterClass {
    Ascii(u64, u64, bool),
    ValidChars(CharSet),
    InvalidChars(CharSet),
}

Variants

Ascii
ValidChars
InvalidChars

Methods

impl CharacterClass

fn any() -> CharacterClass

fn valid(string: &str) -> CharacterClass

fn invalid(string: &str) -> CharacterClass

fn valid_char(char: char) -> CharacterClass

fn invalid_char(char: char) -> CharacterClass

fn matches(&self, char: char) -> bool

Trait Implementations

Derived Implementations

impl Clone for CharacterClass

fn clone(&self) -> CharacterClass

fn clone_from(&mut self, source: &Self)

impl Eq for CharacterClass

impl PartialEq for CharacterClass

fn eq(&self, __arg_0: &CharacterClass) -> bool

fn ne(&self, __arg_0: &CharacterClass) -> bool