syn::visit

Trait Visit

Source
pub trait Visit<'ast> {
Show 187 methods // Provided methods fn visit_abi(&mut self, i: &'ast Abi) { ... } fn visit_angle_bracketed_generic_arguments( &mut self, i: &'ast AngleBracketedGenericArguments, ) { ... } fn visit_arm(&mut self, i: &'ast Arm) { ... } fn visit_assoc_const(&mut self, i: &'ast AssocConst) { ... } fn visit_assoc_type(&mut self, i: &'ast AssocType) { ... } fn visit_attr_style(&mut self, i: &'ast AttrStyle) { ... } fn visit_attribute(&mut self, i: &'ast Attribute) { ... } fn visit_bare_fn_arg(&mut self, i: &'ast BareFnArg) { ... } fn visit_bare_variadic(&mut self, i: &'ast BareVariadic) { ... } fn visit_bin_op(&mut self, i: &'ast BinOp) { ... } fn visit_block(&mut self, i: &'ast Block) { ... } fn visit_bound_lifetimes(&mut self, i: &'ast BoundLifetimes) { ... } fn visit_captured_param(&mut self, i: &'ast CapturedParam) { ... } fn visit_const_param(&mut self, i: &'ast ConstParam) { ... } fn visit_constraint(&mut self, i: &'ast Constraint) { ... } fn visit_data(&mut self, i: &'ast Data) { ... } fn visit_data_enum(&mut self, i: &'ast DataEnum) { ... } fn visit_data_struct(&mut self, i: &'ast DataStruct) { ... } fn visit_data_union(&mut self, i: &'ast DataUnion) { ... } fn visit_derive_input(&mut self, i: &'ast DeriveInput) { ... } fn visit_expr(&mut self, i: &'ast Expr) { ... } fn visit_expr_array(&mut self, i: &'ast ExprArray) { ... } fn visit_expr_assign(&mut self, i: &'ast ExprAssign) { ... } fn visit_expr_async(&mut self, i: &'ast ExprAsync) { ... } fn visit_expr_await(&mut self, i: &'ast ExprAwait) { ... } fn visit_expr_binary(&mut self, i: &'ast ExprBinary) { ... } fn visit_expr_block(&mut self, i: &'ast ExprBlock) { ... } fn visit_expr_break(&mut self, i: &'ast ExprBreak) { ... } fn visit_expr_call(&mut self, i: &'ast ExprCall) { ... } fn visit_expr_cast(&mut self, i: &'ast ExprCast) { ... } fn visit_expr_closure(&mut self, i: &'ast ExprClosure) { ... } fn visit_expr_const(&mut self, i: &'ast ExprConst) { ... } fn visit_expr_continue(&mut self, i: &'ast ExprContinue) { ... } fn visit_expr_field(&mut self, i: &'ast ExprField) { ... } fn visit_expr_for_loop(&mut self, i: &'ast ExprForLoop) { ... } fn visit_expr_group(&mut self, i: &'ast ExprGroup) { ... } fn visit_expr_if(&mut self, i: &'ast ExprIf) { ... } fn visit_expr_index(&mut self, i: &'ast ExprIndex) { ... } fn visit_expr_infer(&mut self, i: &'ast ExprInfer) { ... } fn visit_expr_let(&mut self, i: &'ast ExprLet) { ... } fn visit_expr_lit(&mut self, i: &'ast ExprLit) { ... } fn visit_expr_loop(&mut self, i: &'ast ExprLoop) { ... } fn visit_expr_macro(&mut self, i: &'ast ExprMacro) { ... } fn visit_expr_match(&mut self, i: &'ast ExprMatch) { ... } fn visit_expr_method_call(&mut self, i: &'ast ExprMethodCall) { ... } fn visit_expr_paren(&mut self, i: &'ast ExprParen) { ... } fn visit_expr_path(&mut self, i: &'ast ExprPath) { ... } fn visit_expr_range(&mut self, i: &'ast ExprRange) { ... } fn visit_expr_raw_addr(&mut self, i: &'ast ExprRawAddr) { ... } fn visit_expr_reference(&mut self, i: &'ast ExprReference) { ... } fn visit_expr_repeat(&mut self, i: &'ast ExprRepeat) { ... } fn visit_expr_return(&mut self, i: &'ast ExprReturn) { ... } fn visit_expr_struct(&mut self, i: &'ast ExprStruct) { ... } fn visit_expr_try(&mut self, i: &'ast ExprTry) { ... } fn visit_expr_try_block(&mut self, i: &'ast ExprTryBlock) { ... } fn visit_expr_tuple(&mut self, i: &'ast ExprTuple) { ... } fn visit_expr_unary(&mut self, i: &'ast ExprUnary) { ... } fn visit_expr_unsafe(&mut self, i: &'ast ExprUnsafe) { ... } fn visit_expr_while(&mut self, i: &'ast ExprWhile) { ... } fn visit_expr_yield(&mut self, i: &'ast ExprYield) { ... } fn visit_field(&mut self, i: &'ast Field) { ... } fn visit_field_mutability(&mut self, i: &'ast FieldMutability) { ... } fn visit_field_pat(&mut self, i: &'ast FieldPat) { ... } fn visit_field_value(&mut self, i: &'ast FieldValue) { ... } fn visit_fields(&mut self, i: &'ast Fields) { ... } fn visit_fields_named(&mut self, i: &'ast FieldsNamed) { ... } fn visit_fields_unnamed(&mut self, i: &'ast FieldsUnnamed) { ... } fn visit_file(&mut self, i: &'ast File) { ... } fn visit_fn_arg(&mut self, i: &'ast FnArg) { ... } fn visit_foreign_item(&mut self, i: &'ast ForeignItem) { ... } fn visit_foreign_item_fn(&mut self, i: &'ast ForeignItemFn) { ... } fn visit_foreign_item_macro(&mut self, i: &'ast ForeignItemMacro) { ... } fn visit_foreign_item_static(&mut self, i: &'ast ForeignItemStatic) { ... } fn visit_foreign_item_type(&mut self, i: &'ast ForeignItemType) { ... } fn visit_generic_argument(&mut self, i: &'ast GenericArgument) { ... } fn visit_generic_param(&mut self, i: &'ast GenericParam) { ... } fn visit_generics(&mut self, i: &'ast Generics) { ... } fn visit_ident(&mut self, i: &'ast Ident) { ... } fn visit_impl_item(&mut self, i: &'ast ImplItem) { ... } fn visit_impl_item_const(&mut self, i: &'ast ImplItemConst) { ... } fn visit_impl_item_fn(&mut self, i: &'ast ImplItemFn) { ... } fn visit_impl_item_macro(&mut self, i: &'ast ImplItemMacro) { ... } fn visit_impl_item_type(&mut self, i: &'ast ImplItemType) { ... } fn visit_impl_restriction(&mut self, i: &'ast ImplRestriction) { ... } fn visit_index(&mut self, i: &'ast Index) { ... } fn visit_item(&mut self, i: &'ast Item) { ... } fn visit_item_const(&mut self, i: &'ast ItemConst) { ... } fn visit_item_enum(&mut self, i: &'ast ItemEnum) { ... } fn visit_item_extern_crate(&mut self, i: &'ast ItemExternCrate) { ... } fn visit_item_fn(&mut self, i: &'ast ItemFn) { ... } fn visit_item_foreign_mod(&mut self, i: &'ast ItemForeignMod) { ... } fn visit_item_impl(&mut self, i: &'ast ItemImpl) { ... } fn visit_item_macro(&mut self, i: &'ast ItemMacro) { ... } fn visit_item_mod(&mut self, i: &'ast ItemMod) { ... } fn visit_item_static(&mut self, i: &'ast ItemStatic) { ... } fn visit_item_struct(&mut self, i: &'ast ItemStruct) { ... } fn visit_item_trait(&mut self, i: &'ast ItemTrait) { ... } fn visit_item_trait_alias(&mut self, i: &'ast ItemTraitAlias) { ... } fn visit_item_type(&mut self, i: &'ast ItemType) { ... } fn visit_item_union(&mut self, i: &'ast ItemUnion) { ... } fn visit_item_use(&mut self, i: &'ast ItemUse) { ... } fn visit_label(&mut self, i: &'ast Label) { ... } fn visit_lifetime(&mut self, i: &'ast Lifetime) { ... } fn visit_lifetime_param(&mut self, i: &'ast LifetimeParam) { ... } fn visit_lit(&mut self, i: &'ast Lit) { ... } fn visit_lit_bool(&mut self, i: &'ast LitBool) { ... } fn visit_lit_byte(&mut self, i: &'ast LitByte) { ... } fn visit_lit_byte_str(&mut self, i: &'ast LitByteStr) { ... } fn visit_lit_cstr(&mut self, i: &'ast LitCStr) { ... } fn visit_lit_char(&mut self, i: &'ast LitChar) { ... } fn visit_lit_float(&mut self, i: &'ast LitFloat) { ... } fn visit_lit_int(&mut self, i: &'ast LitInt) { ... } fn visit_lit_str(&mut self, i: &'ast LitStr) { ... } fn visit_local(&mut self, i: &'ast Local) { ... } fn visit_local_init(&mut self, i: &'ast LocalInit) { ... } fn visit_macro(&mut self, i: &'ast Macro) { ... } fn visit_macro_delimiter(&mut self, i: &'ast MacroDelimiter) { ... } fn visit_member(&mut self, i: &'ast Member) { ... } fn visit_meta(&mut self, i: &'ast Meta) { ... } fn visit_meta_list(&mut self, i: &'ast MetaList) { ... } fn visit_meta_name_value(&mut self, i: &'ast MetaNameValue) { ... } fn visit_parenthesized_generic_arguments( &mut self, i: &'ast ParenthesizedGenericArguments, ) { ... } fn visit_pat(&mut self, i: &'ast Pat) { ... } fn visit_pat_ident(&mut self, i: &'ast PatIdent) { ... } fn visit_pat_or(&mut self, i: &'ast PatOr) { ... } fn visit_pat_paren(&mut self, i: &'ast PatParen) { ... } fn visit_pat_reference(&mut self, i: &'ast PatReference) { ... } fn visit_pat_rest(&mut self, i: &'ast PatRest) { ... } fn visit_pat_slice(&mut self, i: &'ast PatSlice) { ... } fn visit_pat_struct(&mut self, i: &'ast PatStruct) { ... } fn visit_pat_tuple(&mut self, i: &'ast PatTuple) { ... } fn visit_pat_tuple_struct(&mut self, i: &'ast PatTupleStruct) { ... } fn visit_pat_type(&mut self, i: &'ast PatType) { ... } fn visit_pat_wild(&mut self, i: &'ast PatWild) { ... } fn visit_path(&mut self, i: &'ast Path) { ... } fn visit_path_arguments(&mut self, i: &'ast PathArguments) { ... } fn visit_path_segment(&mut self, i: &'ast PathSegment) { ... } fn visit_pointer_mutability(&mut self, i: &'ast PointerMutability) { ... } fn visit_precise_capture(&mut self, i: &'ast PreciseCapture) { ... } fn visit_predicate_lifetime(&mut self, i: &'ast PredicateLifetime) { ... } fn visit_predicate_type(&mut self, i: &'ast PredicateType) { ... } fn visit_qself(&mut self, i: &'ast QSelf) { ... } fn visit_range_limits(&mut self, i: &'ast RangeLimits) { ... } fn visit_receiver(&mut self, i: &'ast Receiver) { ... } fn visit_return_type(&mut self, i: &'ast ReturnType) { ... } fn visit_signature(&mut self, i: &'ast Signature) { ... } fn visit_span(&mut self, i: &Span) { ... } fn visit_static_mutability(&mut self, i: &'ast StaticMutability) { ... } fn visit_stmt(&mut self, i: &'ast Stmt) { ... } fn visit_stmt_macro(&mut self, i: &'ast StmtMacro) { ... } fn visit_trait_bound(&mut self, i: &'ast TraitBound) { ... } fn visit_trait_bound_modifier(&mut self, i: &'ast TraitBoundModifier) { ... } fn visit_trait_item(&mut self, i: &'ast TraitItem) { ... } fn visit_trait_item_const(&mut self, i: &'ast TraitItemConst) { ... } fn visit_trait_item_fn(&mut self, i: &'ast TraitItemFn) { ... } fn visit_trait_item_macro(&mut self, i: &'ast TraitItemMacro) { ... } fn visit_trait_item_type(&mut self, i: &'ast TraitItemType) { ... } fn visit_type(&mut self, i: &'ast Type) { ... } fn visit_type_array(&mut self, i: &'ast TypeArray) { ... } fn visit_type_bare_fn(&mut self, i: &'ast TypeBareFn) { ... } fn visit_type_group(&mut self, i: &'ast TypeGroup) { ... } fn visit_type_impl_trait(&mut self, i: &'ast TypeImplTrait) { ... } fn visit_type_infer(&mut self, i: &'ast TypeInfer) { ... } fn visit_type_macro(&mut self, i: &'ast TypeMacro) { ... } fn visit_type_never(&mut self, i: &'ast TypeNever) { ... } fn visit_type_param(&mut self, i: &'ast TypeParam) { ... } fn visit_type_param_bound(&mut self, i: &'ast TypeParamBound) { ... } fn visit_type_paren(&mut self, i: &'ast TypeParen) { ... } fn visit_type_path(&mut self, i: &'ast TypePath) { ... } fn visit_type_ptr(&mut self, i: &'ast TypePtr) { ... } fn visit_type_reference(&mut self, i: &'ast TypeReference) { ... } fn visit_type_slice(&mut self, i: &'ast TypeSlice) { ... } fn visit_type_trait_object(&mut self, i: &'ast TypeTraitObject) { ... } fn visit_type_tuple(&mut self, i: &'ast TypeTuple) { ... } fn visit_un_op(&mut self, i: &'ast UnOp) { ... } fn visit_use_glob(&mut self, i: &'ast UseGlob) { ... } fn visit_use_group(&mut self, i: &'ast UseGroup) { ... } fn visit_use_name(&mut self, i: &'ast UseName) { ... } fn visit_use_path(&mut self, i: &'ast UsePath) { ... } fn visit_use_rename(&mut self, i: &'ast UseRename) { ... } fn visit_use_tree(&mut self, i: &'ast UseTree) { ... } fn visit_variadic(&mut self, i: &'ast Variadic) { ... } fn visit_variant(&mut self, i: &'ast Variant) { ... } fn visit_vis_restricted(&mut self, i: &'ast VisRestricted) { ... } fn visit_visibility(&mut self, i: &'ast Visibility) { ... } fn visit_where_clause(&mut self, i: &'ast WhereClause) { ... } fn visit_where_predicate(&mut self, i: &'ast WherePredicate) { ... }
}
Available on crate feature visit only.
Expand description

