mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-23 16:38:24 +00:00
77 lines
37 KiB
HTML
77 lines
37 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Syntax tree traversal to mutate an exclusive borrow of a syntax tree in place."><title>syn::visit_mut - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-ac92e1bbe349e143.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="syn" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0 (07dca489a 2024-02-04)" data-channel="1.76.0" data-search-js="search-2b6ce74ff89ae146.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-305769736d49e732.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-feafe1bb7466e4bd.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">☰</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../syn/index.html">syn</a><span class="version">2.0.51</span></h2></div><h2 class="location"><a href="#">Module visit_mut</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></section><h2><a href="../index.html">In crate syn</a></h2></div></nav><div class="sidebar-resizer"></div>
|
||
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../syn/all.html" title="show sidebar"></a></div><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" tabindex="-1"><a href="../../help.html" title="help">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">syn</a>::<wbr><a class="mod" href="#">visit_mut</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/syn/gen/visit_mut.rs.html#4-3845">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Syntax tree traversal to mutate an exclusive borrow of a syntax tree in
|
||
place.</p>
|
||
<p>Each method of the <a href="trait.VisitMut.html" title="trait syn::visit_mut::VisitMut"><code>VisitMut</code></a> trait is a hook that can be overridden
|
||
to customize the behavior when mutating the corresponding type of node.
|
||
By default, every method recursively visits the substructure of the
|
||
input by invoking the right visitor method of each of its fields.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">pub trait </span>VisitMut {
|
||
<span class="comment">/* ... */
|
||
|
||
</span><span class="kw">fn </span>visit_expr_binary_mut(<span class="kw-2">&mut </span><span class="self">self</span>, node: <span class="kw-2">&mut </span>ExprBinary) {
|
||
visit_expr_binary_mut(<span class="self">self</span>, node);
|
||
}
|
||
|
||
<span class="comment">/* ... */
|
||
</span>}
|
||
|
||
<span class="kw">pub fn </span>visit_expr_binary_mut<V>(v: <span class="kw-2">&mut </span>V, node: <span class="kw-2">&mut </span>ExprBinary)
|
||
<span class="kw">where
|
||
</span>V: VisitMut + <span class="question-mark">?</span>Sized,
|
||
{
|
||
<span class="kw">for </span>attr <span class="kw">in </span><span class="kw-2">&mut </span>node.attrs {
|
||
v.visit_attribute_mut(attr);
|
||
}
|
||
v.visit_expr_mut(<span class="kw-2">&mut *</span>node.left);
|
||
v.visit_bin_op_mut(<span class="kw-2">&mut </span>node.op);
|
||
v.visit_expr_mut(<span class="kw-2">&mut *</span>node.right);
|
||
}
|
||
|
||
<span class="comment">/* ... */</span></code></pre></div>
|
||
<br>
|
||
<h2 id="example"><a href="#example">Example</a></h2>
|
||
<p>This mut visitor replace occurrences of u256 suffixed integer literals
|
||
like <code>999u256</code> with a macro invocation <code>bigint::u256!(999)</code>.</p>
|
||
|
||
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="comment">// [dependencies]
|
||
// quote = "1.0"
|
||
// syn = { version = "2.0", features = ["full", "visit-mut"] }
|
||
|
||
</span><span class="kw">use </span>quote::quote;
|
||
<span class="kw">use </span>syn::visit_mut::{<span class="self">self</span>, VisitMut};
|
||
<span class="kw">use </span>syn::{parse_quote, Expr, File, Lit, LitInt};
|
||
|
||
<span class="kw">struct </span>BigintReplace;
|
||
|
||
<span class="kw">impl </span>VisitMut <span class="kw">for </span>BigintReplace {
|
||
<span class="kw">fn </span>visit_expr_mut(<span class="kw-2">&mut </span><span class="self">self</span>, node: <span class="kw-2">&mut </span>Expr) {
|
||
<span class="kw">if let </span>Expr::Lit(expr) = <span class="kw-2">&</span>node {
|
||
<span class="kw">if let </span>Lit::Int(int) = <span class="kw-2">&</span>expr.lit {
|
||
<span class="kw">if </span>int.suffix() == <span class="string">"u256" </span>{
|
||
<span class="kw">let </span>digits = int.base10_digits();
|
||
<span class="kw">let </span>unsuffixed: LitInt = syn::parse_str(digits).unwrap();
|
||
<span class="kw-2">*</span>node = <span class="macro">parse_quote!</span>(<span class="macro">bigint::u256!</span>(#unsuffixed));
|
||
<span class="kw">return</span>;
|
||
}
|
||
}
|
||
}
|
||
|
||
<span class="comment">// Delegate to the default impl to visit nested expressions.
|
||
</span>visit_mut::visit_expr_mut(<span class="self">self</span>, node);
|
||
}
|
||
}
|
||
|
||
<span class="kw">fn </span>main() {
|
||
<span class="kw">let </span>code = <span class="macro">quote! </span>{
|
||
<span class="kw">fn </span>main() {
|
||
<span class="kw">let _ </span>= <span class="number">999u256</span>;
|
||
}
|
||
};
|
||
|
||
<span class="kw">let </span><span class="kw-2">mut </span>syntax_tree: File = syn::parse2(code).unwrap();
|
||
BigintReplace.visit_file_mut(<span class="kw-2">&mut </span>syntax_tree);
|
||
<span class="macro">println!</span>(<span class="string">"{}"</span>, <span class="macro">quote!</span>(#syntax_tree));
|
||
}</code></pre></div>
|
||
</div></details><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.VisitMut.html" title="trait syn::visit_mut::VisitMut">VisitMut</a></div><div class="desc docblock-short">Syntax tree traversal to mutate an exclusive borrow of a syntax tree in
|
||
place.</div></li></ul><h2 id="functions" class="section-header"><a href="#functions">Functions</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.visit_abi_mut.html" title="fn syn::visit_mut::visit_abi_mut">visit_abi_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_angle_bracketed_generic_arguments_mut.html" title="fn syn::visit_mut::visit_angle_bracketed_generic_arguments_mut">visit_angle_bracketed_generic_arguments_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_arm_mut.html" title="fn syn::visit_mut::visit_arm_mut">visit_arm_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_assoc_const_mut.html" title="fn syn::visit_mut::visit_assoc_const_mut">visit_assoc_const_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_assoc_type_mut.html" title="fn syn::visit_mut::visit_assoc_type_mut">visit_assoc_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_attr_style_mut.html" title="fn syn::visit_mut::visit_attr_style_mut">visit_attr_style_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_attribute_mut.html" title="fn syn::visit_mut::visit_attribute_mut">visit_attribute_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_bare_fn_arg_mut.html" title="fn syn::visit_mut::visit_bare_fn_arg_mut">visit_bare_fn_arg_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_bare_variadic_mut.html" title="fn syn::visit_mut::visit_bare_variadic_mut">visit_bare_variadic_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_bin_op_mut.html" title="fn syn::visit_mut::visit_bin_op_mut">visit_bin_op_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_block_mut.html" title="fn syn::visit_mut::visit_block_mut">visit_block_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_bound_lifetimes_mut.html" title="fn syn::visit_mut::visit_bound_lifetimes_mut">visit_bound_lifetimes_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_const_param_mut.html" title="fn syn::visit_mut::visit_const_param_mut">visit_const_param_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_constraint_mut.html" title="fn syn::visit_mut::visit_constraint_mut">visit_constraint_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_data_enum_mut.html" title="fn syn::visit_mut::visit_data_enum_mut">visit_data_enum_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_data_mut.html" title="fn syn::visit_mut::visit_data_mut">visit_data_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_data_struct_mut.html" title="fn syn::visit_mut::visit_data_struct_mut">visit_data_struct_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_data_union_mut.html" title="fn syn::visit_mut::visit_data_union_mut">visit_data_union_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_derive_input_mut.html" title="fn syn::visit_mut::visit_derive_input_mut">visit_derive_input_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_array_mut.html" title="fn syn::visit_mut::visit_expr_array_mut">visit_expr_array_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_assign_mut.html" title="fn syn::visit_mut::visit_expr_assign_mut">visit_expr_assign_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_async_mut.html" title="fn syn::visit_mut::visit_expr_async_mut">visit_expr_async_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_await_mut.html" title="fn syn::visit_mut::visit_expr_await_mut">visit_expr_await_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_binary_mut.html" title="fn syn::visit_mut::visit_expr_binary_mut">visit_expr_binary_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_block_mut.html" title="fn syn::visit_mut::visit_expr_block_mut">visit_expr_block_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_break_mut.html" title="fn syn::visit_mut::visit_expr_break_mut">visit_expr_break_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_call_mut.html" title="fn syn::visit_mut::visit_expr_call_mut">visit_expr_call_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_cast_mut.html" title="fn syn::visit_mut::visit_expr_cast_mut">visit_expr_cast_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_closure_mut.html" title="fn syn::visit_mut::visit_expr_closure_mut">visit_expr_closure_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_const_mut.html" title="fn syn::visit_mut::visit_expr_const_mut">visit_expr_const_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_continue_mut.html" title="fn syn::visit_mut::visit_expr_continue_mut">visit_expr_continue_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_field_mut.html" title="fn syn::visit_mut::visit_expr_field_mut">visit_expr_field_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_for_loop_mut.html" title="fn syn::visit_mut::visit_expr_for_loop_mut">visit_expr_for_loop_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_group_mut.html" title="fn syn::visit_mut::visit_expr_group_mut">visit_expr_group_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_if_mut.html" title="fn syn::visit_mut::visit_expr_if_mut">visit_expr_if_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_index_mut.html" title="fn syn::visit_mut::visit_expr_index_mut">visit_expr_index_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_infer_mut.html" title="fn syn::visit_mut::visit_expr_infer_mut">visit_expr_infer_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_let_mut.html" title="fn syn::visit_mut::visit_expr_let_mut">visit_expr_let_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_lit_mut.html" title="fn syn::visit_mut::visit_expr_lit_mut">visit_expr_lit_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_loop_mut.html" title="fn syn::visit_mut::visit_expr_loop_mut">visit_expr_loop_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_macro_mut.html" title="fn syn::visit_mut::visit_expr_macro_mut">visit_expr_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_match_mut.html" title="fn syn::visit_mut::visit_expr_match_mut">visit_expr_match_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_method_call_mut.html" title="fn syn::visit_mut::visit_expr_method_call_mut">visit_expr_method_call_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_mut.html" title="fn syn::visit_mut::visit_expr_mut">visit_expr_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_paren_mut.html" title="fn syn::visit_mut::visit_expr_paren_mut">visit_expr_paren_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_path_mut.html" title="fn syn::visit_mut::visit_expr_path_mut">visit_expr_path_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_range_mut.html" title="fn syn::visit_mut::visit_expr_range_mut">visit_expr_range_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_reference_mut.html" title="fn syn::visit_mut::visit_expr_reference_mut">visit_expr_reference_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_repeat_mut.html" title="fn syn::visit_mut::visit_expr_repeat_mut">visit_expr_repeat_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_return_mut.html" title="fn syn::visit_mut::visit_expr_return_mut">visit_expr_return_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_struct_mut.html" title="fn syn::visit_mut::visit_expr_struct_mut">visit_expr_struct_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_try_block_mut.html" title="fn syn::visit_mut::visit_expr_try_block_mut">visit_expr_try_block_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_try_mut.html" title="fn syn::visit_mut::visit_expr_try_mut">visit_expr_try_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_tuple_mut.html" title="fn syn::visit_mut::visit_expr_tuple_mut">visit_expr_tuple_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_unary_mut.html" title="fn syn::visit_mut::visit_expr_unary_mut">visit_expr_unary_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_unsafe_mut.html" title="fn syn::visit_mut::visit_expr_unsafe_mut">visit_expr_unsafe_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_while_mut.html" title="fn syn::visit_mut::visit_expr_while_mut">visit_expr_while_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_expr_yield_mut.html" title="fn syn::visit_mut::visit_expr_yield_mut">visit_expr_yield_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_field_mut.html" title="fn syn::visit_mut::visit_field_mut">visit_field_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_field_mutability_mut.html" title="fn syn::visit_mut::visit_field_mutability_mut">visit_field_mutability_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_field_pat_mut.html" title="fn syn::visit_mut::visit_field_pat_mut">visit_field_pat_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_field_value_mut.html" title="fn syn::visit_mut::visit_field_value_mut">visit_field_value_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_fields_mut.html" title="fn syn::visit_mut::visit_fields_mut">visit_fields_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_fields_named_mut.html" title="fn syn::visit_mut::visit_fields_named_mut">visit_fields_named_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_fields_unnamed_mut.html" title="fn syn::visit_mut::visit_fields_unnamed_mut">visit_fields_unnamed_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_file_mut.html" title="fn syn::visit_mut::visit_file_mut">visit_file_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_fn_arg_mut.html" title="fn syn::visit_mut::visit_fn_arg_mut">visit_fn_arg_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_foreign_item_fn_mut.html" title="fn syn::visit_mut::visit_foreign_item_fn_mut">visit_foreign_item_fn_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_foreign_item_macro_mut.html" title="fn syn::visit_mut::visit_foreign_item_macro_mut">visit_foreign_item_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_foreign_item_mut.html" title="fn syn::visit_mut::visit_foreign_item_mut">visit_foreign_item_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_foreign_item_static_mut.html" title="fn syn::visit_mut::visit_foreign_item_static_mut">visit_foreign_item_static_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_foreign_item_type_mut.html" title="fn syn::visit_mut::visit_foreign_item_type_mut">visit_foreign_item_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_generic_argument_mut.html" title="fn syn::visit_mut::visit_generic_argument_mut">visit_generic_argument_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_generic_param_mut.html" title="fn syn::visit_mut::visit_generic_param_mut">visit_generic_param_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_generics_mut.html" title="fn syn::visit_mut::visit_generics_mut">visit_generics_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_ident_mut.html" title="fn syn::visit_mut::visit_ident_mut">visit_ident_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_impl_item_const_mut.html" title="fn syn::visit_mut::visit_impl_item_const_mut">visit_impl_item_const_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_impl_item_fn_mut.html" title="fn syn::visit_mut::visit_impl_item_fn_mut">visit_impl_item_fn_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_impl_item_macro_mut.html" title="fn syn::visit_mut::visit_impl_item_macro_mut">visit_impl_item_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_impl_item_mut.html" title="fn syn::visit_mut::visit_impl_item_mut">visit_impl_item_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_impl_item_type_mut.html" title="fn syn::visit_mut::visit_impl_item_type_mut">visit_impl_item_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_impl_restriction_mut.html" title="fn syn::visit_mut::visit_impl_restriction_mut">visit_impl_restriction_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_index_mut.html" title="fn syn::visit_mut::visit_index_mut">visit_index_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_const_mut.html" title="fn syn::visit_mut::visit_item_const_mut">visit_item_const_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_enum_mut.html" title="fn syn::visit_mut::visit_item_enum_mut">visit_item_enum_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_extern_crate_mut.html" title="fn syn::visit_mut::visit_item_extern_crate_mut">visit_item_extern_crate_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_fn_mut.html" title="fn syn::visit_mut::visit_item_fn_mut">visit_item_fn_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_foreign_mod_mut.html" title="fn syn::visit_mut::visit_item_foreign_mod_mut">visit_item_foreign_mod_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_impl_mut.html" title="fn syn::visit_mut::visit_item_impl_mut">visit_item_impl_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_macro_mut.html" title="fn syn::visit_mut::visit_item_macro_mut">visit_item_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_mod_mut.html" title="fn syn::visit_mut::visit_item_mod_mut">visit_item_mod_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_mut.html" title="fn syn::visit_mut::visit_item_mut">visit_item_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_static_mut.html" title="fn syn::visit_mut::visit_item_static_mut">visit_item_static_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_struct_mut.html" title="fn syn::visit_mut::visit_item_struct_mut">visit_item_struct_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_trait_alias_mut.html" title="fn syn::visit_mut::visit_item_trait_alias_mut">visit_item_trait_alias_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_trait_mut.html" title="fn syn::visit_mut::visit_item_trait_mut">visit_item_trait_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_type_mut.html" title="fn syn::visit_mut::visit_item_type_mut">visit_item_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_union_mut.html" title="fn syn::visit_mut::visit_item_union_mut">visit_item_union_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_item_use_mut.html" title="fn syn::visit_mut::visit_item_use_mut">visit_item_use_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_label_mut.html" title="fn syn::visit_mut::visit_label_mut">visit_label_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lifetime_mut.html" title="fn syn::visit_mut::visit_lifetime_mut">visit_lifetime_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lifetime_param_mut.html" title="fn syn::visit_mut::visit_lifetime_param_mut">visit_lifetime_param_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_bool_mut.html" title="fn syn::visit_mut::visit_lit_bool_mut">visit_lit_bool_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_byte_mut.html" title="fn syn::visit_mut::visit_lit_byte_mut">visit_lit_byte_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_byte_str_mut.html" title="fn syn::visit_mut::visit_lit_byte_str_mut">visit_lit_byte_str_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_char_mut.html" title="fn syn::visit_mut::visit_lit_char_mut">visit_lit_char_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_float_mut.html" title="fn syn::visit_mut::visit_lit_float_mut">visit_lit_float_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_int_mut.html" title="fn syn::visit_mut::visit_lit_int_mut">visit_lit_int_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_mut.html" title="fn syn::visit_mut::visit_lit_mut">visit_lit_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_lit_str_mut.html" title="fn syn::visit_mut::visit_lit_str_mut">visit_lit_str_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_local_init_mut.html" title="fn syn::visit_mut::visit_local_init_mut">visit_local_init_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_local_mut.html" title="fn syn::visit_mut::visit_local_mut">visit_local_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_macro_delimiter_mut.html" title="fn syn::visit_mut::visit_macro_delimiter_mut">visit_macro_delimiter_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_macro_mut.html" title="fn syn::visit_mut::visit_macro_mut">visit_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_member_mut.html" title="fn syn::visit_mut::visit_member_mut">visit_member_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_meta_list_mut.html" title="fn syn::visit_mut::visit_meta_list_mut">visit_meta_list_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_meta_mut.html" title="fn syn::visit_mut::visit_meta_mut">visit_meta_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_meta_name_value_mut.html" title="fn syn::visit_mut::visit_meta_name_value_mut">visit_meta_name_value_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_parenthesized_generic_arguments_mut.html" title="fn syn::visit_mut::visit_parenthesized_generic_arguments_mut">visit_parenthesized_generic_arguments_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_ident_mut.html" title="fn syn::visit_mut::visit_pat_ident_mut">visit_pat_ident_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_mut.html" title="fn syn::visit_mut::visit_pat_mut">visit_pat_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_or_mut.html" title="fn syn::visit_mut::visit_pat_or_mut">visit_pat_or_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_paren_mut.html" title="fn syn::visit_mut::visit_pat_paren_mut">visit_pat_paren_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_reference_mut.html" title="fn syn::visit_mut::visit_pat_reference_mut">visit_pat_reference_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_rest_mut.html" title="fn syn::visit_mut::visit_pat_rest_mut">visit_pat_rest_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_slice_mut.html" title="fn syn::visit_mut::visit_pat_slice_mut">visit_pat_slice_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_struct_mut.html" title="fn syn::visit_mut::visit_pat_struct_mut">visit_pat_struct_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_tuple_mut.html" title="fn syn::visit_mut::visit_pat_tuple_mut">visit_pat_tuple_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_tuple_struct_mut.html" title="fn syn::visit_mut::visit_pat_tuple_struct_mut">visit_pat_tuple_struct_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_type_mut.html" title="fn syn::visit_mut::visit_pat_type_mut">visit_pat_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_pat_wild_mut.html" title="fn syn::visit_mut::visit_pat_wild_mut">visit_pat_wild_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_path_arguments_mut.html" title="fn syn::visit_mut::visit_path_arguments_mut">visit_path_arguments_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_path_mut.html" title="fn syn::visit_mut::visit_path_mut">visit_path_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_path_segment_mut.html" title="fn syn::visit_mut::visit_path_segment_mut">visit_path_segment_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_predicate_lifetime_mut.html" title="fn syn::visit_mut::visit_predicate_lifetime_mut">visit_predicate_lifetime_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_predicate_type_mut.html" title="fn syn::visit_mut::visit_predicate_type_mut">visit_predicate_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_qself_mut.html" title="fn syn::visit_mut::visit_qself_mut">visit_qself_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_range_limits_mut.html" title="fn syn::visit_mut::visit_range_limits_mut">visit_range_limits_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_receiver_mut.html" title="fn syn::visit_mut::visit_receiver_mut">visit_receiver_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_return_type_mut.html" title="fn syn::visit_mut::visit_return_type_mut">visit_return_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_signature_mut.html" title="fn syn::visit_mut::visit_signature_mut">visit_signature_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_span_mut.html" title="fn syn::visit_mut::visit_span_mut">visit_span_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_static_mutability_mut.html" title="fn syn::visit_mut::visit_static_mutability_mut">visit_static_mutability_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_stmt_macro_mut.html" title="fn syn::visit_mut::visit_stmt_macro_mut">visit_stmt_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_stmt_mut.html" title="fn syn::visit_mut::visit_stmt_mut">visit_stmt_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_bound_modifier_mut.html" title="fn syn::visit_mut::visit_trait_bound_modifier_mut">visit_trait_bound_modifier_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_bound_mut.html" title="fn syn::visit_mut::visit_trait_bound_mut">visit_trait_bound_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_item_const_mut.html" title="fn syn::visit_mut::visit_trait_item_const_mut">visit_trait_item_const_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_item_fn_mut.html" title="fn syn::visit_mut::visit_trait_item_fn_mut">visit_trait_item_fn_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_item_macro_mut.html" title="fn syn::visit_mut::visit_trait_item_macro_mut">visit_trait_item_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_item_mut.html" title="fn syn::visit_mut::visit_trait_item_mut">visit_trait_item_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_trait_item_type_mut.html" title="fn syn::visit_mut::visit_trait_item_type_mut">visit_trait_item_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_array_mut.html" title="fn syn::visit_mut::visit_type_array_mut">visit_type_array_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_bare_fn_mut.html" title="fn syn::visit_mut::visit_type_bare_fn_mut">visit_type_bare_fn_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_group_mut.html" title="fn syn::visit_mut::visit_type_group_mut">visit_type_group_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_impl_trait_mut.html" title="fn syn::visit_mut::visit_type_impl_trait_mut">visit_type_impl_trait_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_infer_mut.html" title="fn syn::visit_mut::visit_type_infer_mut">visit_type_infer_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_macro_mut.html" title="fn syn::visit_mut::visit_type_macro_mut">visit_type_macro_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_mut.html" title="fn syn::visit_mut::visit_type_mut">visit_type_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_never_mut.html" title="fn syn::visit_mut::visit_type_never_mut">visit_type_never_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_param_bound_mut.html" title="fn syn::visit_mut::visit_type_param_bound_mut">visit_type_param_bound_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_param_mut.html" title="fn syn::visit_mut::visit_type_param_mut">visit_type_param_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_paren_mut.html" title="fn syn::visit_mut::visit_type_paren_mut">visit_type_paren_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_path_mut.html" title="fn syn::visit_mut::visit_type_path_mut">visit_type_path_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_ptr_mut.html" title="fn syn::visit_mut::visit_type_ptr_mut">visit_type_ptr_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_reference_mut.html" title="fn syn::visit_mut::visit_type_reference_mut">visit_type_reference_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_slice_mut.html" title="fn syn::visit_mut::visit_type_slice_mut">visit_type_slice_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_trait_object_mut.html" title="fn syn::visit_mut::visit_type_trait_object_mut">visit_type_trait_object_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_type_tuple_mut.html" title="fn syn::visit_mut::visit_type_tuple_mut">visit_type_tuple_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_un_op_mut.html" title="fn syn::visit_mut::visit_un_op_mut">visit_un_op_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_use_glob_mut.html" title="fn syn::visit_mut::visit_use_glob_mut">visit_use_glob_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_use_group_mut.html" title="fn syn::visit_mut::visit_use_group_mut">visit_use_group_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_use_name_mut.html" title="fn syn::visit_mut::visit_use_name_mut">visit_use_name_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_use_path_mut.html" title="fn syn::visit_mut::visit_use_path_mut">visit_use_path_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_use_rename_mut.html" title="fn syn::visit_mut::visit_use_rename_mut">visit_use_rename_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_use_tree_mut.html" title="fn syn::visit_mut::visit_use_tree_mut">visit_use_tree_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_variadic_mut.html" title="fn syn::visit_mut::visit_variadic_mut">visit_variadic_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_variant_mut.html" title="fn syn::visit_mut::visit_variant_mut">visit_variant_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_vis_restricted_mut.html" title="fn syn::visit_mut::visit_vis_restricted_mut">visit_vis_restricted_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_visibility_mut.html" title="fn syn::visit_mut::visit_visibility_mut">visit_visibility_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_where_clause_mut.html" title="fn syn::visit_mut::visit_where_clause_mut">visit_where_clause_mut</a></div></li><li><div class="item-name"><a class="fn" href="fn.visit_where_predicate_mut.html" title="fn syn::visit_mut::visit_where_predicate_mut">visit_where_predicate_mut</a></div></li></ul></section></div></main></body></html> |