Enum syntect::parsing::syntax_definition::Pattern [−][src]
pub enum Pattern { Match(MatchPattern), Include(ContextReference), }
Variants
Tuple Fields of Match
0: MatchPattern
Tuple Fields of Include
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl !RefUnwindSafe for Pattern
impl UnwindSafe for Pattern
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.