Syntax tree traversal to walk a shared borrow of a syntax tree.

See the module documentation for details.

Provided Methods§

Source

fn visit_abi(&mut self, i: &'ast Abi)

Available on crate features derive or full only.
Source

fn visit_angle_bracketed_generic_arguments( &mut self, i: &'ast AngleBracketedGenericArguments, )

Available on crate features derive or full only.
Source

fn visit_arm(&mut self, i: &'ast Arm)

Available on crate feature full only.
Source

fn visit_assoc_const(&mut self, i: &'ast AssocConst)

Available on crate features derive or full only.
Source

fn visit_assoc_type(&mut self, i: &'ast AssocType)

Available on crate features derive or full only.
Source

fn visit_attr_style(&mut self, i: &'ast AttrStyle)

Available on crate features derive or full only.
Source

fn visit_attribute(&mut self, i: &'ast Attribute)

Available on crate features derive or full only.
Source

fn visit_bare_fn_arg(&mut self, i: &'ast BareFnArg)

Available on crate features derive or full only.
Source

fn visit_bare_variadic(&mut self, i: &'ast BareVariadic)

Available on crate features derive or full only.
Source

fn visit_bin_op(&mut self, i: &'ast BinOp)

Available on crate features derive or full only.
Source

fn visit_block(&mut self, i: &'ast Block)

Available on crate feature full only.
Source

fn visit_bound_lifetimes(&mut self, i: &'ast BoundLifetimes)

Available on crate features derive or full only.
Source

fn visit_captured_param(&mut self, i: &'ast CapturedParam)

Available on crate feature full only.
Source

fn visit_const_param(&mut self, i: &'ast ConstParam)

Available on crate features derive or full only.
Source

fn visit_constraint(&mut self, i: &'ast Constraint)

Available on crate features derive or full only.
Source

fn visit_data(&mut self, i: &'ast Data)

Available on crate feature derive only.
Source

fn visit_data_enum(&mut self, i: &'ast DataEnum)

Available on crate feature derive only.
Source

fn visit_data_struct(&mut self, i: &'ast DataStruct)

Available on crate feature derive only.
Source

fn visit_data_union(&mut self, i: &'ast DataUnion)

Available on crate feature derive only.
Source

fn visit_derive_input(&mut self, i: &'ast DeriveInput)

Available on crate feature derive only.
Source

fn visit_expr(&mut self, i: &'ast Expr)

Available on crate features derive or full only.
Source

fn visit_expr_array(&mut self, i: &'ast ExprArray)

Available on crate feature full only.
Source

fn visit_expr_assign(&mut self, i: &'ast ExprAssign)

Available on crate feature full only.
Source

fn visit_expr_async(&mut self, i: &'ast ExprAsync)

Available on crate feature full only.
Source

fn visit_expr_await(&mut self, i: &'ast ExprAwait)

Available on crate feature full only.
Source

fn visit_expr_binary(&mut self, i: &'ast ExprBinary)

Available on crate features derive or full only.
Source

fn visit_expr_block(&mut self, i: &'ast ExprBlock)

Available on crate feature full only.
Source

fn visit_expr_break(&mut self, i: &'ast ExprBreak)

Available on crate feature full only.
Source

fn visit_expr_call(&mut self, i: &'ast ExprCall)

Available on crate features derive or full only.
Source

fn visit_expr_cast(&mut self, i: &'ast ExprCast)

Available on crate features derive or full only.
Source

fn visit_expr_closure(&mut self, i: &'ast ExprClosure)

Available on crate feature full only.
Source

fn visit_expr_const(&mut self, i: &'ast ExprConst)

Available on crate feature full only.
Source

fn visit_expr_continue(&mut self, i: &'ast ExprContinue)

Available on crate feature full only.
Source

fn visit_expr_field(&mut self, i: &'ast ExprField)

Available on crate features derive or full only.
Source

fn visit_expr_for_loop(&mut self, i: &'ast ExprForLoop)

Available on crate feature full only.
Source

fn visit_expr_group(&mut self, i: &'ast ExprGroup)

Available on crate features derive or full only.
Source

fn visit_expr_if(&mut self, i: &'ast ExprIf)

Available on crate feature full only.
Source

fn visit_expr_index(&mut self, i: &'ast ExprIndex)

Available on crate features derive or full only.
Source

fn visit_expr_infer(&mut self, i: &'ast ExprInfer)

Available on crate feature full only.
Source

fn visit_expr_let(&mut self, i: &'ast ExprLet)

Available on crate feature full only.
Source

fn visit_expr_lit(&mut self, i: &'ast ExprLit)

Available on crate features derive or full only.
Source

fn visit_expr_loop(&mut self, i: &'ast ExprLoop)

Available on crate feature full only.
Source

fn visit_expr_macro(&mut self, i: &'ast ExprMacro)

Available on crate features derive or full only.
Source

fn visit_expr_match(&mut self, i: &'ast ExprMatch)

Available on crate feature full only.
Source

fn visit_expr_method_call(&mut self, i: &'ast ExprMethodCall)

Available on crate features derive or full only.
Source

fn visit_expr_paren(&mut self, i: &'ast ExprParen)

Available on crate features derive or full only.
Source

fn visit_expr_path(&mut self, i: &'ast ExprPath)

Available on crate features derive or full only.
Source

fn visit_expr_range(&mut self, i: &'ast ExprRange)

Available on crate feature full only.
Source

fn visit_expr_raw_addr(&mut self, i: &'ast ExprRawAddr)

Available on crate feature full only.
Source

fn visit_expr_reference(&mut self, i: &'ast ExprReference)

Available on crate features derive or full only.
Source

fn visit_expr_repeat(&mut self, i: &'ast ExprRepeat)

Available on crate feature full only.
Source

fn visit_expr_return(&mut self, i: &'ast ExprReturn)

Available on crate feature full only.
Source

fn visit_expr_struct(&mut self, i: &'ast ExprStruct)

Available on crate features derive or full only.
Source

fn visit_expr_try(&mut self, i: &'ast ExprTry)

Available on crate feature full only.
Source

fn visit_expr_try_block(&mut self, i: &'ast ExprTryBlock)

Available on crate feature full only.
Source

fn visit_expr_tuple(&mut self, i: &'ast ExprTuple)

Available on crate features derive or full only.
Source

fn visit_expr_unary(&mut self, i: &'ast ExprUnary)

Available on crate features derive or full only.
Source

fn visit_expr_unsafe(&mut self, i: &'ast ExprUnsafe)

Available on crate feature full only.
Source

fn visit_expr_while(&mut self, i: &'ast ExprWhile)

Available on crate feature full only.
Source

fn visit_expr_yield(&mut self, i: &'ast ExprYield)

Available on crate feature full only.
Source

fn visit_field(&mut self, i: &'ast Field)

Available on crate features derive or full only.
Source

fn visit_field_mutability(&mut self, i: &'ast FieldMutability)

Available on crate features derive or full only.
Source

fn visit_field_pat(&mut self, i: &'ast FieldPat)

Available on crate feature full only.
Source

fn visit_field_value(&mut self, i: &'ast FieldValue)

Available on crate features derive or full only.
Source

fn visit_fields(&mut self, i: &'ast Fields)

Available on crate features derive or full only.
Source

fn visit_fields_named(&mut self, i: &'ast FieldsNamed)

Available on crate features derive or full only.
Source

fn visit_fields_unnamed(&mut self, i: &'ast FieldsUnnamed)

Available on crate features derive or full only.
Source

fn visit_file(&mut self, i: &'ast File)

Available on crate feature full only.
Source

fn visit_fn_arg(&mut self, i: &'ast FnArg)

Available on crate feature full only.
Source

fn visit_foreign_item(&mut self, i: &'ast ForeignItem)

Available on crate feature full only.
Source

fn visit_foreign_item_fn(&mut self, i: &'ast ForeignItemFn)

Available on crate feature full only.
Source

fn visit_foreign_item_macro(&mut self, i: &'ast ForeignItemMacro)

Available on crate feature full only.
Source

fn visit_foreign_item_static(&mut self, i: &'ast ForeignItemStatic)

Available on crate feature full only.
Source

fn visit_foreign_item_type(&mut self, i: &'ast ForeignItemType)

Available on crate feature full only.
Source

fn visit_generic_argument(&mut self, i: &'ast GenericArgument)

Available on crate features derive or full only.
Source

fn visit_generic_param(&mut self, i: &'ast GenericParam)

Available on crate features derive or full only.
Source

fn visit_generics(&mut self, i: &'ast Generics)

Available on crate features derive or full only.
Source

fn visit_ident(&mut self, i: &'ast Ident)

Source

fn visit_impl_item(&mut self, i: &'ast ImplItem)

Available on crate feature full only.
Source

fn visit_impl_item_const(&mut self, i: &'ast ImplItemConst)

Available on crate feature full only.
Source

fn visit_impl_item_fn(&mut self, i: &'ast ImplItemFn)

Available on crate feature full only.
Source

fn visit_impl_item_macro(&mut self, i: &'ast ImplItemMacro)

Available on crate feature full only.
Source

fn visit_impl_item_type(&mut self, i: &'ast ImplItemType)

Available on crate feature full only.
Source

fn visit_impl_restriction(&mut self, i: &'ast ImplRestriction)

Available on crate feature full only.
Source

fn visit_index(&mut self, i: &'ast Index)

Available on crate features derive or full only.
Source

fn visit_item(&mut self, i: &'ast Item)

Available on crate feature full only.
Source

fn visit_item_const(&mut self, i: &'ast ItemConst)

Available on crate feature full only.
Source

fn visit_item_enum(&mut self, i: &'ast ItemEnum)

Available on crate feature full only.
Source

fn visit_item_extern_crate(&mut self, i: &'ast ItemExternCrate)

Available on crate feature full only.
Source

fn visit_item_fn(&mut self, i: &'ast ItemFn)

Available on crate feature full only.
Source

fn visit_item_foreign_mod(&mut self, i: &'ast ItemForeignMod)

Available on crate feature full only.
Source

fn visit_item_impl(&mut self, i: &'ast ItemImpl)

Available on crate feature full only.
Source

fn visit_item_macro(&mut self, i: &'ast ItemMacro)

Available on crate feature full only.
Source

fn visit_item_mod(&mut self, i: &'ast ItemMod)

Available on crate feature full only.
Source

fn visit_item_static(&mut self, i: &'ast ItemStatic)

Available on crate feature full only.
Source

fn visit_item_struct(&mut self, i: &'ast ItemStruct)

Available on crate feature full only.
Source

fn visit_item_trait(&mut self, i: &'ast ItemTrait)

Available on crate feature full only.
Source

fn visit_item_trait_alias(&mut self, i: &'ast ItemTraitAlias)

Available on crate feature full only.
Source

fn visit_item_type(&mut self, i: &'ast ItemType)

Available on crate feature full only.
Source

fn visit_item_union(&mut self, i: &'ast ItemUnion)

Available on crate feature full only.
Source

fn visit_item_use(&mut self, i: &'ast ItemUse)

Available on crate feature full only.
Source

fn visit_label(&mut self, i: &'ast Label)

Available on crate feature full only.
Source

fn visit_lifetime(&mut self, i: &'ast Lifetime)

Source

fn visit_lifetime_param(&mut self, i: &'ast LifetimeParam)

Available on crate features derive or full only.
Source

fn visit_lit(&mut self, i: &'ast Lit)

Source

fn visit_lit_bool(&mut self, i: &'ast LitBool)

Source

fn visit_lit_byte(&mut self, i: &'ast LitByte)

Source

fn visit_lit_byte_str(&mut self, i: &'ast LitByteStr)

Source

fn visit_lit_cstr(&mut self, i: &'ast LitCStr)

Source

fn visit_lit_char(&mut self, i: &'ast LitChar)

Source

fn visit_lit_float(&mut self, i: &'ast LitFloat)

Source

fn visit_lit_int(&mut self, i: &'ast LitInt)

Source

fn visit_lit_str(&mut self, i: &'ast LitStr)

Source

fn visit_local(&mut self, i: &'ast Local)

Available on crate feature full only.
Source

fn visit_local_init(&mut self, i: &'ast LocalInit)

Available on crate feature full only.
Source

fn visit_macro(&mut self, i: &'ast Macro)

Available on crate features derive or full only.
Source

fn visit_macro_delimiter(&mut self, i: &'ast MacroDelimiter)

Available on crate features derive or full only.
Source

fn visit_member(&mut self, i: &'ast Member)

Available on crate features derive or full only.
Source

fn visit_meta(&mut self, i: &'ast Meta)

Available on crate features derive or full only.
Source

fn visit_meta_list(&mut self, i: &'ast MetaList)

Available on crate features derive or full only.
Source

fn visit_meta_name_value(&mut self, i: &'ast MetaNameValue)

Available on crate features derive or full only.
Source

fn visit_parenthesized_generic_arguments( &mut self, i: &'ast ParenthesizedGenericArguments, )

Available on crate features derive or full only.
Source

fn visit_pat(&mut self, i: &'ast Pat)

Available on crate feature full only.
Source

fn visit_pat_ident(&mut self, i: &'ast PatIdent)

Available on crate feature full only.
Source

fn visit_pat_or(&mut self, i: &'ast PatOr)

Available on crate feature full only.
Source

fn visit_pat_paren(&mut self, i: &'ast PatParen)

Available on crate feature full only.
Source

fn visit_pat_reference(&mut self, i: &'ast PatReference)

Available on crate feature full only.
Source

fn visit_pat_rest(&mut self, i: &'ast PatRest)

Available on crate feature full only.
Source

fn visit_pat_slice(&mut self, i: &'ast PatSlice)

Available on crate feature full only.
Source

fn visit_pat_struct(&mut self, i: &'ast PatStruct)

Available on crate feature full only.
Source

fn visit_pat_tuple(&mut self, i: &'ast PatTuple)

Available on crate feature full only.
Source

fn visit_pat_tuple_struct(&mut self, i: &'ast PatTupleStruct)

Available on crate feature full only.
Source

fn visit_pat_type(&mut self, i: &'ast PatType)

Available on crate feature full only.
Source

fn visit_pat_wild(&mut self, i: &'ast PatWild)

Available on crate feature full only.
Source

fn visit_path(&mut self, i: &'ast Path)

Available on crate features derive or full only.
Source

fn visit_path_arguments(&mut self, i: &'ast PathArguments)

Available on crate features derive or full only.
Source

fn visit_path_segment(&mut self, i: &'ast PathSegment)

Available on crate features derive or full only.
Source

fn visit_pointer_mutability(&mut self, i: &'ast PointerMutability)

Available on crate feature full only.
Source

fn visit_precise_capture(&mut self, i: &'ast PreciseCapture)

Available on crate feature full only.
Source

fn visit_predicate_lifetime(&mut self, i: &'ast PredicateLifetime)

Available on crate features derive or full only.
Source

fn visit_predicate_type(&mut self, i: &'ast PredicateType)

Available on crate features derive or full only.
Source

fn visit_qself(&mut self, i: &'ast QSelf)

Available on crate features derive or full only.
Source

fn visit_range_limits(&mut self, i: &'ast RangeLimits)

Available on crate feature full only.
Source

fn visit_receiver(&mut self, i: &'ast Receiver)

Available on crate feature full only.
Source

fn visit_return_type(&mut self, i: &'ast ReturnType)

Available on crate features derive or full only.
Source

fn visit_signature(&mut self, i: &'ast Signature)

Available on crate feature full only.
Source

fn visit_span(&mut self, i: &Span)

Source

fn visit_static_mutability(&mut self, i: &'ast StaticMutability)

Available on crate feature full only.
Source

fn visit_stmt(&mut self, i: &'ast Stmt)

Available on crate feature full only.
Source

fn visit_stmt_macro(&mut self, i: &'ast StmtMacro)

Available on crate feature full only.
Source

fn visit_trait_bound(&mut self, i: &'ast TraitBound)

Available on crate features derive or full only.
Source

fn visit_trait_bound_modifier(&mut self, i: &'ast TraitBoundModifier)

Available on crate features derive or full only.
Source

fn visit_trait_item(&mut self, i: &'ast TraitItem)

Available on crate feature full only.
Source

fn visit_trait_item_const(&mut self, i: &'ast TraitItemConst)

Available on crate feature full only.
Source

fn visit_trait_item_fn(&mut self, i: &'ast TraitItemFn)

Available on crate feature full only.
Source

fn visit_trait_item_macro(&mut self, i: &'ast TraitItemMacro)

Available on crate feature full only.
Source

fn visit_trait_item_type(&mut self, i: &'ast TraitItemType)

Available on crate feature full only.
Source

fn visit_type(&mut self, i: &'ast Type)

Available on crate features derive or full only.
Source

fn visit_type_array(&mut self, i: &'ast TypeArray)

Available on crate features derive or full only.
Source

fn visit_type_bare_fn(&mut self, i: &'ast TypeBareFn)

Available on crate features derive or full only.
Source

fn visit_type_group(&mut self, i: &'ast TypeGroup)

Available on crate features derive or full only.
Source

fn visit_type_impl_trait(&mut self, i: &'ast TypeImplTrait)

Available on crate features derive or full only.
Source

fn visit_type_infer(&mut self, i: &'ast TypeInfer)

Available on crate features derive or full only.
Source

fn visit_type_macro(&mut self, i: &'ast TypeMacro)

Available on crate features derive or full only.
Source

fn visit_type_never(&mut self, i: &'ast TypeNever)

Available on crate features derive or full only.
Source

fn visit_type_param(&mut self, i: &'ast TypeParam)

Available on crate features derive or full only.
Source

fn visit_type_param_bound(&mut self, i: &'ast TypeParamBound)

Available on crate features derive or full only.
Source

fn visit_type_paren(&mut self, i: &'ast TypeParen)

Available on crate features derive or full only.
Source

fn visit_type_path(&mut self, i: &'ast TypePath)

Available on crate features derive or full only.
Source

fn visit_type_ptr(&mut self, i: &'ast TypePtr)

Available on crate features derive or full only.
Source

fn visit_type_reference(&mut self, i: &'ast TypeReference)

Available on crate features derive or full only.
Source

fn visit_type_slice(&mut self, i: &'ast TypeSlice)

Available on crate features derive or full only.
Source

fn visit_type_trait_object(&mut self, i: &'ast TypeTraitObject)

Available on crate features derive or full only.
Source

fn visit_type_tuple(&mut self, i: &'ast TypeTuple)

Available on crate features derive or full only.
Source

fn visit_un_op(&mut self, i: &'ast UnOp)

Available on crate features derive or full only.
Source

fn visit_use_glob(&mut self, i: &'ast UseGlob)

Available on crate feature full only.
Source

fn visit_use_group(&mut self, i: &'ast UseGroup)

Available on crate feature full only.
Source

fn visit_use_name(&mut self, i: &'ast UseName)

Available on crate feature full only.
Source

fn visit_use_path(&mut self, i: &'ast UsePath)

Available on crate feature full only.
Source

fn visit_use_rename(&mut self, i: &'ast UseRename)

Available on crate feature full only.
Source

fn visit_use_tree(&mut self, i: &'ast UseTree)

Available on crate feature full only.
Source

fn visit_variadic(&mut self, i: &'ast Variadic)

Available on crate feature full only.
Source

fn visit_variant(&mut self, i: &'ast Variant)

Available on crate features derive or full only.
Source

fn visit_vis_restricted(&mut self, i: &'ast VisRestricted)

Available on crate features derive or full only.
Source

fn visit_visibility(&mut self, i: &'ast Visibility)

Available on crate features derive or full only.
Source

fn visit_where_clause(&mut self, i: &'ast WhereClause)

Available on crate features derive or full only.
Source

fn visit_where_predicate(&mut self, i: &'ast WherePredicate)

Available on crate features derive or full only.

Implementors§