Lines Matching defs:PatRangeBound
585 end: end.map(PatRangeBound::into_expr),
597 end: end.map(PatRangeBound::into_expr),
661 end: end.map(PatRangeBound::into_expr),
669 enum PatRangeBound {
675 impl PatRangeBound {
678 PatRangeBound::Const(pat) => Expr::Const(pat),
679 PatRangeBound::Lit(pat) => Expr::Lit(pat),
680 PatRangeBound::Path(pat) => Expr::Path(pat),
686 PatRangeBound::Const(pat) => Pat::Const(pat),
687 PatRangeBound::Lit(pat) => Pat::Lit(pat),
688 PatRangeBound::Path(pat) => Pat::Path(pat),
693 fn pat_range_bound(input: ParseStream) -> Result<Option<PatRangeBound>> {
707 PatRangeBound::Lit(input.parse()?)
716 PatRangeBound::Path(input.parse()?)
718 PatRangeBound::Const(input.parse()?)