pub trait VisitMut {
Show 188 methods
// Provided methods
fn visit_abi_mut(&mut self, i: &mut Abi) { ... }
fn visit_angle_bracketed_generic_arguments_mut(
&mut self,
i: &mut AngleBracketedGenericArguments,
) { ... }
fn visit_arm_mut(&mut self, i: &mut Arm) { ... }
fn visit_assoc_const_mut(&mut self, i: &mut AssocConst) { ... }
fn visit_assoc_type_mut(&mut self, i: &mut AssocType) { ... }
fn visit_attr_style_mut(&mut self, i: &mut AttrStyle) { ... }
fn visit_attribute_mut(&mut self, i: &mut Attribute) { ... }
fn visit_attributes_mut(&mut self, i: &mut Vec<Attribute>) { ... }
fn visit_bare_fn_arg_mut(&mut self, i: &mut BareFnArg) { ... }
fn visit_bare_variadic_mut(&mut self, i: &mut BareVariadic) { ... }
fn visit_bin_op_mut(&mut self, i: &mut BinOp) { ... }
fn visit_block_mut(&mut self, i: &mut Block) { ... }
fn visit_bound_lifetimes_mut(&mut self, i: &mut BoundLifetimes) { ... }
fn visit_captured_param_mut(&mut self, i: &mut CapturedParam) { ... }
fn visit_const_param_mut(&mut self, i: &mut ConstParam) { ... }
fn visit_constraint_mut(&mut self, i: &mut Constraint) { ... }
fn visit_data_mut(&mut self, i: &mut Data) { ... }
fn visit_data_enum_mut(&mut self, i: &mut DataEnum) { ... }
fn visit_data_struct_mut(&mut self, i: &mut DataStruct) { ... }
fn visit_data_union_mut(&mut self, i: &mut DataUnion) { ... }
fn visit_derive_input_mut(&mut self, i: &mut DeriveInput) { ... }
fn visit_expr_mut(&mut self, i: &mut Expr) { ... }
fn visit_expr_array_mut(&mut self, i: &mut ExprArray) { ... }
fn visit_expr_assign_mut(&mut self, i: &mut ExprAssign) { ... }
fn visit_expr_async_mut(&mut self, i: &mut ExprAsync) { ... }
fn visit_expr_await_mut(&mut self, i: &mut ExprAwait) { ... }
fn visit_expr_binary_mut(&mut self, i: &mut ExprBinary) { ... }
fn visit_expr_block_mut(&mut self, i: &mut ExprBlock) { ... }
fn visit_expr_break_mut(&mut self, i: &mut ExprBreak) { ... }
fn visit_expr_call_mut(&mut self, i: &mut ExprCall) { ... }
fn visit_expr_cast_mut(&mut self, i: &mut ExprCast) { ... }
fn visit_expr_closure_mut(&mut self, i: &mut ExprClosure) { ... }
fn visit_expr_const_mut(&mut self, i: &mut ExprConst) { ... }
fn visit_expr_continue_mut(&mut self, i: &mut ExprContinue) { ... }
fn visit_expr_field_mut(&mut self, i: &mut ExprField) { ... }
fn visit_expr_for_loop_mut(&mut self, i: &mut ExprForLoop) { ... }
fn visit_expr_group_mut(&mut self, i: &mut ExprGroup) { ... }
fn visit_expr_if_mut(&mut self, i: &mut ExprIf) { ... }
fn visit_expr_index_mut(&mut self, i: &mut ExprIndex) { ... }
fn visit_expr_infer_mut(&mut self, i: &mut ExprInfer) { ... }
fn visit_expr_let_mut(&mut self, i: &mut ExprLet) { ... }
fn visit_expr_lit_mut(&mut self, i: &mut ExprLit) { ... }
fn visit_expr_loop_mut(&mut self, i: &mut ExprLoop) { ... }
fn visit_expr_macro_mut(&mut self, i: &mut ExprMacro) { ... }
fn visit_expr_match_mut(&mut self, i: &mut ExprMatch) { ... }
fn visit_expr_method_call_mut(&mut self, i: &mut ExprMethodCall) { ... }
fn visit_expr_paren_mut(&mut self, i: &mut ExprParen) { ... }
fn visit_expr_path_mut(&mut self, i: &mut ExprPath) { ... }
fn visit_expr_range_mut(&mut self, i: &mut ExprRange) { ... }
fn visit_expr_raw_addr_mut(&mut self, i: &mut ExprRawAddr) { ... }
fn visit_expr_reference_mut(&mut self, i: &mut ExprReference) { ... }
fn visit_expr_repeat_mut(&mut self, i: &mut ExprRepeat) { ... }
fn visit_expr_return_mut(&mut self, i: &mut ExprReturn) { ... }
fn visit_expr_struct_mut(&mut self, i: &mut ExprStruct) { ... }
fn visit_expr_try_mut(&mut self, i: &mut ExprTry) { ... }
fn visit_expr_try_block_mut(&mut self, i: &mut ExprTryBlock) { ... }
fn visit_expr_tuple_mut(&mut self, i: &mut ExprTuple) { ... }
fn visit_expr_unary_mut(&mut self, i: &mut ExprUnary) { ... }
fn visit_expr_unsafe_mut(&mut self, i: &mut ExprUnsafe) { ... }
fn visit_expr_while_mut(&mut self, i: &mut ExprWhile) { ... }
fn visit_expr_yield_mut(&mut self, i: &mut ExprYield) { ... }
fn visit_field_mut(&mut self, i: &mut Field) { ... }
fn visit_field_mutability_mut(&mut self, i: &mut FieldMutability) { ... }
fn visit_field_pat_mut(&mut self, i: &mut FieldPat) { ... }
fn visit_field_value_mut(&mut self, i: &mut FieldValue) { ... }
fn visit_fields_mut(&mut self, i: &mut Fields) { ... }
fn visit_fields_named_mut(&mut self, i: &mut FieldsNamed) { ... }
fn visit_fields_unnamed_mut(&mut self, i: &mut FieldsUnnamed) { ... }
fn visit_file_mut(&mut self, i: &mut File) { ... }
fn visit_fn_arg_mut(&mut self, i: &mut FnArg) { ... }
fn visit_foreign_item_mut(&mut self, i: &mut ForeignItem) { ... }
fn visit_foreign_item_fn_mut(&mut self, i: &mut ForeignItemFn) { ... }
fn visit_foreign_item_macro_mut(&mut self, i: &mut ForeignItemMacro) { ... }
fn visit_foreign_item_static_mut(&mut self, i: &mut ForeignItemStatic) { ... }
fn visit_foreign_item_type_mut(&mut self, i: &mut ForeignItemType) { ... }
fn visit_generic_argument_mut(&mut self, i: &mut GenericArgument) { ... }
fn visit_generic_param_mut(&mut self, i: &mut GenericParam) { ... }
fn visit_generics_mut(&mut self, i: &mut Generics) { ... }
fn visit_ident_mut(&mut self, i: &mut Ident) { ... }
fn visit_impl_item_mut(&mut self, i: &mut ImplItem) { ... }
fn visit_impl_item_const_mut(&mut self, i: &mut ImplItemConst) { ... }
fn visit_impl_item_fn_mut(&mut self, i: &mut ImplItemFn) { ... }
fn visit_impl_item_macro_mut(&mut self, i: &mut ImplItemMacro) { ... }
fn visit_impl_item_type_mut(&mut self, i: &mut ImplItemType) { ... }
fn visit_impl_restriction_mut(&mut self, i: &mut ImplRestriction) { ... }
fn visit_index_mut(&mut self, i: &mut Index) { ... }
fn visit_item_mut(&mut self, i: &mut Item) { ... }
fn visit_item_const_mut(&mut self, i: &mut ItemConst) { ... }
fn visit_item_enum_mut(&mut self, i: &mut ItemEnum) { ... }
fn visit_item_extern_crate_mut(&mut self, i: &mut ItemExternCrate) { ... }
fn visit_item_fn_mut(&mut self, i: &mut ItemFn) { ... }
fn visit_item_foreign_mod_mut(&mut self, i: &mut ItemForeignMod) { ... }
fn visit_item_impl_mut(&mut self, i: &mut ItemImpl) { ... }
fn visit_item_macro_mut(&mut self, i: &mut ItemMacro) { ... }
fn visit_item_mod_mut(&mut self, i: &mut ItemMod) { ... }
fn visit_item_static_mut(&mut self, i: &mut ItemStatic) { ... }
fn visit_item_struct_mut(&mut self, i: &mut ItemStruct) { ... }
fn visit_item_trait_mut(&mut self, i: &mut ItemTrait) { ... }
fn visit_item_trait_alias_mut(&mut self, i: &mut ItemTraitAlias) { ... }
fn visit_item_type_mut(&mut self, i: &mut ItemType) { ... }
fn visit_item_union_mut(&mut self, i: &mut ItemUnion) { ... }
fn visit_item_use_mut(&mut self, i: &mut ItemUse) { ... }
fn visit_label_mut(&mut self, i: &mut Label) { ... }
fn visit_lifetime_mut(&mut self, i: &mut Lifetime) { ... }
fn visit_lifetime_param_mut(&mut self, i: &mut LifetimeParam) { ... }
fn visit_lit_mut(&mut self, i: &mut Lit) { ... }
fn visit_lit_bool_mut(&mut self, i: &mut LitBool) { ... }
fn visit_lit_byte_mut(&mut self, i: &mut LitByte) { ... }
fn visit_lit_byte_str_mut(&mut self, i: &mut LitByteStr) { ... }
fn visit_lit_cstr_mut(&mut self, i: &mut LitCStr) { ... }
fn visit_lit_char_mut(&mut self, i: &mut LitChar) { ... }
fn visit_lit_float_mut(&mut self, i: &mut LitFloat) { ... }
fn visit_lit_int_mut(&mut self, i: &mut LitInt) { ... }
fn visit_lit_str_mut(&mut self, i: &mut LitStr) { ... }
fn visit_local_mut(&mut self, i: &mut Local) { ... }
fn visit_local_init_mut(&mut self, i: &mut LocalInit) { ... }
fn visit_macro_mut(&mut self, i: &mut Macro) { ... }
fn visit_macro_delimiter_mut(&mut self, i: &mut MacroDelimiter) { ... }
fn visit_member_mut(&mut self, i: &mut Member) { ... }
fn visit_meta_mut(&mut self, i: &mut Meta) { ... }
fn visit_meta_list_mut(&mut self, i: &mut MetaList) { ... }
fn visit_meta_name_value_mut(&mut self, i: &mut MetaNameValue) { ... }
fn visit_parenthesized_generic_arguments_mut(
&mut self,
i: &mut ParenthesizedGenericArguments,
) { ... }
fn visit_pat_mut(&mut self, i: &mut Pat) { ... }
fn visit_pat_ident_mut(&mut self, i: &mut PatIdent) { ... }
fn visit_pat_or_mut(&mut self, i: &mut PatOr) { ... }
fn visit_pat_paren_mut(&mut self, i: &mut PatParen) { ... }
fn visit_pat_reference_mut(&mut self, i: &mut PatReference) { ... }
fn visit_pat_rest_mut(&mut self, i: &mut PatRest) { ... }
fn visit_pat_slice_mut(&mut self, i: &mut PatSlice) { ... }
fn visit_pat_struct_mut(&mut self, i: &mut PatStruct) { ... }
fn visit_pat_tuple_mut(&mut self, i: &mut PatTuple) { ... }
fn visit_pat_tuple_struct_mut(&mut self, i: &mut PatTupleStruct) { ... }
fn visit_pat_type_mut(&mut self, i: &mut PatType) { ... }
fn visit_pat_wild_mut(&mut self, i: &mut PatWild) { ... }
fn visit_path_mut(&mut self, i: &mut Path) { ... }
fn visit_path_arguments_mut(&mut self, i: &mut PathArguments) { ... }
fn visit_path_segment_mut(&mut self, i: &mut PathSegment) { ... }
fn visit_pointer_mutability_mut(&mut self, i: &mut PointerMutability) { ... }
fn visit_precise_capture_mut(&mut self, i: &mut PreciseCapture) { ... }
fn visit_predicate_lifetime_mut(&mut self, i: &mut PredicateLifetime) { ... }
fn visit_predicate_type_mut(&mut self, i: &mut PredicateType) { ... }
fn visit_qself_mut(&mut self, i: &mut QSelf) { ... }
fn visit_range_limits_mut(&mut self, i: &mut RangeLimits) { ... }
fn visit_receiver_mut(&mut self, i: &mut Receiver) { ... }
fn visit_return_type_mut(&mut self, i: &mut ReturnType) { ... }
fn visit_signature_mut(&mut self, i: &mut Signature) { ... }
fn visit_span_mut(&mut self, i: &mut Span) { ... }
fn visit_static_mutability_mut(&mut self, i: &mut StaticMutability) { ... }
fn visit_stmt_mut(&mut self, i: &mut Stmt) { ... }
fn visit_stmt_macro_mut(&mut self, i: &mut StmtMacro) { ... }
fn visit_trait_bound_mut(&mut self, i: &mut TraitBound) { ... }
fn visit_trait_bound_modifier_mut(&mut self, i: &mut TraitBoundModifier) { ... }
fn visit_trait_item_mut(&mut self, i: &mut TraitItem) { ... }
fn visit_trait_item_const_mut(&mut self, i: &mut TraitItemConst) { ... }
fn visit_trait_item_fn_mut(&mut self, i: &mut TraitItemFn) { ... }
fn visit_trait_item_macro_mut(&mut self, i: &mut TraitItemMacro) { ... }
fn visit_trait_item_type_mut(&mut self, i: &mut TraitItemType) { ... }
fn visit_type_mut(&mut self, i: &mut Type) { ... }
fn visit_type_array_mut(&mut self, i: &mut TypeArray) { ... }
fn visit_type_bare_fn_mut(&mut self, i: &mut TypeBareFn) { ... }
fn visit_type_group_mut(&mut self, i: &mut TypeGroup) { ... }
fn visit_type_impl_trait_mut(&mut self, i: &mut TypeImplTrait) { ... }
fn visit_type_infer_mut(&mut self, i: &mut TypeInfer) { ... }
fn visit_type_macro_mut(&mut self, i: &mut TypeMacro) { ... }
fn visit_type_never_mut(&mut self, i: &mut TypeNever) { ... }
fn visit_type_param_mut(&mut self, i: &mut TypeParam) { ... }
fn visit_type_param_bound_mut(&mut self, i: &mut TypeParamBound) { ... }
fn visit_type_paren_mut(&mut self, i: &mut TypeParen) { ... }
fn visit_type_path_mut(&mut self, i: &mut TypePath) { ... }
fn visit_type_ptr_mut(&mut self, i: &mut TypePtr) { ... }
fn visit_type_reference_mut(&mut self, i: &mut TypeReference) { ... }
fn visit_type_slice_mut(&mut self, i: &mut TypeSlice) { ... }
fn visit_type_trait_object_mut(&mut self, i: &mut TypeTraitObject) { ... }
fn visit_type_tuple_mut(&mut self, i: &mut TypeTuple) { ... }
fn visit_un_op_mut(&mut self, i: &mut UnOp) { ... }
fn visit_use_glob_mut(&mut self, i: &mut UseGlob) { ... }
fn visit_use_group_mut(&mut self, i: &mut UseGroup) { ... }
fn visit_use_name_mut(&mut self, i: &mut UseName) { ... }
fn visit_use_path_mut(&mut self, i: &mut UsePath) { ... }
fn visit_use_rename_mut(&mut self, i: &mut UseRename) { ... }
fn visit_use_tree_mut(&mut self, i: &mut UseTree) { ... }
fn visit_variadic_mut(&mut self, i: &mut Variadic) { ... }
fn visit_variant_mut(&mut self, i: &mut Variant) { ... }
fn visit_vis_restricted_mut(&mut self, i: &mut VisRestricted) { ... }
fn visit_visibility_mut(&mut self, i: &mut Visibility) { ... }
fn visit_where_clause_mut(&mut self, i: &mut WhereClause) { ... }
fn visit_where_predicate_mut(&mut self, i: &mut WherePredicate) { ... }
}
Available on crate feature
visit-mut
only.Expand description
Syntax tree traversal to mutate an exclusive borrow of a syntax tree in place.
See the module documentation for details.
Provided Methodsยง
fn visit_abi_mut(&mut self, i: &mut Abi)
Available on crate features
derive
or full
only.fn visit_angle_bracketed_generic_arguments_mut( &mut self, i: &mut AngleBracketedGenericArguments, )
Available on crate features
derive
or full
only.fn visit_arm_mut(&mut self, i: &mut Arm)
Available on crate feature
full
only.fn visit_assoc_const_mut(&mut self, i: &mut AssocConst)
Available on crate features
derive
or full
only.fn visit_assoc_type_mut(&mut self, i: &mut AssocType)
Available on crate features
derive
or full
only.fn visit_attr_style_mut(&mut self, i: &mut AttrStyle)
Available on crate features
derive
or full
only.fn visit_attribute_mut(&mut self, i: &mut Attribute)
Available on crate features
derive
or full
only.fn visit_attributes_mut(&mut self, i: &mut Vec<Attribute>)
Available on crate features
derive
or full
only.fn visit_bare_fn_arg_mut(&mut self, i: &mut BareFnArg)
Available on crate features
derive
or full
only.fn visit_bare_variadic_mut(&mut self, i: &mut BareVariadic)
Available on crate features
derive
or full
only.fn visit_bin_op_mut(&mut self, i: &mut BinOp)
Available on crate features
derive
or full
only.fn visit_block_mut(&mut self, i: &mut Block)
Available on crate feature
full
only.fn visit_bound_lifetimes_mut(&mut self, i: &mut BoundLifetimes)
Available on crate features
derive
or full
only.fn visit_captured_param_mut(&mut self, i: &mut CapturedParam)
Available on crate feature
full
only.fn visit_const_param_mut(&mut self, i: &mut ConstParam)
Available on crate features
derive
or full
only.fn visit_constraint_mut(&mut self, i: &mut Constraint)
Available on crate features
derive
or full
only.fn visit_data_mut(&mut self, i: &mut Data)
Available on crate feature
derive
only.fn visit_data_enum_mut(&mut self, i: &mut DataEnum)
Available on crate feature
derive
only.fn visit_data_struct_mut(&mut self, i: &mut DataStruct)
Available on crate feature
derive
only.fn visit_data_union_mut(&mut self, i: &mut DataUnion)
Available on crate feature
derive
only.fn visit_derive_input_mut(&mut self, i: &mut DeriveInput)
Available on crate feature
derive
only.fn visit_expr_mut(&mut self, i: &mut Expr)
Available on crate features
derive
or full
only.fn visit_expr_array_mut(&mut self, i: &mut ExprArray)
Available on crate feature
full
only.fn visit_expr_assign_mut(&mut self, i: &mut ExprAssign)
Available on crate feature
full
only.fn visit_expr_async_mut(&mut self, i: &mut ExprAsync)
Available on crate feature
full
only.fn visit_expr_await_mut(&mut self, i: &mut ExprAwait)
Available on crate feature
full
only.fn visit_expr_binary_mut(&mut self, i: &mut ExprBinary)
Available on crate features
derive
or full
only.fn visit_expr_block_mut(&mut self, i: &mut ExprBlock)
Available on crate feature
full
only.fn visit_expr_break_mut(&mut self, i: &mut ExprBreak)
Available on crate feature
full
only.fn visit_expr_call_mut(&mut self, i: &mut ExprCall)
Available on crate features
derive
or full
only.fn visit_expr_cast_mut(&mut self, i: &mut ExprCast)
Available on crate features
derive
or full
only.fn visit_expr_closure_mut(&mut self, i: &mut ExprClosure)
Available on crate feature
full
only.fn visit_expr_const_mut(&mut self, i: &mut ExprConst)
Available on crate feature
full
only.fn visit_expr_continue_mut(&mut self, i: &mut ExprContinue)
Available on crate feature
full
only.fn visit_expr_field_mut(&mut self, i: &mut ExprField)
Available on crate features
derive
or full
only.fn visit_expr_for_loop_mut(&mut self, i: &mut ExprForLoop)
Available on crate feature
full
only.fn visit_expr_group_mut(&mut self, i: &mut ExprGroup)
Available on crate features
derive
or full
only.fn visit_expr_if_mut(&mut self, i: &mut ExprIf)
Available on crate feature
full
only.fn visit_expr_index_mut(&mut self, i: &mut ExprIndex)
Available on crate features
derive
or full
only.fn visit_expr_infer_mut(&mut self, i: &mut ExprInfer)
Available on crate feature
full
only.fn visit_expr_let_mut(&mut self, i: &mut ExprLet)
Available on crate feature
full
only.fn visit_expr_lit_mut(&mut self, i: &mut ExprLit)
Available on crate features
derive
or full
only.fn visit_expr_loop_mut(&mut self, i: &mut ExprLoop)
Available on crate feature
full
only.fn visit_expr_macro_mut(&mut self, i: &mut ExprMacro)
Available on crate features
derive
or full
only.fn visit_expr_match_mut(&mut self, i: &mut ExprMatch)
Available on crate feature
full
only.fn visit_expr_method_call_mut(&mut self, i: &mut ExprMethodCall)
Available on crate features
derive
or full
only.fn visit_expr_paren_mut(&mut self, i: &mut ExprParen)
Available on crate features
derive
or full
only.fn visit_expr_path_mut(&mut self, i: &mut ExprPath)
Available on crate features
derive
or full
only.fn visit_expr_range_mut(&mut self, i: &mut ExprRange)
Available on crate feature
full
only.fn visit_expr_raw_addr_mut(&mut self, i: &mut ExprRawAddr)
Available on crate feature
full
only.fn visit_expr_reference_mut(&mut self, i: &mut ExprReference)
Available on crate features
derive
or full
only.fn visit_expr_repeat_mut(&mut self, i: &mut ExprRepeat)
Available on crate feature
full
only.fn visit_expr_return_mut(&mut self, i: &mut ExprReturn)
Available on crate feature
full
only.fn visit_expr_struct_mut(&mut self, i: &mut ExprStruct)
Available on crate features
derive
or full
only.fn visit_expr_try_mut(&mut self, i: &mut ExprTry)
Available on crate feature
full
only.fn visit_expr_try_block_mut(&mut self, i: &mut ExprTryBlock)
Available on crate feature
full
only.fn visit_expr_tuple_mut(&mut self, i: &mut ExprTuple)
Available on crate features
derive
or full
only.fn visit_expr_unary_mut(&mut self, i: &mut ExprUnary)
Available on crate features
derive
or full
only.fn visit_expr_unsafe_mut(&mut self, i: &mut ExprUnsafe)
Available on crate feature
full
only.fn visit_expr_while_mut(&mut self, i: &mut ExprWhile)
Available on crate feature
full
only.fn visit_expr_yield_mut(&mut self, i: &mut ExprYield)
Available on crate feature
full
only.fn visit_field_mut(&mut self, i: &mut Field)
Available on crate features
derive
or full
only.fn visit_field_mutability_mut(&mut self, i: &mut FieldMutability)
Available on crate features
derive
or full
only.fn visit_field_pat_mut(&mut self, i: &mut FieldPat)
Available on crate feature
full
only.fn visit_field_value_mut(&mut self, i: &mut FieldValue)
Available on crate features
derive
or full
only.fn visit_fields_mut(&mut self, i: &mut Fields)
Available on crate features
derive
or full
only.fn visit_fields_named_mut(&mut self, i: &mut FieldsNamed)
Available on crate features
derive
or full
only.fn visit_fields_unnamed_mut(&mut self, i: &mut FieldsUnnamed)
Available on crate features
derive
or full
only.fn visit_file_mut(&mut self, i: &mut File)
Available on crate feature
full
only.fn visit_fn_arg_mut(&mut self, i: &mut FnArg)
Available on crate feature
full
only.fn visit_foreign_item_mut(&mut self, i: &mut ForeignItem)
Available on crate feature
full
only.fn visit_foreign_item_fn_mut(&mut self, i: &mut ForeignItemFn)
Available on crate feature
full
only.fn visit_foreign_item_macro_mut(&mut self, i: &mut ForeignItemMacro)
Available on crate feature
full
only.fn visit_foreign_item_static_mut(&mut self, i: &mut ForeignItemStatic)
Available on crate feature
full
only.fn visit_foreign_item_type_mut(&mut self, i: &mut ForeignItemType)
Available on crate feature
full
only.fn visit_generic_argument_mut(&mut self, i: &mut GenericArgument)
Available on crate features
derive
or full
only.fn visit_generic_param_mut(&mut self, i: &mut GenericParam)
Available on crate features
derive
or full
only.fn visit_generics_mut(&mut self, i: &mut Generics)
Available on crate features
derive
or full
only.fn visit_ident_mut(&mut self, i: &mut Ident)
fn visit_impl_item_mut(&mut self, i: &mut ImplItem)
Available on crate feature
full
only.fn visit_impl_item_const_mut(&mut self, i: &mut ImplItemConst)
Available on crate feature
full
only.fn visit_impl_item_fn_mut(&mut self, i: &mut ImplItemFn)
Available on crate feature
full
only.fn visit_impl_item_macro_mut(&mut self, i: &mut ImplItemMacro)
Available on crate feature
full
only.fn visit_impl_item_type_mut(&mut self, i: &mut ImplItemType)
Available on crate feature
full
only.fn visit_impl_restriction_mut(&mut self, i: &mut ImplRestriction)
Available on crate feature
full
only.fn visit_index_mut(&mut self, i: &mut Index)
Available on crate features
derive
or full
only.fn visit_item_mut(&mut self, i: &mut Item)
Available on crate feature
full
only.fn visit_item_const_mut(&mut self, i: &mut ItemConst)
Available on crate feature
full
only.fn visit_item_enum_mut(&mut self, i: &mut ItemEnum)
Available on crate feature
full
only.fn visit_item_extern_crate_mut(&mut self, i: &mut ItemExternCrate)
Available on crate feature
full
only.fn visit_item_fn_mut(&mut self, i: &mut ItemFn)
Available on crate feature
full
only.fn visit_item_foreign_mod_mut(&mut self, i: &mut ItemForeignMod)
Available on crate feature
full
only.fn visit_item_impl_mut(&mut self, i: &mut ItemImpl)
Available on crate feature
full
only.fn visit_item_macro_mut(&mut self, i: &mut ItemMacro)
Available on crate feature
full
only.fn visit_item_mod_mut(&mut self, i: &mut ItemMod)
Available on crate feature
full
only.fn visit_item_static_mut(&mut self, i: &mut ItemStatic)
Available on crate feature
full
only.fn visit_item_struct_mut(&mut self, i: &mut ItemStruct)
Available on crate feature
full
only.fn visit_item_trait_mut(&mut self, i: &mut ItemTrait)
Available on crate feature
full
only.fn visit_item_trait_alias_mut(&mut self, i: &mut ItemTraitAlias)
Available on crate feature
full
only.fn visit_item_type_mut(&mut self, i: &mut ItemType)
Available on crate feature
full
only.fn visit_item_union_mut(&mut self, i: &mut ItemUnion)
Available on crate feature
full
only.fn visit_item_use_mut(&mut self, i: &mut ItemUse)
Available on crate feature
full
only.fn visit_label_mut(&mut self, i: &mut Label)
Available on crate feature
full
only.fn visit_lifetime_mut(&mut self, i: &mut Lifetime)
fn visit_lifetime_param_mut(&mut self, i: &mut LifetimeParam)
Available on crate features
derive
or full
only.fn visit_lit_mut(&mut self, i: &mut Lit)
fn visit_lit_bool_mut(&mut self, i: &mut LitBool)
fn visit_lit_byte_mut(&mut self, i: &mut LitByte)
fn visit_lit_byte_str_mut(&mut self, i: &mut LitByteStr)
fn visit_lit_cstr_mut(&mut self, i: &mut LitCStr)
fn visit_lit_char_mut(&mut self, i: &mut LitChar)
fn visit_lit_float_mut(&mut self, i: &mut LitFloat)
fn visit_lit_int_mut(&mut self, i: &mut LitInt)
fn visit_lit_str_mut(&mut self, i: &mut LitStr)
fn visit_local_mut(&mut self, i: &mut Local)
Available on crate feature
full
only.fn visit_local_init_mut(&mut self, i: &mut LocalInit)
Available on crate feature
full
only.fn visit_macro_mut(&mut self, i: &mut Macro)
Available on crate features
derive
or full
only.fn visit_macro_delimiter_mut(&mut self, i: &mut MacroDelimiter)
Available on crate features
derive
or full
only.fn visit_member_mut(&mut self, i: &mut Member)
Available on crate features
derive
or full
only.fn visit_meta_mut(&mut self, i: &mut Meta)
Available on crate features
derive
or full
only.fn visit_meta_list_mut(&mut self, i: &mut MetaList)
Available on crate features
derive
or full
only.fn visit_meta_name_value_mut(&mut self, i: &mut MetaNameValue)
Available on crate features
derive
or full
only.fn visit_parenthesized_generic_arguments_mut( &mut self, i: &mut ParenthesizedGenericArguments, )
Available on crate features
derive
or full
only.fn visit_pat_mut(&mut self, i: &mut Pat)
Available on crate feature
full
only.fn visit_pat_ident_mut(&mut self, i: &mut PatIdent)
Available on crate feature
full
only.fn visit_pat_or_mut(&mut self, i: &mut PatOr)
Available on crate feature
full
only.fn visit_pat_paren_mut(&mut self, i: &mut PatParen)
Available on crate feature
full
only.fn visit_pat_reference_mut(&mut self, i: &mut PatReference)
Available on crate feature
full
only.fn visit_pat_rest_mut(&mut self, i: &mut PatRest)
Available on crate feature
full
only.fn visit_pat_slice_mut(&mut self, i: &mut PatSlice)
Available on crate feature
full
only.fn visit_pat_struct_mut(&mut self, i: &mut PatStruct)
Available on crate feature
full
only.fn visit_pat_tuple_mut(&mut self, i: &mut PatTuple)
Available on crate feature
full
only.fn visit_pat_tuple_struct_mut(&mut self, i: &mut PatTupleStruct)
Available on crate feature
full
only.fn visit_pat_type_mut(&mut self, i: &mut PatType)
Available on crate feature
full
only.fn visit_pat_wild_mut(&mut self, i: &mut PatWild)
Available on crate feature
full
only.fn visit_path_mut(&mut self, i: &mut Path)
Available on crate features
derive
or full
only.fn visit_path_arguments_mut(&mut self, i: &mut PathArguments)
Available on crate features
derive
or full
only.fn visit_path_segment_mut(&mut self, i: &mut PathSegment)
Available on crate features
derive
or full
only.fn visit_pointer_mutability_mut(&mut self, i: &mut PointerMutability)
Available on crate feature
full
only.fn visit_precise_capture_mut(&mut self, i: &mut PreciseCapture)
Available on crate feature
full
only.fn visit_predicate_lifetime_mut(&mut self, i: &mut PredicateLifetime)
Available on crate features
derive
or full
only.fn visit_predicate_type_mut(&mut self, i: &mut PredicateType)
Available on crate features
derive
or full
only.fn visit_qself_mut(&mut self, i: &mut QSelf)
Available on crate features
derive
or full
only.fn visit_range_limits_mut(&mut self, i: &mut RangeLimits)
Available on crate feature
full
only.fn visit_receiver_mut(&mut self, i: &mut Receiver)
Available on crate feature
full
only.fn visit_return_type_mut(&mut self, i: &mut ReturnType)
Available on crate features
derive
or full
only.fn visit_signature_mut(&mut self, i: &mut Signature)
Available on crate feature
full
only.fn visit_span_mut(&mut self, i: &mut Span)
fn visit_static_mutability_mut(&mut self, i: &mut StaticMutability)
Available on crate feature
full
only.fn visit_stmt_mut(&mut self, i: &mut Stmt)
Available on crate feature
full
only.fn visit_stmt_macro_mut(&mut self, i: &mut StmtMacro)
Available on crate feature
full
only.fn visit_trait_bound_mut(&mut self, i: &mut TraitBound)
Available on crate features
derive
or full
only.fn visit_trait_bound_modifier_mut(&mut self, i: &mut TraitBoundModifier)
Available on crate features
derive
or full
only.fn visit_trait_item_mut(&mut self, i: &mut TraitItem)
Available on crate feature
full
only.fn visit_trait_item_const_mut(&mut self, i: &mut TraitItemConst)
Available on crate feature
full
only.fn visit_trait_item_fn_mut(&mut self, i: &mut TraitItemFn)
Available on crate feature
full
only.fn visit_trait_item_macro_mut(&mut self, i: &mut TraitItemMacro)
Available on crate feature
full
only.fn visit_trait_item_type_mut(&mut self, i: &mut TraitItemType)
Available on crate feature
full
only.fn visit_type_mut(&mut self, i: &mut Type)
Available on crate features
derive
or full
only.fn visit_type_array_mut(&mut self, i: &mut TypeArray)
Available on crate features
derive
or full
only.fn visit_type_bare_fn_mut(&mut self, i: &mut TypeBareFn)
Available on crate features
derive
or full
only.fn visit_type_group_mut(&mut self, i: &mut TypeGroup)
Available on crate features
derive
or full
only.fn visit_type_impl_trait_mut(&mut self, i: &mut TypeImplTrait)
Available on crate features
derive
or full
only.fn visit_type_infer_mut(&mut self, i: &mut TypeInfer)
Available on crate features
derive
or full
only.fn visit_type_macro_mut(&mut self, i: &mut TypeMacro)
Available on crate features
derive
or full
only.fn visit_type_never_mut(&mut self, i: &mut TypeNever)
Available on crate features
derive
or full
only.fn visit_type_param_mut(&mut self, i: &mut TypeParam)
Available on crate features
derive
or full
only.fn visit_type_param_bound_mut(&mut self, i: &mut TypeParamBound)
Available on crate features
derive
or full
only.fn visit_type_paren_mut(&mut self, i: &mut TypeParen)
Available on crate features
derive
or full
only.fn visit_type_path_mut(&mut self, i: &mut TypePath)
Available on crate features
derive
or full
only.fn visit_type_ptr_mut(&mut self, i: &mut TypePtr)
Available on crate features
derive
or full
only.fn visit_type_reference_mut(&mut self, i: &mut TypeReference)
Available on crate features
derive
or full
only.fn visit_type_slice_mut(&mut self, i: &mut TypeSlice)
Available on crate features
derive
or full
only.fn visit_type_trait_object_mut(&mut self, i: &mut TypeTraitObject)
Available on crate features
derive
or full
only.fn visit_type_tuple_mut(&mut self, i: &mut TypeTuple)
Available on crate features
derive
or full
only.fn visit_un_op_mut(&mut self, i: &mut UnOp)
Available on crate features
derive
or full
only.fn visit_use_glob_mut(&mut self, i: &mut UseGlob)
Available on crate feature
full
only.fn visit_use_group_mut(&mut self, i: &mut UseGroup)
Available on crate feature
full
only.fn visit_use_name_mut(&mut self, i: &mut UseName)
Available on crate feature
full
only.fn visit_use_path_mut(&mut self, i: &mut UsePath)
Available on crate feature
full
only.fn visit_use_rename_mut(&mut self, i: &mut UseRename)
Available on crate feature
full
only.fn visit_use_tree_mut(&mut self, i: &mut UseTree)
Available on crate feature
full
only.fn visit_variadic_mut(&mut self, i: &mut Variadic)
Available on crate feature
full
only.fn visit_variant_mut(&mut self, i: &mut Variant)
Available on crate features
derive
or full
only.fn visit_vis_restricted_mut(&mut self, i: &mut VisRestricted)
Available on crate features
derive
or full
only.fn visit_visibility_mut(&mut self, i: &mut Visibility)
Available on crate features
derive
or full
only.fn visit_where_clause_mut(&mut self, i: &mut WhereClause)
Available on crate features
derive
or full
only.fn visit_where_predicate_mut(&mut self, i: &mut WherePredicate)
Available on crate features
derive
or full
only.