Enum soundchange::Cond [-] [+] [src]

pub enum Cond<'a> {
    Char(char),
    CharOf(CharOf<'a>),
    Str(&'a str),
    StrOf(StrOf<'a>),
}

Variants

Char
CharOf
Str
StrOf

Methods

impl<'a> Cond<'a>

fn check_and_narrow_prefix<'b>(&self, s: &'b str) -> Option<&'b str>

fn check_and_narrow_postfix<'b>(&self, s: &'b str) -> Option<&'b str>

Trait Implementations

impl<'a> IntoCond<'a> for Cond<'a>

fn into_pre_cond(self) -> Cond<'a>

fn into_post_cond(self) -> Cond<'a>

Derived Implementations

impl<'a> Copy for Cond<'a>