Enum syntect::parsing::syntax_definition::Pattern [−][src]
pub enum Pattern {
Match(MatchPattern),
Include(ContextReference),
}
Variants
Match(MatchPattern)
Tuple Fields
0: MatchPattern
Include(ContextReference)
Tuple Fields
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.