[][src]Trait c2rust_refactor::matcher::TryMatch

pub trait TryMatch {
    fn try_match(&self, target: &Self, mcx: &mut MatchCtxt) -> Result<()>;
}

Required methods

fn try_match(&self, target: &Self, mcx: &mut MatchCtxt) -> Result<()>

Loading content...

Implementations on Foreign Types

impl TryMatch for Ident[src]

impl TryMatch for Label[src]

impl TryMatch for Path[src]

impl TryMatch for Expr[src]

impl TryMatch for Pat[src]

impl TryMatch for Ty[src]

impl TryMatch for Stmt[src]

impl TryMatch for Block[src]

impl<T: TryMatch> TryMatch for [T][src]

impl<T: TryMatch> TryMatch for Vec<T>[src]

impl<T: TryMatch> TryMatch for ThinVec<T>[src]

impl<T: TryMatch> TryMatch for P<T>[src]

impl<T: TryMatch> TryMatch for Rc<T>[src]

impl<T: TryMatch> TryMatch for Spanned<T>[src]

impl<T: TryMatch> TryMatch for Option<T>[src]

impl<T: TryMatch + PatternSymbol> TryMatch for Option<T>[src]

impl<T: TryMatch + PatternSymbol> TryMatch for Option<P<T>>[src]

impl<A: TryMatch, B: TryMatch> TryMatch for (A, B)[src]

impl<A: TryMatch, B: TryMatch, C: TryMatch> TryMatch for (A, B, C)[src]

impl TryMatch for Crate[src]

impl TryMatch for Mod[src]

impl TryMatch for Item[src]

impl TryMatch for ItemKind[src]

impl TryMatch for UseTreeKind[src]

impl TryMatch for UseTree[src]

impl TryMatch for TraitItem[src]

impl TryMatch for TraitItemKind[src]

impl TryMatch for ImplItem[src]

impl TryMatch for ImplItemKind[src]

impl TryMatch for TraitRef[src]

impl TryMatch for EnumDef[src]

impl TryMatch for Variant_[src]

impl TryMatch for VariantData[src]

impl TryMatch for StructField[src]

impl TryMatch for MethodSig[src]

impl TryMatch for ForeignMod[src]

impl TryMatch for ForeignItem[src]

impl TryMatch for ForeignItemKind[src]

impl TryMatch for Generics[src]

impl TryMatch for GenericParam[src]

impl TryMatch for GenericParamKind[src]

impl TryMatch for WhereClause[src]

impl TryMatch for WherePredicate[src]

impl TryMatch for WhereBoundPredicate[src]

impl TryMatch for WhereRegionPredicate[src]

impl TryMatch for WhereEqPredicate[src]

impl TryMatch for TraitBoundModifier[src]

impl TryMatch for VisibilityKind[src]

impl TryMatch for CrateSugar[src]

impl TryMatch for MutTy[src]

impl TryMatch for TyKind[src]

impl TryMatch for TraitObjectSyntax[src]

impl TryMatch for LitIntType[src]

impl TryMatch for FloatTy[src]

impl TryMatch for BareFnTy[src]

impl TryMatch for Lifetime[src]

impl TryMatch for GenericBound[src]

impl TryMatch for PolyTraitRef[src]

impl TryMatch for FnDecl[src]

impl TryMatch for FnHeader[src]

impl TryMatch for Arg[src]

impl TryMatch for FunctionRetTy[src]

impl TryMatch for TypeBinding[src]

impl TryMatch for StmtKind[src]

impl TryMatch for Local[src]

impl TryMatch for ExprKind[src]

impl TryMatch for IsAsync[src]

impl TryMatch for Movability[src]

impl TryMatch for UnOp[src]

impl TryMatch for BinOpKind[src]

impl TryMatch for Field[src]

impl TryMatch for Arm[src]

impl TryMatch for Guard[src]

impl TryMatch for PatKind[src]

impl TryMatch for FieldPat[src]

impl TryMatch for LitKind[src]

impl TryMatch for Defaultness[src]

impl TryMatch for Constness[src]

impl TryMatch for ImplPolarity[src]

impl TryMatch for IsAuto[src]

impl TryMatch for Unsafety[src]

impl TryMatch for Abi[src]

impl TryMatch for Mutability[src]

impl TryMatch for RangeEnd[src]

impl TryMatch for RangeSyntax[src]

impl TryMatch for BindingMode[src]

impl TryMatch for CaptureBy[src]

impl TryMatch for BlockCheckMode[src]

impl TryMatch for UnsafeSource[src]

impl TryMatch for StrStyle[src]

impl TryMatch for AsmDialect[src]

impl TryMatch for RangeLimits[src]

impl TryMatch for Attribute[src]

impl TryMatch for AttrStyle[src]

impl TryMatch for PathSegment[src]

impl TryMatch for GenericArgs[src]

impl TryMatch for AngleBracketedArgs[src]

impl TryMatch for ParenthesizedArgs[src]

impl TryMatch for GenericArg[src]

impl TryMatch for QSelf[src]

impl TryMatch for Mac_[src]

impl TryMatch for MacStmtStyle[src]

impl TryMatch for TokenStream[src]

impl TryMatch for MacroDef[src]

impl TryMatch for InlineAsm[src]

impl TryMatch for GlobalAsm[src]

impl TryMatch for InlineAsmOutput[src]

impl TryMatch for MacDelimiter[src]

impl TryMatch for AnonConst[src]

impl TryMatch for Name[src]

impl TryMatch for SyntaxContext[src]

impl TryMatch for Span[src]

impl TryMatch for NodeId[src]

impl TryMatch for AttrId[src]

impl TryMatch for usize[src]

impl TryMatch for bool[src]

impl TryMatch for u128[src]

impl TryMatch for u8[src]

impl TryMatch for char[src]

impl TryMatch for Nonterminal[src]

impl TryMatch for TokenTree[src]

impl TryMatch for DelimSpan[src]

impl TryMatch for DelimToken[src]

impl TryMatch for Token[src]

impl TryMatch for MetaItem[src]

impl TryMatch for MetaItemKind[src]

impl TryMatch for NestedMetaItem[src]

Loading content...

Implementors

Loading content...