edlang/syn/fold/index.html
2024-07-26 09:42:18 +00:00

66 lines
32 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 transform the nodes of an owned syntax tree."><title>syn::fold - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-dd39b87e5fcfba68.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.80.0 (051478957 2024-07-21)" data-channel="1.80.0" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-df360f571f6edeae.css"></noscript><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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../syn/index.html">syn</a><span class="version">2.0.72</span></h2></div><h2 class="location"><a href="#">Module fold</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"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../index.html">syn</a>::<wbr><a class="mod" href="#">fold</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../../src/syn/gen/fold.rs.html#4-3779">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</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 transform the nodes of an owned syntax tree.</p>
<p>Each method of the <a href="trait.Fold.html" title="trait syn::fold::Fold"><code>Fold</code></a> trait is a hook that can be overridden to
customize the behavior when transforming 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>Fold {
<span class="comment">/* ... */
</span><span class="kw">fn </span>fold_expr_binary(<span class="kw-2">&amp;mut </span><span class="self">self</span>, node: ExprBinary) -&gt; ExprBinary {
fold_expr_binary(<span class="self">self</span>, node)
}
<span class="comment">/* ... */
</span>}
<span class="kw">pub fn </span>fold_expr_binary&lt;V&gt;(v: <span class="kw-2">&amp;mut </span>V, node: ExprBinary) -&gt; ExprBinary
<span class="kw">where
</span>V: Fold + <span class="question-mark">?</span>Sized,
{
ExprBinary {
attrs: node
.attrs
.into_iter()
.map(|attr| v.fold_attribute(attr))
.collect(),
left: Box::new(v.fold_expr(<span class="kw-2">*</span>node.left)),
op: v.fold_bin_op(node.op),
right: Box::new(v.fold_expr(<span class="kw-2">*</span>node.right)),
}
}
<span class="comment">/* ... */</span></code></pre></div>
<br>
<h2 id="example"><a class="doc-anchor" href="#example">§</a>Example</h2>
<p>This fold inserts parentheses to fully parenthesizes any expression.</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="comment">// [dependencies]
// quote = "1.0"
// syn = { version = "2.0", features = ["fold", "full"] }
</span><span class="kw">use </span>quote::quote;
<span class="kw">use </span>syn::fold::{fold_expr, Fold};
<span class="kw">use </span>syn::{token, Expr, ExprParen};
<span class="kw">struct </span>ParenthesizeEveryExpr;
<span class="kw">impl </span>Fold <span class="kw">for </span>ParenthesizeEveryExpr {
<span class="kw">fn </span>fold_expr(<span class="kw-2">&amp;mut </span><span class="self">self</span>, expr: Expr) -&gt; Expr {
Expr::Paren(ExprParen {
attrs: Vec::new(),
expr: Box::new(fold_expr(<span class="self">self</span>, expr)),
paren_token: token::Paren::default(),
})
}
}
<span class="kw">fn </span>main() {
<span class="kw">let </span>code = <span class="macro">quote!</span> { a() + b(<span class="number">1</span>) * c.d };
<span class="kw">let </span>expr: Expr = syn::parse2(code).unwrap();
<span class="kw">let </span>parenthesized = ParenthesizeEveryExpr.fold_expr(expr);
<span class="macro">println!</span>(<span class="string">"{}"</span>, <span class="macro">quote!</span>(#parenthesized));
<span class="comment">// Output: (((a)()) + (((b)((1))) * ((c).d)))
</span>}</code></pre></div>
</div></details><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Fold.html" title="trait syn::fold::Fold">Fold</a></div><div class="desc docblock-short">Syntax tree traversal to transform the nodes of an owned syntax tree.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.fold_abi.html" title="fn syn::fold::fold_abi">fold_abi</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_angle_bracketed_generic_arguments.html" title="fn syn::fold::fold_angle_bracketed_generic_arguments">fold_angle_bracketed_generic_arguments</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_arm.html" title="fn syn::fold::fold_arm">fold_arm</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_assoc_const.html" title="fn syn::fold::fold_assoc_const">fold_assoc_const</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_assoc_type.html" title="fn syn::fold::fold_assoc_type">fold_assoc_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_attr_style.html" title="fn syn::fold::fold_attr_style">fold_attr_style</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_attribute.html" title="fn syn::fold::fold_attribute">fold_attribute</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_bare_fn_arg.html" title="fn syn::fold::fold_bare_fn_arg">fold_bare_fn_arg</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_bare_variadic.html" title="fn syn::fold::fold_bare_variadic">fold_bare_variadic</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_bin_op.html" title="fn syn::fold::fold_bin_op">fold_bin_op</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_block.html" title="fn syn::fold::fold_block">fold_block</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_bound_lifetimes.html" title="fn syn::fold::fold_bound_lifetimes">fold_bound_lifetimes</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_const_param.html" title="fn syn::fold::fold_const_param">fold_const_param</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_constraint.html" title="fn syn::fold::fold_constraint">fold_constraint</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_data.html" title="fn syn::fold::fold_data">fold_data</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_data_enum.html" title="fn syn::fold::fold_data_enum">fold_data_enum</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_data_struct.html" title="fn syn::fold::fold_data_struct">fold_data_struct</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_data_union.html" title="fn syn::fold::fold_data_union">fold_data_union</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_derive_input.html" title="fn syn::fold::fold_derive_input">fold_derive_input</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr.html" title="fn syn::fold::fold_expr">fold_expr</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_array.html" title="fn syn::fold::fold_expr_array">fold_expr_array</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_assign.html" title="fn syn::fold::fold_expr_assign">fold_expr_assign</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_async.html" title="fn syn::fold::fold_expr_async">fold_expr_async</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_await.html" title="fn syn::fold::fold_expr_await">fold_expr_await</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_binary.html" title="fn syn::fold::fold_expr_binary">fold_expr_binary</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_block.html" title="fn syn::fold::fold_expr_block">fold_expr_block</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_break.html" title="fn syn::fold::fold_expr_break">fold_expr_break</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_call.html" title="fn syn::fold::fold_expr_call">fold_expr_call</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_cast.html" title="fn syn::fold::fold_expr_cast">fold_expr_cast</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_closure.html" title="fn syn::fold::fold_expr_closure">fold_expr_closure</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_const.html" title="fn syn::fold::fold_expr_const">fold_expr_const</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_continue.html" title="fn syn::fold::fold_expr_continue">fold_expr_continue</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_field.html" title="fn syn::fold::fold_expr_field">fold_expr_field</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_for_loop.html" title="fn syn::fold::fold_expr_for_loop">fold_expr_for_loop</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_group.html" title="fn syn::fold::fold_expr_group">fold_expr_group</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_if.html" title="fn syn::fold::fold_expr_if">fold_expr_if</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_index.html" title="fn syn::fold::fold_expr_index">fold_expr_index</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_infer.html" title="fn syn::fold::fold_expr_infer">fold_expr_infer</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_let.html" title="fn syn::fold::fold_expr_let">fold_expr_let</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_lit.html" title="fn syn::fold::fold_expr_lit">fold_expr_lit</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_loop.html" title="fn syn::fold::fold_expr_loop">fold_expr_loop</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_macro.html" title="fn syn::fold::fold_expr_macro">fold_expr_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_match.html" title="fn syn::fold::fold_expr_match">fold_expr_match</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_method_call.html" title="fn syn::fold::fold_expr_method_call">fold_expr_method_call</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_paren.html" title="fn syn::fold::fold_expr_paren">fold_expr_paren</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_path.html" title="fn syn::fold::fold_expr_path">fold_expr_path</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_range.html" title="fn syn::fold::fold_expr_range">fold_expr_range</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_reference.html" title="fn syn::fold::fold_expr_reference">fold_expr_reference</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_repeat.html" title="fn syn::fold::fold_expr_repeat">fold_expr_repeat</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_return.html" title="fn syn::fold::fold_expr_return">fold_expr_return</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_struct.html" title="fn syn::fold::fold_expr_struct">fold_expr_struct</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_try.html" title="fn syn::fold::fold_expr_try">fold_expr_try</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_try_block.html" title="fn syn::fold::fold_expr_try_block">fold_expr_try_block</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_tuple.html" title="fn syn::fold::fold_expr_tuple">fold_expr_tuple</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_unary.html" title="fn syn::fold::fold_expr_unary">fold_expr_unary</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_unsafe.html" title="fn syn::fold::fold_expr_unsafe">fold_expr_unsafe</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_while.html" title="fn syn::fold::fold_expr_while">fold_expr_while</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_expr_yield.html" title="fn syn::fold::fold_expr_yield">fold_expr_yield</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_field.html" title="fn syn::fold::fold_field">fold_field</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_field_mutability.html" title="fn syn::fold::fold_field_mutability">fold_field_mutability</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_field_pat.html" title="fn syn::fold::fold_field_pat">fold_field_pat</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_field_value.html" title="fn syn::fold::fold_field_value">fold_field_value</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_fields.html" title="fn syn::fold::fold_fields">fold_fields</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_fields_named.html" title="fn syn::fold::fold_fields_named">fold_fields_named</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_fields_unnamed.html" title="fn syn::fold::fold_fields_unnamed">fold_fields_unnamed</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_file.html" title="fn syn::fold::fold_file">fold_file</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_fn_arg.html" title="fn syn::fold::fold_fn_arg">fold_fn_arg</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_foreign_item.html" title="fn syn::fold::fold_foreign_item">fold_foreign_item</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_foreign_item_fn.html" title="fn syn::fold::fold_foreign_item_fn">fold_foreign_item_fn</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_foreign_item_macro.html" title="fn syn::fold::fold_foreign_item_macro">fold_foreign_item_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_foreign_item_static.html" title="fn syn::fold::fold_foreign_item_static">fold_foreign_item_static</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_foreign_item_type.html" title="fn syn::fold::fold_foreign_item_type">fold_foreign_item_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_generic_argument.html" title="fn syn::fold::fold_generic_argument">fold_generic_argument</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_generic_param.html" title="fn syn::fold::fold_generic_param">fold_generic_param</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_generics.html" title="fn syn::fold::fold_generics">fold_generics</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_ident.html" title="fn syn::fold::fold_ident">fold_ident</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_impl_item.html" title="fn syn::fold::fold_impl_item">fold_impl_item</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_impl_item_const.html" title="fn syn::fold::fold_impl_item_const">fold_impl_item_const</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_impl_item_fn.html" title="fn syn::fold::fold_impl_item_fn">fold_impl_item_fn</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_impl_item_macro.html" title="fn syn::fold::fold_impl_item_macro">fold_impl_item_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_impl_item_type.html" title="fn syn::fold::fold_impl_item_type">fold_impl_item_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_impl_restriction.html" title="fn syn::fold::fold_impl_restriction">fold_impl_restriction</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_index.html" title="fn syn::fold::fold_index">fold_index</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item.html" title="fn syn::fold::fold_item">fold_item</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_const.html" title="fn syn::fold::fold_item_const">fold_item_const</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_enum.html" title="fn syn::fold::fold_item_enum">fold_item_enum</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_extern_crate.html" title="fn syn::fold::fold_item_extern_crate">fold_item_extern_crate</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_fn.html" title="fn syn::fold::fold_item_fn">fold_item_fn</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_foreign_mod.html" title="fn syn::fold::fold_item_foreign_mod">fold_item_foreign_mod</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_impl.html" title="fn syn::fold::fold_item_impl">fold_item_impl</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_macro.html" title="fn syn::fold::fold_item_macro">fold_item_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_mod.html" title="fn syn::fold::fold_item_mod">fold_item_mod</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_static.html" title="fn syn::fold::fold_item_static">fold_item_static</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_struct.html" title="fn syn::fold::fold_item_struct">fold_item_struct</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_trait.html" title="fn syn::fold::fold_item_trait">fold_item_trait</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_trait_alias.html" title="fn syn::fold::fold_item_trait_alias">fold_item_trait_alias</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_type.html" title="fn syn::fold::fold_item_type">fold_item_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_union.html" title="fn syn::fold::fold_item_union">fold_item_union</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_item_use.html" title="fn syn::fold::fold_item_use">fold_item_use</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_label.html" title="fn syn::fold::fold_label">fold_label</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lifetime.html" title="fn syn::fold::fold_lifetime">fold_lifetime</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lifetime_param.html" title="fn syn::fold::fold_lifetime_param">fold_lifetime_param</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit.html" title="fn syn::fold::fold_lit">fold_lit</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_bool.html" title="fn syn::fold::fold_lit_bool">fold_lit_bool</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_byte.html" title="fn syn::fold::fold_lit_byte">fold_lit_byte</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_byte_str.html" title="fn syn::fold::fold_lit_byte_str">fold_lit_byte_str</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_char.html" title="fn syn::fold::fold_lit_char">fold_lit_char</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_cstr.html" title="fn syn::fold::fold_lit_cstr">fold_lit_cstr</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_float.html" title="fn syn::fold::fold_lit_float">fold_lit_float</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_int.html" title="fn syn::fold::fold_lit_int">fold_lit_int</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_lit_str.html" title="fn syn::fold::fold_lit_str">fold_lit_str</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_local.html" title="fn syn::fold::fold_local">fold_local</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_local_init.html" title="fn syn::fold::fold_local_init">fold_local_init</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_macro.html" title="fn syn::fold::fold_macro">fold_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_macro_delimiter.html" title="fn syn::fold::fold_macro_delimiter">fold_macro_delimiter</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_member.html" title="fn syn::fold::fold_member">fold_member</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_meta.html" title="fn syn::fold::fold_meta">fold_meta</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_meta_list.html" title="fn syn::fold::fold_meta_list">fold_meta_list</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_meta_name_value.html" title="fn syn::fold::fold_meta_name_value">fold_meta_name_value</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_parenthesized_generic_arguments.html" title="fn syn::fold::fold_parenthesized_generic_arguments">fold_parenthesized_generic_arguments</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat.html" title="fn syn::fold::fold_pat">fold_pat</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_ident.html" title="fn syn::fold::fold_pat_ident">fold_pat_ident</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_or.html" title="fn syn::fold::fold_pat_or">fold_pat_or</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_paren.html" title="fn syn::fold::fold_pat_paren">fold_pat_paren</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_reference.html" title="fn syn::fold::fold_pat_reference">fold_pat_reference</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_rest.html" title="fn syn::fold::fold_pat_rest">fold_pat_rest</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_slice.html" title="fn syn::fold::fold_pat_slice">fold_pat_slice</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_struct.html" title="fn syn::fold::fold_pat_struct">fold_pat_struct</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_tuple.html" title="fn syn::fold::fold_pat_tuple">fold_pat_tuple</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_tuple_struct.html" title="fn syn::fold::fold_pat_tuple_struct">fold_pat_tuple_struct</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_type.html" title="fn syn::fold::fold_pat_type">fold_pat_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_pat_wild.html" title="fn syn::fold::fold_pat_wild">fold_pat_wild</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_path.html" title="fn syn::fold::fold_path">fold_path</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_path_arguments.html" title="fn syn::fold::fold_path_arguments">fold_path_arguments</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_path_segment.html" title="fn syn::fold::fold_path_segment">fold_path_segment</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_predicate_lifetime.html" title="fn syn::fold::fold_predicate_lifetime">fold_predicate_lifetime</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_predicate_type.html" title="fn syn::fold::fold_predicate_type">fold_predicate_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_qself.html" title="fn syn::fold::fold_qself">fold_qself</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_range_limits.html" title="fn syn::fold::fold_range_limits">fold_range_limits</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_receiver.html" title="fn syn::fold::fold_receiver">fold_receiver</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_return_type.html" title="fn syn::fold::fold_return_type">fold_return_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_signature.html" title="fn syn::fold::fold_signature">fold_signature</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_span.html" title="fn syn::fold::fold_span">fold_span</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_static_mutability.html" title="fn syn::fold::fold_static_mutability">fold_static_mutability</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_stmt.html" title="fn syn::fold::fold_stmt">fold_stmt</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_stmt_macro.html" title="fn syn::fold::fold_stmt_macro">fold_stmt_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_bound.html" title="fn syn::fold::fold_trait_bound">fold_trait_bound</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_bound_modifier.html" title="fn syn::fold::fold_trait_bound_modifier">fold_trait_bound_modifier</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_item.html" title="fn syn::fold::fold_trait_item">fold_trait_item</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_item_const.html" title="fn syn::fold::fold_trait_item_const">fold_trait_item_const</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_item_fn.html" title="fn syn::fold::fold_trait_item_fn">fold_trait_item_fn</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_item_macro.html" title="fn syn::fold::fold_trait_item_macro">fold_trait_item_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_trait_item_type.html" title="fn syn::fold::fold_trait_item_type">fold_trait_item_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type.html" title="fn syn::fold::fold_type">fold_type</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_array.html" title="fn syn::fold::fold_type_array">fold_type_array</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_bare_fn.html" title="fn syn::fold::fold_type_bare_fn">fold_type_bare_fn</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_group.html" title="fn syn::fold::fold_type_group">fold_type_group</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_impl_trait.html" title="fn syn::fold::fold_type_impl_trait">fold_type_impl_trait</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_infer.html" title="fn syn::fold::fold_type_infer">fold_type_infer</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_macro.html" title="fn syn::fold::fold_type_macro">fold_type_macro</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_never.html" title="fn syn::fold::fold_type_never">fold_type_never</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_param.html" title="fn syn::fold::fold_type_param">fold_type_param</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_param_bound.html" title="fn syn::fold::fold_type_param_bound">fold_type_param_bound</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_paren.html" title="fn syn::fold::fold_type_paren">fold_type_paren</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_path.html" title="fn syn::fold::fold_type_path">fold_type_path</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_ptr.html" title="fn syn::fold::fold_type_ptr">fold_type_ptr</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_reference.html" title="fn syn::fold::fold_type_reference">fold_type_reference</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_slice.html" title="fn syn::fold::fold_type_slice">fold_type_slice</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_trait_object.html" title="fn syn::fold::fold_type_trait_object">fold_type_trait_object</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_type_tuple.html" title="fn syn::fold::fold_type_tuple">fold_type_tuple</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_un_op.html" title="fn syn::fold::fold_un_op">fold_un_op</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_use_glob.html" title="fn syn::fold::fold_use_glob">fold_use_glob</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_use_group.html" title="fn syn::fold::fold_use_group">fold_use_group</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_use_name.html" title="fn syn::fold::fold_use_name">fold_use_name</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_use_path.html" title="fn syn::fold::fold_use_path">fold_use_path</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_use_rename.html" title="fn syn::fold::fold_use_rename">fold_use_rename</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_use_tree.html" title="fn syn::fold::fold_use_tree">fold_use_tree</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_variadic.html" title="fn syn::fold::fold_variadic">fold_variadic</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_variant.html" title="fn syn::fold::fold_variant">fold_variant</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_vis_restricted.html" title="fn syn::fold::fold_vis_restricted">fold_vis_restricted</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_visibility.html" title="fn syn::fold::fold_visibility">fold_visibility</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_where_clause.html" title="fn syn::fold::fold_where_clause">fold_where_clause</a></div></li><li><div class="item-name"><a class="fn" href="fn.fold_where_predicate.html" title="fn syn::fold::fold_where_predicate">fold_where_predicate</a></div></li></ul></section></div></main></body></html>