Enum soundchange::Cond
[-] [+]
[src]
pub enum Cond<'a> { Char(char), CharOf(CharOf<'a>), Str(&'a str), StrOf(StrOf<'a>), }
Variants
Char | |
CharOf | |
Str | |
StrOf |
pub enum Cond<'a> { Char(char), CharOf(CharOf<'a>), Str(&'a str), StrOf(StrOf<'a>), }
Char | |
CharOf | |
Str | |
StrOf |
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>
impl<'a> IntoCond<'a> for Cond<'a>
fn into_pre_cond(self) -> Cond<'a>
fn into_post_cond(self) -> Cond<'a>
impl<'a> Copy for Cond<'a>
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).