Type Alias rustpython_ast::located::Pattern
source · pub type Pattern = Pattern<SourceRange>;
Aliased Type§
enum Pattern {
MatchValue(PatternMatchValue<SourceRange>),
MatchSingleton(PatternMatchSingleton<SourceRange>),
MatchSequence(PatternMatchSequence<SourceRange>),
MatchMapping(PatternMatchMapping<SourceRange>),
MatchClass(PatternMatchClass<SourceRange>),
MatchStar(PatternMatchStar<SourceRange>),
MatchAs(PatternMatchAs<SourceRange>),
MatchOr(PatternMatchOr<SourceRange>),
}