Enum ra_ap_syntax::ast::Pat [−][src]
pub enum Pat {}Show variants
IdentPat(IdentPat), BoxPat(BoxPat), RestPat(RestPat), LiteralPat(LiteralPat), MacroPat(MacroPat), OrPat(OrPat), ParenPat(ParenPat), PathPat(PathPat), WildcardPat(WildcardPat), RangePat(RangePat), RecordPat(RecordPat), RefPat(RefPat), SlicePat(SlicePat), TuplePat(TuplePat), TupleStructPat(TupleStructPat), ConstBlockPat(ConstBlockPat),
Variants
IdentPat(IdentPat)
BoxPat(BoxPat)
RestPat(RestPat)
LiteralPat(LiteralPat)
MacroPat(MacroPat)
OrPat(OrPat)
ParenPat(ParenPat)
PathPat(PathPat)
WildcardPat(WildcardPat)
RangePat(RangePat)
RecordPat(RecordPat)
RefPat(RefPat)
SlicePat(SlicePat)
TuplePat(TuplePat)
TupleStructPat(TupleStructPat)
ConstBlockPat(ConstBlockPat)
Implementations
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Pat
impl !UnwindSafe for Pat
Blanket Implementations
#[must_use]fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
[src]Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.