mirror of
https://github.com/edg-l/edlang.git
synced 2024-11-23 08:28:24 +00:00
221 lines
155 KiB
HTML
221 lines
155 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>Fold in syn::fold - 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 trait"><!--[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.48</span></h2></div><h2 class="location"><a href="#">Fold</a></h2><div class="sidebar-elems"><section><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.fold_abi">fold_abi</a></li><li><a href="#method.fold_angle_bracketed_generic_arguments">fold_angle_bracketed_generic_arguments</a></li><li><a href="#method.fold_arm">fold_arm</a></li><li><a href="#method.fold_assoc_const">fold_assoc_const</a></li><li><a href="#method.fold_assoc_type">fold_assoc_type</a></li><li><a href="#method.fold_attr_style">fold_attr_style</a></li><li><a href="#method.fold_attribute">fold_attribute</a></li><li><a href="#method.fold_bare_fn_arg">fold_bare_fn_arg</a></li><li><a href="#method.fold_bare_variadic">fold_bare_variadic</a></li><li><a href="#method.fold_bin_op">fold_bin_op</a></li><li><a href="#method.fold_block">fold_block</a></li><li><a href="#method.fold_bound_lifetimes">fold_bound_lifetimes</a></li><li><a href="#method.fold_const_param">fold_const_param</a></li><li><a href="#method.fold_constraint">fold_constraint</a></li><li><a href="#method.fold_data">fold_data</a></li><li><a href="#method.fold_data_enum">fold_data_enum</a></li><li><a href="#method.fold_data_struct">fold_data_struct</a></li><li><a href="#method.fold_data_union">fold_data_union</a></li><li><a href="#method.fold_derive_input">fold_derive_input</a></li><li><a href="#method.fold_expr">fold_expr</a></li><li><a href="#method.fold_expr_array">fold_expr_array</a></li><li><a href="#method.fold_expr_assign">fold_expr_assign</a></li><li><a href="#method.fold_expr_async">fold_expr_async</a></li><li><a href="#method.fold_expr_await">fold_expr_await</a></li><li><a href="#
|
|||
|
<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>Trait <a href="../index.html">syn</a>::<wbr><a href="index.html">fold</a>::<wbr><a class="trait" href="#">Fold</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/fold.rs.html#31-929">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>−</span>]</button></span></div><pre class="rust item-decl"><code>pub trait Fold {
|
|||
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 182 methods</span></summary> // Provided methods
|
|||
|
fn <a href="#method.fold_abi" class="fn">fold_abi</a>(&mut self, i: <a class="struct" href="../struct.Abi.html" title="struct syn::Abi">Abi</a>) -> <a class="struct" href="../struct.Abi.html" title="struct syn::Abi">Abi</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_angle_bracketed_generic_arguments" class="fn">fold_angle_bracketed_generic_arguments</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.AngleBracketedGenericArguments.html" title="struct syn::AngleBracketedGenericArguments">AngleBracketedGenericArguments</a>
|
|||
|
) -> <a class="struct" href="../struct.AngleBracketedGenericArguments.html" title="struct syn::AngleBracketedGenericArguments">AngleBracketedGenericArguments</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_arm" class="fn">fold_arm</a>(&mut self, i: <a class="struct" href="../struct.Arm.html" title="struct syn::Arm">Arm</a>) -> <a class="struct" href="../struct.Arm.html" title="struct syn::Arm">Arm</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_assoc_const" class="fn">fold_assoc_const</a>(&mut self, i: <a class="struct" href="../struct.AssocConst.html" title="struct syn::AssocConst">AssocConst</a>) -> <a class="struct" href="../struct.AssocConst.html" title="struct syn::AssocConst">AssocConst</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_assoc_type" class="fn">fold_assoc_type</a>(&mut self, i: <a class="struct" href="../struct.AssocType.html" title="struct syn::AssocType">AssocType</a>) -> <a class="struct" href="../struct.AssocType.html" title="struct syn::AssocType">AssocType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_attr_style" class="fn">fold_attr_style</a>(&mut self, i: <a class="enum" href="../enum.AttrStyle.html" title="enum syn::AttrStyle">AttrStyle</a>) -> <a class="enum" href="../enum.AttrStyle.html" title="enum syn::AttrStyle">AttrStyle</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_attribute" class="fn">fold_attribute</a>(&mut self, i: <a class="struct" href="../struct.Attribute.html" title="struct syn::Attribute">Attribute</a>) -> <a class="struct" href="../struct.Attribute.html" title="struct syn::Attribute">Attribute</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_bare_fn_arg" class="fn">fold_bare_fn_arg</a>(&mut self, i: <a class="struct" href="../struct.BareFnArg.html" title="struct syn::BareFnArg">BareFnArg</a>) -> <a class="struct" href="../struct.BareFnArg.html" title="struct syn::BareFnArg">BareFnArg</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_bare_variadic" class="fn">fold_bare_variadic</a>(&mut self, i: <a class="struct" href="../struct.BareVariadic.html" title="struct syn::BareVariadic">BareVariadic</a>) -> <a class="struct" href="../struct.BareVariadic.html" title="struct syn::BareVariadic">BareVariadic</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_bin_op" class="fn">fold_bin_op</a>(&mut self, i: <a class="enum" href="../enum.BinOp.html" title="enum syn::BinOp">BinOp</a>) -> <a class="enum" href="../enum.BinOp.html" title="enum syn::BinOp">BinOp</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_block" class="fn">fold_block</a>(&mut self, i: <a class="struct" href="../struct.Block.html" title="struct syn::Block">Block</a>) -> <a class="struct" href="../struct.Block.html" title="struct syn::Block">Block</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_bound_lifetimes" class="fn">fold_bound_lifetimes</a>(&mut self, i: <a class="struct" href="../struct.BoundLifetimes.html" title="struct syn::BoundLifetimes">BoundLifetimes</a>) -> <a class="struct" href="../struct.BoundLifetimes.html" title="struct syn::BoundLifetimes">BoundLifetimes</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_const_param" class="fn">fold_const_param</a>(&mut self, i: <a class="struct" href="../struct.ConstParam.html" title="struct syn::ConstParam">ConstParam</a>) -> <a class="struct" href="../struct.ConstParam.html" title="struct syn::ConstParam">ConstParam</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_constraint" class="fn">fold_constraint</a>(&mut self, i: <a class="struct" href="../struct.Constraint.html" title="struct syn::Constraint">Constraint</a>) -> <a class="struct" href="../struct.Constraint.html" title="struct syn::Constraint">Constraint</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_data" class="fn">fold_data</a>(&mut self, i: <a class="enum" href="../enum.Data.html" title="enum syn::Data">Data</a>) -> <a class="enum" href="../enum.Data.html" title="enum syn::Data">Data</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_data_enum" class="fn">fold_data_enum</a>(&mut self, i: <a class="struct" href="../struct.DataEnum.html" title="struct syn::DataEnum">DataEnum</a>) -> <a class="struct" href="../struct.DataEnum.html" title="struct syn::DataEnum">DataEnum</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_data_struct" class="fn">fold_data_struct</a>(&mut self, i: <a class="struct" href="../struct.DataStruct.html" title="struct syn::DataStruct">DataStruct</a>) -> <a class="struct" href="../struct.DataStruct.html" title="struct syn::DataStruct">DataStruct</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_data_union" class="fn">fold_data_union</a>(&mut self, i: <a class="struct" href="../struct.DataUnion.html" title="struct syn::DataUnion">DataUnion</a>) -> <a class="struct" href="../struct.DataUnion.html" title="struct syn::DataUnion">DataUnion</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_derive_input" class="fn">fold_derive_input</a>(&mut self, i: <a class="struct" href="../struct.DeriveInput.html" title="struct syn::DeriveInput">DeriveInput</a>) -> <a class="struct" href="../struct.DeriveInput.html" title="struct syn::DeriveInput">DeriveInput</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr" class="fn">fold_expr</a>(&mut self, i: <a class="enum" href="../enum.Expr.html" title="enum syn::Expr">Expr</a>) -> <a class="enum" href="../enum.Expr.html" title="enum syn::Expr">Expr</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_array" class="fn">fold_expr_array</a>(&mut self, i: <a class="struct" href="../struct.ExprArray.html" title="struct syn::ExprArray">ExprArray</a>) -> <a class="struct" href="../struct.ExprArray.html" title="struct syn::ExprArray">ExprArray</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_assign" class="fn">fold_expr_assign</a>(&mut self, i: <a class="struct" href="../struct.ExprAssign.html" title="struct syn::ExprAssign">ExprAssign</a>) -> <a class="struct" href="../struct.ExprAssign.html" title="struct syn::ExprAssign">ExprAssign</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_async" class="fn">fold_expr_async</a>(&mut self, i: <a class="struct" href="../struct.ExprAsync.html" title="struct syn::ExprAsync">ExprAsync</a>) -> <a class="struct" href="../struct.ExprAsync.html" title="struct syn::ExprAsync">ExprAsync</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_await" class="fn">fold_expr_await</a>(&mut self, i: <a class="struct" href="../struct.ExprAwait.html" title="struct syn::ExprAwait">ExprAwait</a>) -> <a class="struct" href="../struct.ExprAwait.html" title="struct syn::ExprAwait">ExprAwait</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_binary" class="fn">fold_expr_binary</a>(&mut self, i: <a class="struct" href="../struct.ExprBinary.html" title="struct syn::ExprBinary">ExprBinary</a>) -> <a class="struct" href="../struct.ExprBinary.html" title="struct syn::ExprBinary">ExprBinary</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_block" class="fn">fold_expr_block</a>(&mut self, i: <a class="struct" href="../struct.ExprBlock.html" title="struct syn::ExprBlock">ExprBlock</a>) -> <a class="struct" href="../struct.ExprBlock.html" title="struct syn::ExprBlock">ExprBlock</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_break" class="fn">fold_expr_break</a>(&mut self, i: <a class="struct" href="../struct.ExprBreak.html" title="struct syn::ExprBreak">ExprBreak</a>) -> <a class="struct" href="../struct.ExprBreak.html" title="struct syn::ExprBreak">ExprBreak</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_call" class="fn">fold_expr_call</a>(&mut self, i: <a class="struct" href="../struct.ExprCall.html" title="struct syn::ExprCall">ExprCall</a>) -> <a class="struct" href="../struct.ExprCall.html" title="struct syn::ExprCall">ExprCall</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_cast" class="fn">fold_expr_cast</a>(&mut self, i: <a class="struct" href="../struct.ExprCast.html" title="struct syn::ExprCast">ExprCast</a>) -> <a class="struct" href="../struct.ExprCast.html" title="struct syn::ExprCast">ExprCast</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_closure" class="fn">fold_expr_closure</a>(&mut self, i: <a class="struct" href="../struct.ExprClosure.html" title="struct syn::ExprClosure">ExprClosure</a>) -> <a class="struct" href="../struct.ExprClosure.html" title="struct syn::ExprClosure">ExprClosure</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_const" class="fn">fold_expr_const</a>(&mut self, i: <a class="struct" href="../struct.ExprConst.html" title="struct syn::ExprConst">ExprConst</a>) -> <a class="struct" href="../struct.ExprConst.html" title="struct syn::ExprConst">ExprConst</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_continue" class="fn">fold_expr_continue</a>(&mut self, i: <a class="struct" href="../struct.ExprContinue.html" title="struct syn::ExprContinue">ExprContinue</a>) -> <a class="struct" href="../struct.ExprContinue.html" title="struct syn::ExprContinue">ExprContinue</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_field" class="fn">fold_expr_field</a>(&mut self, i: <a class="struct" href="../struct.ExprField.html" title="struct syn::ExprField">ExprField</a>) -> <a class="struct" href="../struct.ExprField.html" title="struct syn::ExprField">ExprField</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_for_loop" class="fn">fold_expr_for_loop</a>(&mut self, i: <a class="struct" href="../struct.ExprForLoop.html" title="struct syn::ExprForLoop">ExprForLoop</a>) -> <a class="struct" href="../struct.ExprForLoop.html" title="struct syn::ExprForLoop">ExprForLoop</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_group" class="fn">fold_expr_group</a>(&mut self, i: <a class="struct" href="../struct.ExprGroup.html" title="struct syn::ExprGroup">ExprGroup</a>) -> <a class="struct" href="../struct.ExprGroup.html" title="struct syn::ExprGroup">ExprGroup</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_if" class="fn">fold_expr_if</a>(&mut self, i: <a class="struct" href="../struct.ExprIf.html" title="struct syn::ExprIf">ExprIf</a>) -> <a class="struct" href="../struct.ExprIf.html" title="struct syn::ExprIf">ExprIf</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_index" class="fn">fold_expr_index</a>(&mut self, i: <a class="struct" href="../struct.ExprIndex.html" title="struct syn::ExprIndex">ExprIndex</a>) -> <a class="struct" href="../struct.ExprIndex.html" title="struct syn::ExprIndex">ExprIndex</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_infer" class="fn">fold_expr_infer</a>(&mut self, i: <a class="struct" href="../struct.ExprInfer.html" title="struct syn::ExprInfer">ExprInfer</a>) -> <a class="struct" href="../struct.ExprInfer.html" title="struct syn::ExprInfer">ExprInfer</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_let" class="fn">fold_expr_let</a>(&mut self, i: <a class="struct" href="../struct.ExprLet.html" title="struct syn::ExprLet">ExprLet</a>) -> <a class="struct" href="../struct.ExprLet.html" title="struct syn::ExprLet">ExprLet</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_lit" class="fn">fold_expr_lit</a>(&mut self, i: <a class="struct" href="../struct.ExprLit.html" title="struct syn::ExprLit">ExprLit</a>) -> <a class="struct" href="../struct.ExprLit.html" title="struct syn::ExprLit">ExprLit</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_loop" class="fn">fold_expr_loop</a>(&mut self, i: <a class="struct" href="../struct.ExprLoop.html" title="struct syn::ExprLoop">ExprLoop</a>) -> <a class="struct" href="../struct.ExprLoop.html" title="struct syn::ExprLoop">ExprLoop</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_macro" class="fn">fold_expr_macro</a>(&mut self, i: <a class="struct" href="../struct.ExprMacro.html" title="struct syn::ExprMacro">ExprMacro</a>) -> <a class="struct" href="../struct.ExprMacro.html" title="struct syn::ExprMacro">ExprMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_match" class="fn">fold_expr_match</a>(&mut self, i: <a class="struct" href="../struct.ExprMatch.html" title="struct syn::ExprMatch">ExprMatch</a>) -> <a class="struct" href="../struct.ExprMatch.html" title="struct syn::ExprMatch">ExprMatch</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_method_call" class="fn">fold_expr_method_call</a>(&mut self, i: <a class="struct" href="../struct.ExprMethodCall.html" title="struct syn::ExprMethodCall">ExprMethodCall</a>) -> <a class="struct" href="../struct.ExprMethodCall.html" title="struct syn::ExprMethodCall">ExprMethodCall</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_paren" class="fn">fold_expr_paren</a>(&mut self, i: <a class="struct" href="../struct.ExprParen.html" title="struct syn::ExprParen">ExprParen</a>) -> <a class="struct" href="../struct.ExprParen.html" title="struct syn::ExprParen">ExprParen</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_path" class="fn">fold_expr_path</a>(&mut self, i: <a class="struct" href="../struct.ExprPath.html" title="struct syn::ExprPath">ExprPath</a>) -> <a class="struct" href="../struct.ExprPath.html" title="struct syn::ExprPath">ExprPath</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_range" class="fn">fold_expr_range</a>(&mut self, i: <a class="struct" href="../struct.ExprRange.html" title="struct syn::ExprRange">ExprRange</a>) -> <a class="struct" href="../struct.ExprRange.html" title="struct syn::ExprRange">ExprRange</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_reference" class="fn">fold_expr_reference</a>(&mut self, i: <a class="struct" href="../struct.ExprReference.html" title="struct syn::ExprReference">ExprReference</a>) -> <a class="struct" href="../struct.ExprReference.html" title="struct syn::ExprReference">ExprReference</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_repeat" class="fn">fold_expr_repeat</a>(&mut self, i: <a class="struct" href="../struct.ExprRepeat.html" title="struct syn::ExprRepeat">ExprRepeat</a>) -> <a class="struct" href="../struct.ExprRepeat.html" title="struct syn::ExprRepeat">ExprRepeat</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_return" class="fn">fold_expr_return</a>(&mut self, i: <a class="struct" href="../struct.ExprReturn.html" title="struct syn::ExprReturn">ExprReturn</a>) -> <a class="struct" href="../struct.ExprReturn.html" title="struct syn::ExprReturn">ExprReturn</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_struct" class="fn">fold_expr_struct</a>(&mut self, i: <a class="struct" href="../struct.ExprStruct.html" title="struct syn::ExprStruct">ExprStruct</a>) -> <a class="struct" href="../struct.ExprStruct.html" title="struct syn::ExprStruct">ExprStruct</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_try" class="fn">fold_expr_try</a>(&mut self, i: <a class="struct" href="../struct.ExprTry.html" title="struct syn::ExprTry">ExprTry</a>) -> <a class="struct" href="../struct.ExprTry.html" title="struct syn::ExprTry">ExprTry</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_try_block" class="fn">fold_expr_try_block</a>(&mut self, i: <a class="struct" href="../struct.ExprTryBlock.html" title="struct syn::ExprTryBlock">ExprTryBlock</a>) -> <a class="struct" href="../struct.ExprTryBlock.html" title="struct syn::ExprTryBlock">ExprTryBlock</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_tuple" class="fn">fold_expr_tuple</a>(&mut self, i: <a class="struct" href="../struct.ExprTuple.html" title="struct syn::ExprTuple">ExprTuple</a>) -> <a class="struct" href="../struct.ExprTuple.html" title="struct syn::ExprTuple">ExprTuple</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_unary" class="fn">fold_expr_unary</a>(&mut self, i: <a class="struct" href="../struct.ExprUnary.html" title="struct syn::ExprUnary">ExprUnary</a>) -> <a class="struct" href="../struct.ExprUnary.html" title="struct syn::ExprUnary">ExprUnary</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_unsafe" class="fn">fold_expr_unsafe</a>(&mut self, i: <a class="struct" href="../struct.ExprUnsafe.html" title="struct syn::ExprUnsafe">ExprUnsafe</a>) -> <a class="struct" href="../struct.ExprUnsafe.html" title="struct syn::ExprUnsafe">ExprUnsafe</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_while" class="fn">fold_expr_while</a>(&mut self, i: <a class="struct" href="../struct.ExprWhile.html" title="struct syn::ExprWhile">ExprWhile</a>) -> <a class="struct" href="../struct.ExprWhile.html" title="struct syn::ExprWhile">ExprWhile</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_expr_yield" class="fn">fold_expr_yield</a>(&mut self, i: <a class="struct" href="../struct.ExprYield.html" title="struct syn::ExprYield">ExprYield</a>) -> <a class="struct" href="../struct.ExprYield.html" title="struct syn::ExprYield">ExprYield</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_field" class="fn">fold_field</a>(&mut self, i: <a class="struct" href="../struct.Field.html" title="struct syn::Field">Field</a>) -> <a class="struct" href="../struct.Field.html" title="struct syn::Field">Field</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_field_mutability" class="fn">fold_field_mutability</a>(&mut self, i: <a class="enum" href="../enum.FieldMutability.html" title="enum syn::FieldMutability">FieldMutability</a>) -> <a class="enum" href="../enum.FieldMutability.html" title="enum syn::FieldMutability">FieldMutability</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_field_pat" class="fn">fold_field_pat</a>(&mut self, i: <a class="struct" href="../struct.FieldPat.html" title="struct syn::FieldPat">FieldPat</a>) -> <a class="struct" href="../struct.FieldPat.html" title="struct syn::FieldPat">FieldPat</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_field_value" class="fn">fold_field_value</a>(&mut self, i: <a class="struct" href="../struct.FieldValue.html" title="struct syn::FieldValue">FieldValue</a>) -> <a class="struct" href="../struct.FieldValue.html" title="struct syn::FieldValue">FieldValue</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_fields" class="fn">fold_fields</a>(&mut self, i: <a class="enum" href="../enum.Fields.html" title="enum syn::Fields">Fields</a>) -> <a class="enum" href="../enum.Fields.html" title="enum syn::Fields">Fields</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_fields_named" class="fn">fold_fields_named</a>(&mut self, i: <a class="struct" href="../struct.FieldsNamed.html" title="struct syn::FieldsNamed">FieldsNamed</a>) -> <a class="struct" href="../struct.FieldsNamed.html" title="struct syn::FieldsNamed">FieldsNamed</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_fields_unnamed" class="fn">fold_fields_unnamed</a>(&mut self, i: <a class="struct" href="../struct.FieldsUnnamed.html" title="struct syn::FieldsUnnamed">FieldsUnnamed</a>) -> <a class="struct" href="../struct.FieldsUnnamed.html" title="struct syn::FieldsUnnamed">FieldsUnnamed</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_file" class="fn">fold_file</a>(&mut self, i: <a class="struct" href="../struct.File.html" title="struct syn::File">File</a>) -> <a class="struct" href="../struct.File.html" title="struct syn::File">File</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_fn_arg" class="fn">fold_fn_arg</a>(&mut self, i: <a class="enum" href="../enum.FnArg.html" title="enum syn::FnArg">FnArg</a>) -> <a class="enum" href="../enum.FnArg.html" title="enum syn::FnArg">FnArg</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_foreign_item" class="fn">fold_foreign_item</a>(&mut self, i: <a class="enum" href="../enum.ForeignItem.html" title="enum syn::ForeignItem">ForeignItem</a>) -> <a class="enum" href="../enum.ForeignItem.html" title="enum syn::ForeignItem">ForeignItem</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_foreign_item_fn" class="fn">fold_foreign_item_fn</a>(&mut self, i: <a class="struct" href="../struct.ForeignItemFn.html" title="struct syn::ForeignItemFn">ForeignItemFn</a>) -> <a class="struct" href="../struct.ForeignItemFn.html" title="struct syn::ForeignItemFn">ForeignItemFn</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_foreign_item_macro" class="fn">fold_foreign_item_macro</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.ForeignItemMacro.html" title="struct syn::ForeignItemMacro">ForeignItemMacro</a>
|
|||
|
) -> <a class="struct" href="../struct.ForeignItemMacro.html" title="struct syn::ForeignItemMacro">ForeignItemMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_foreign_item_static" class="fn">fold_foreign_item_static</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.ForeignItemStatic.html" title="struct syn::ForeignItemStatic">ForeignItemStatic</a>
|
|||
|
) -> <a class="struct" href="../struct.ForeignItemStatic.html" title="struct syn::ForeignItemStatic">ForeignItemStatic</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_foreign_item_type" class="fn">fold_foreign_item_type</a>(&mut self, i: <a class="struct" href="../struct.ForeignItemType.html" title="struct syn::ForeignItemType">ForeignItemType</a>) -> <a class="struct" href="../struct.ForeignItemType.html" title="struct syn::ForeignItemType">ForeignItemType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_generic_argument" class="fn">fold_generic_argument</a>(&mut self, i: <a class="enum" href="../enum.GenericArgument.html" title="enum syn::GenericArgument">GenericArgument</a>) -> <a class="enum" href="../enum.GenericArgument.html" title="enum syn::GenericArgument">GenericArgument</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_generic_param" class="fn">fold_generic_param</a>(&mut self, i: <a class="enum" href="../enum.GenericParam.html" title="enum syn::GenericParam">GenericParam</a>) -> <a class="enum" href="../enum.GenericParam.html" title="enum syn::GenericParam">GenericParam</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_generics" class="fn">fold_generics</a>(&mut self, i: <a class="struct" href="../struct.Generics.html" title="struct syn::Generics">Generics</a>) -> <a class="struct" href="../struct.Generics.html" title="struct syn::Generics">Generics</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_ident" class="fn">fold_ident</a>(&mut self, i: <a class="struct" href="../struct.Ident.html" title="struct syn::Ident">Ident</a>) -> <a class="struct" href="../struct.Ident.html" title="struct syn::Ident">Ident</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_impl_item" class="fn">fold_impl_item</a>(&mut self, i: <a class="enum" href="../enum.ImplItem.html" title="enum syn::ImplItem">ImplItem</a>) -> <a class="enum" href="../enum.ImplItem.html" title="enum syn::ImplItem">ImplItem</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_impl_item_const" class="fn">fold_impl_item_const</a>(&mut self, i: <a class="struct" href="../struct.ImplItemConst.html" title="struct syn::ImplItemConst">ImplItemConst</a>) -> <a class="struct" href="../struct.ImplItemConst.html" title="struct syn::ImplItemConst">ImplItemConst</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_impl_item_fn" class="fn">fold_impl_item_fn</a>(&mut self, i: <a class="struct" href="../struct.ImplItemFn.html" title="struct syn::ImplItemFn">ImplItemFn</a>) -> <a class="struct" href="../struct.ImplItemFn.html" title="struct syn::ImplItemFn">ImplItemFn</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_impl_item_macro" class="fn">fold_impl_item_macro</a>(&mut self, i: <a class="struct" href="../struct.ImplItemMacro.html" title="struct syn::ImplItemMacro">ImplItemMacro</a>) -> <a class="struct" href="../struct.ImplItemMacro.html" title="struct syn::ImplItemMacro">ImplItemMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_impl_item_type" class="fn">fold_impl_item_type</a>(&mut self, i: <a class="struct" href="../struct.ImplItemType.html" title="struct syn::ImplItemType">ImplItemType</a>) -> <a class="struct" href="../struct.ImplItemType.html" title="struct syn::ImplItemType">ImplItemType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_impl_restriction" class="fn">fold_impl_restriction</a>(&mut self, i: <a class="enum" href="../enum.ImplRestriction.html" title="enum syn::ImplRestriction">ImplRestriction</a>) -> <a class="enum" href="../enum.ImplRestriction.html" title="enum syn::ImplRestriction">ImplRestriction</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_index" class="fn">fold_index</a>(&mut self, i: <a class="struct" href="../struct.Index.html" title="struct syn::Index">Index</a>) -> <a class="struct" href="../struct.Index.html" title="struct syn::Index">Index</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item" class="fn">fold_item</a>(&mut self, i: <a class="enum" href="../enum.Item.html" title="enum syn::Item">Item</a>) -> <a class="enum" href="../enum.Item.html" title="enum syn::Item">Item</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_const" class="fn">fold_item_const</a>(&mut self, i: <a class="struct" href="../struct.ItemConst.html" title="struct syn::ItemConst">ItemConst</a>) -> <a class="struct" href="../struct.ItemConst.html" title="struct syn::ItemConst">ItemConst</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_enum" class="fn">fold_item_enum</a>(&mut self, i: <a class="struct" href="../struct.ItemEnum.html" title="struct syn::ItemEnum">ItemEnum</a>) -> <a class="struct" href="../struct.ItemEnum.html" title="struct syn::ItemEnum">ItemEnum</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_extern_crate" class="fn">fold_item_extern_crate</a>(&mut self, i: <a class="struct" href="../struct.ItemExternCrate.html" title="struct syn::ItemExternCrate">ItemExternCrate</a>) -> <a class="struct" href="../struct.ItemExternCrate.html" title="struct syn::ItemExternCrate">ItemExternCrate</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_fn" class="fn">fold_item_fn</a>(&mut self, i: <a class="struct" href="../struct.ItemFn.html" title="struct syn::ItemFn">ItemFn</a>) -> <a class="struct" href="../struct.ItemFn.html" title="struct syn::ItemFn">ItemFn</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_foreign_mod" class="fn">fold_item_foreign_mod</a>(&mut self, i: <a class="struct" href="../struct.ItemForeignMod.html" title="struct syn::ItemForeignMod">ItemForeignMod</a>) -> <a class="struct" href="../struct.ItemForeignMod.html" title="struct syn::ItemForeignMod">ItemForeignMod</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_impl" class="fn">fold_item_impl</a>(&mut self, i: <a class="struct" href="../struct.ItemImpl.html" title="struct syn::ItemImpl">ItemImpl</a>) -> <a class="struct" href="../struct.ItemImpl.html" title="struct syn::ItemImpl">ItemImpl</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_macro" class="fn">fold_item_macro</a>(&mut self, i: <a class="struct" href="../struct.ItemMacro.html" title="struct syn::ItemMacro">ItemMacro</a>) -> <a class="struct" href="../struct.ItemMacro.html" title="struct syn::ItemMacro">ItemMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_mod" class="fn">fold_item_mod</a>(&mut self, i: <a class="struct" href="../struct.ItemMod.html" title="struct syn::ItemMod">ItemMod</a>) -> <a class="struct" href="../struct.ItemMod.html" title="struct syn::ItemMod">ItemMod</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_static" class="fn">fold_item_static</a>(&mut self, i: <a class="struct" href="../struct.ItemStatic.html" title="struct syn::ItemStatic">ItemStatic</a>) -> <a class="struct" href="../struct.ItemStatic.html" title="struct syn::ItemStatic">ItemStatic</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_struct" class="fn">fold_item_struct</a>(&mut self, i: <a class="struct" href="../struct.ItemStruct.html" title="struct syn::ItemStruct">ItemStruct</a>) -> <a class="struct" href="../struct.ItemStruct.html" title="struct syn::ItemStruct">ItemStruct</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_trait" class="fn">fold_item_trait</a>(&mut self, i: <a class="struct" href="../struct.ItemTrait.html" title="struct syn::ItemTrait">ItemTrait</a>) -> <a class="struct" href="../struct.ItemTrait.html" title="struct syn::ItemTrait">ItemTrait</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_trait_alias" class="fn">fold_item_trait_alias</a>(&mut self, i: <a class="struct" href="../struct.ItemTraitAlias.html" title="struct syn::ItemTraitAlias">ItemTraitAlias</a>) -> <a class="struct" href="../struct.ItemTraitAlias.html" title="struct syn::ItemTraitAlias">ItemTraitAlias</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_type" class="fn">fold_item_type</a>(&mut self, i: <a class="struct" href="../struct.ItemType.html" title="struct syn::ItemType">ItemType</a>) -> <a class="struct" href="../struct.ItemType.html" title="struct syn::ItemType">ItemType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_union" class="fn">fold_item_union</a>(&mut self, i: <a class="struct" href="../struct.ItemUnion.html" title="struct syn::ItemUnion">ItemUnion</a>) -> <a class="struct" href="../struct.ItemUnion.html" title="struct syn::ItemUnion">ItemUnion</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_item_use" class="fn">fold_item_use</a>(&mut self, i: <a class="struct" href="../struct.ItemUse.html" title="struct syn::ItemUse">ItemUse</a>) -> <a class="struct" href="../struct.ItemUse.html" title="struct syn::ItemUse">ItemUse</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_label" class="fn">fold_label</a>(&mut self, i: <a class="struct" href="../struct.Label.html" title="struct syn::Label">Label</a>) -> <a class="struct" href="../struct.Label.html" title="struct syn::Label">Label</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lifetime" class="fn">fold_lifetime</a>(&mut self, i: <a class="struct" href="../struct.Lifetime.html" title="struct syn::Lifetime">Lifetime</a>) -> <a class="struct" href="../struct.Lifetime.html" title="struct syn::Lifetime">Lifetime</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lifetime_param" class="fn">fold_lifetime_param</a>(&mut self, i: <a class="struct" href="../struct.LifetimeParam.html" title="struct syn::LifetimeParam">LifetimeParam</a>) -> <a class="struct" href="../struct.LifetimeParam.html" title="struct syn::LifetimeParam">LifetimeParam</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit" class="fn">fold_lit</a>(&mut self, i: <a class="enum" href="../enum.Lit.html" title="enum syn::Lit">Lit</a>) -> <a class="enum" href="../enum.Lit.html" title="enum syn::Lit">Lit</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_bool" class="fn">fold_lit_bool</a>(&mut self, i: <a class="struct" href="../struct.LitBool.html" title="struct syn::LitBool">LitBool</a>) -> <a class="struct" href="../struct.LitBool.html" title="struct syn::LitBool">LitBool</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_byte" class="fn">fold_lit_byte</a>(&mut self, i: <a class="struct" href="../struct.LitByte.html" title="struct syn::LitByte">LitByte</a>) -> <a class="struct" href="../struct.LitByte.html" title="struct syn::LitByte">LitByte</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_byte_str" class="fn">fold_lit_byte_str</a>(&mut self, i: <a class="struct" href="../struct.LitByteStr.html" title="struct syn::LitByteStr">LitByteStr</a>) -> <a class="struct" href="../struct.LitByteStr.html" title="struct syn::LitByteStr">LitByteStr</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_char" class="fn">fold_lit_char</a>(&mut self, i: <a class="struct" href="../struct.LitChar.html" title="struct syn::LitChar">LitChar</a>) -> <a class="struct" href="../struct.LitChar.html" title="struct syn::LitChar">LitChar</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_float" class="fn">fold_lit_float</a>(&mut self, i: <a class="struct" href="../struct.LitFloat.html" title="struct syn::LitFloat">LitFloat</a>) -> <a class="struct" href="../struct.LitFloat.html" title="struct syn::LitFloat">LitFloat</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_int" class="fn">fold_lit_int</a>(&mut self, i: <a class="struct" href="../struct.LitInt.html" title="struct syn::LitInt">LitInt</a>) -> <a class="struct" href="../struct.LitInt.html" title="struct syn::LitInt">LitInt</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_lit_str" class="fn">fold_lit_str</a>(&mut self, i: <a class="struct" href="../struct.LitStr.html" title="struct syn::LitStr">LitStr</a>) -> <a class="struct" href="../struct.LitStr.html" title="struct syn::LitStr">LitStr</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_local" class="fn">fold_local</a>(&mut self, i: <a class="struct" href="../struct.Local.html" title="struct syn::Local">Local</a>) -> <a class="struct" href="../struct.Local.html" title="struct syn::Local">Local</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_local_init" class="fn">fold_local_init</a>(&mut self, i: <a class="struct" href="../struct.LocalInit.html" title="struct syn::LocalInit">LocalInit</a>) -> <a class="struct" href="../struct.LocalInit.html" title="struct syn::LocalInit">LocalInit</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_macro" class="fn">fold_macro</a>(&mut self, i: <a class="struct" href="../struct.Macro.html" title="struct syn::Macro">Macro</a>) -> <a class="struct" href="../struct.Macro.html" title="struct syn::Macro">Macro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_macro_delimiter" class="fn">fold_macro_delimiter</a>(&mut self, i: <a class="enum" href="../enum.MacroDelimiter.html" title="enum syn::MacroDelimiter">MacroDelimiter</a>) -> <a class="enum" href="../enum.MacroDelimiter.html" title="enum syn::MacroDelimiter">MacroDelimiter</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_member" class="fn">fold_member</a>(&mut self, i: <a class="enum" href="../enum.Member.html" title="enum syn::Member">Member</a>) -> <a class="enum" href="../enum.Member.html" title="enum syn::Member">Member</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_meta" class="fn">fold_meta</a>(&mut self, i: <a class="enum" href="../enum.Meta.html" title="enum syn::Meta">Meta</a>) -> <a class="enum" href="../enum.Meta.html" title="enum syn::Meta">Meta</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_meta_list" class="fn">fold_meta_list</a>(&mut self, i: <a class="struct" href="../struct.MetaList.html" title="struct syn::MetaList">MetaList</a>) -> <a class="struct" href="../struct.MetaList.html" title="struct syn::MetaList">MetaList</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_meta_name_value" class="fn">fold_meta_name_value</a>(&mut self, i: <a class="struct" href="../struct.MetaNameValue.html" title="struct syn::MetaNameValue">MetaNameValue</a>) -> <a class="struct" href="../struct.MetaNameValue.html" title="struct syn::MetaNameValue">MetaNameValue</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_parenthesized_generic_arguments" class="fn">fold_parenthesized_generic_arguments</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.ParenthesizedGenericArguments.html" title="struct syn::ParenthesizedGenericArguments">ParenthesizedGenericArguments</a>
|
|||
|
) -> <a class="struct" href="../struct.ParenthesizedGenericArguments.html" title="struct syn::ParenthesizedGenericArguments">ParenthesizedGenericArguments</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat" class="fn">fold_pat</a>(&mut self, i: <a class="enum" href="../enum.Pat.html" title="enum syn::Pat">Pat</a>) -> <a class="enum" href="../enum.Pat.html" title="enum syn::Pat">Pat</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_ident" class="fn">fold_pat_ident</a>(&mut self, i: <a class="struct" href="../struct.PatIdent.html" title="struct syn::PatIdent">PatIdent</a>) -> <a class="struct" href="../struct.PatIdent.html" title="struct syn::PatIdent">PatIdent</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_or" class="fn">fold_pat_or</a>(&mut self, i: <a class="struct" href="../struct.PatOr.html" title="struct syn::PatOr">PatOr</a>) -> <a class="struct" href="../struct.PatOr.html" title="struct syn::PatOr">PatOr</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_paren" class="fn">fold_pat_paren</a>(&mut self, i: <a class="struct" href="../struct.PatParen.html" title="struct syn::PatParen">PatParen</a>) -> <a class="struct" href="../struct.PatParen.html" title="struct syn::PatParen">PatParen</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_reference" class="fn">fold_pat_reference</a>(&mut self, i: <a class="struct" href="../struct.PatReference.html" title="struct syn::PatReference">PatReference</a>) -> <a class="struct" href="../struct.PatReference.html" title="struct syn::PatReference">PatReference</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_rest" class="fn">fold_pat_rest</a>(&mut self, i: <a class="struct" href="../struct.PatRest.html" title="struct syn::PatRest">PatRest</a>) -> <a class="struct" href="../struct.PatRest.html" title="struct syn::PatRest">PatRest</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_slice" class="fn">fold_pat_slice</a>(&mut self, i: <a class="struct" href="../struct.PatSlice.html" title="struct syn::PatSlice">PatSlice</a>) -> <a class="struct" href="../struct.PatSlice.html" title="struct syn::PatSlice">PatSlice</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_struct" class="fn">fold_pat_struct</a>(&mut self, i: <a class="struct" href="../struct.PatStruct.html" title="struct syn::PatStruct">PatStruct</a>) -> <a class="struct" href="../struct.PatStruct.html" title="struct syn::PatStruct">PatStruct</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_tuple" class="fn">fold_pat_tuple</a>(&mut self, i: <a class="struct" href="../struct.PatTuple.html" title="struct syn::PatTuple">PatTuple</a>) -> <a class="struct" href="../struct.PatTuple.html" title="struct syn::PatTuple">PatTuple</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_tuple_struct" class="fn">fold_pat_tuple_struct</a>(&mut self, i: <a class="struct" href="../struct.PatTupleStruct.html" title="struct syn::PatTupleStruct">PatTupleStruct</a>) -> <a class="struct" href="../struct.PatTupleStruct.html" title="struct syn::PatTupleStruct">PatTupleStruct</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_type" class="fn">fold_pat_type</a>(&mut self, i: <a class="struct" href="../struct.PatType.html" title="struct syn::PatType">PatType</a>) -> <a class="struct" href="../struct.PatType.html" title="struct syn::PatType">PatType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_pat_wild" class="fn">fold_pat_wild</a>(&mut self, i: <a class="struct" href="../struct.PatWild.html" title="struct syn::PatWild">PatWild</a>) -> <a class="struct" href="../struct.PatWild.html" title="struct syn::PatWild">PatWild</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_path" class="fn">fold_path</a>(&mut self, i: <a class="struct" href="../struct.Path.html" title="struct syn::Path">Path</a>) -> <a class="struct" href="../struct.Path.html" title="struct syn::Path">Path</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_path_arguments" class="fn">fold_path_arguments</a>(&mut self, i: <a class="enum" href="../enum.PathArguments.html" title="enum syn::PathArguments">PathArguments</a>) -> <a class="enum" href="../enum.PathArguments.html" title="enum syn::PathArguments">PathArguments</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_path_segment" class="fn">fold_path_segment</a>(&mut self, i: <a class="struct" href="../struct.PathSegment.html" title="struct syn::PathSegment">PathSegment</a>) -> <a class="struct" href="../struct.PathSegment.html" title="struct syn::PathSegment">PathSegment</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_predicate_lifetime" class="fn">fold_predicate_lifetime</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.PredicateLifetime.html" title="struct syn::PredicateLifetime">PredicateLifetime</a>
|
|||
|
) -> <a class="struct" href="../struct.PredicateLifetime.html" title="struct syn::PredicateLifetime">PredicateLifetime</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_predicate_type" class="fn">fold_predicate_type</a>(&mut self, i: <a class="struct" href="../struct.PredicateType.html" title="struct syn::PredicateType">PredicateType</a>) -> <a class="struct" href="../struct.PredicateType.html" title="struct syn::PredicateType">PredicateType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_qself" class="fn">fold_qself</a>(&mut self, i: <a class="struct" href="../struct.QSelf.html" title="struct syn::QSelf">QSelf</a>) -> <a class="struct" href="../struct.QSelf.html" title="struct syn::QSelf">QSelf</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_range_limits" class="fn">fold_range_limits</a>(&mut self, i: <a class="enum" href="../enum.RangeLimits.html" title="enum syn::RangeLimits">RangeLimits</a>) -> <a class="enum" href="../enum.RangeLimits.html" title="enum syn::RangeLimits">RangeLimits</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_receiver" class="fn">fold_receiver</a>(&mut self, i: <a class="struct" href="../struct.Receiver.html" title="struct syn::Receiver">Receiver</a>) -> <a class="struct" href="../struct.Receiver.html" title="struct syn::Receiver">Receiver</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_return_type" class="fn">fold_return_type</a>(&mut self, i: <a class="enum" href="../enum.ReturnType.html" title="enum syn::ReturnType">ReturnType</a>) -> <a class="enum" href="../enum.ReturnType.html" title="enum syn::ReturnType">ReturnType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_signature" class="fn">fold_signature</a>(&mut self, i: <a class="struct" href="../struct.Signature.html" title="struct syn::Signature">Signature</a>) -> <a class="struct" href="../struct.Signature.html" title="struct syn::Signature">Signature</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_span" class="fn">fold_span</a>(&mut self, i: <a class="struct" href="../../proc_macro2/struct.Span.html" title="struct proc_macro2::Span">Span</a>) -> <a class="struct" href="../../proc_macro2/struct.Span.html" title="struct proc_macro2::Span">Span</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_static_mutability" class="fn">fold_static_mutability</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="enum" href="../enum.StaticMutability.html" title="enum syn::StaticMutability">StaticMutability</a>
|
|||
|
) -> <a class="enum" href="../enum.StaticMutability.html" title="enum syn::StaticMutability">StaticMutability</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_stmt" class="fn">fold_stmt</a>(&mut self, i: <a class="enum" href="../enum.Stmt.html" title="enum syn::Stmt">Stmt</a>) -> <a class="enum" href="../enum.Stmt.html" title="enum syn::Stmt">Stmt</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_stmt_macro" class="fn">fold_stmt_macro</a>(&mut self, i: <a class="struct" href="../struct.StmtMacro.html" title="struct syn::StmtMacro">StmtMacro</a>) -> <a class="struct" href="../struct.StmtMacro.html" title="struct syn::StmtMacro">StmtMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_bound" class="fn">fold_trait_bound</a>(&mut self, i: <a class="struct" href="../struct.TraitBound.html" title="struct syn::TraitBound">TraitBound</a>) -> <a class="struct" href="../struct.TraitBound.html" title="struct syn::TraitBound">TraitBound</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_bound_modifier" class="fn">fold_trait_bound_modifier</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="enum" href="../enum.TraitBoundModifier.html" title="enum syn::TraitBoundModifier">TraitBoundModifier</a>
|
|||
|
) -> <a class="enum" href="../enum.TraitBoundModifier.html" title="enum syn::TraitBoundModifier">TraitBoundModifier</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_item" class="fn">fold_trait_item</a>(&mut self, i: <a class="enum" href="../enum.TraitItem.html" title="enum syn::TraitItem">TraitItem</a>) -> <a class="enum" href="../enum.TraitItem.html" title="enum syn::TraitItem">TraitItem</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_item_const" class="fn">fold_trait_item_const</a>(&mut self, i: <a class="struct" href="../struct.TraitItemConst.html" title="struct syn::TraitItemConst">TraitItemConst</a>) -> <a class="struct" href="../struct.TraitItemConst.html" title="struct syn::TraitItemConst">TraitItemConst</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_item_fn" class="fn">fold_trait_item_fn</a>(&mut self, i: <a class="struct" href="../struct.TraitItemFn.html" title="struct syn::TraitItemFn">TraitItemFn</a>) -> <a class="struct" href="../struct.TraitItemFn.html" title="struct syn::TraitItemFn">TraitItemFn</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_item_macro" class="fn">fold_trait_item_macro</a>(&mut self, i: <a class="struct" href="../struct.TraitItemMacro.html" title="struct syn::TraitItemMacro">TraitItemMacro</a>) -> <a class="struct" href="../struct.TraitItemMacro.html" title="struct syn::TraitItemMacro">TraitItemMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_trait_item_type" class="fn">fold_trait_item_type</a>(&mut self, i: <a class="struct" href="../struct.TraitItemType.html" title="struct syn::TraitItemType">TraitItemType</a>) -> <a class="struct" href="../struct.TraitItemType.html" title="struct syn::TraitItemType">TraitItemType</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type" class="fn">fold_type</a>(&mut self, i: <a class="enum" href="../enum.Type.html" title="enum syn::Type">Type</a>) -> <a class="enum" href="../enum.Type.html" title="enum syn::Type">Type</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_array" class="fn">fold_type_array</a>(&mut self, i: <a class="struct" href="../struct.TypeArray.html" title="struct syn::TypeArray">TypeArray</a>) -> <a class="struct" href="../struct.TypeArray.html" title="struct syn::TypeArray">TypeArray</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_bare_fn" class="fn">fold_type_bare_fn</a>(&mut self, i: <a class="struct" href="../struct.TypeBareFn.html" title="struct syn::TypeBareFn">TypeBareFn</a>) -> <a class="struct" href="../struct.TypeBareFn.html" title="struct syn::TypeBareFn">TypeBareFn</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_group" class="fn">fold_type_group</a>(&mut self, i: <a class="struct" href="../struct.TypeGroup.html" title="struct syn::TypeGroup">TypeGroup</a>) -> <a class="struct" href="../struct.TypeGroup.html" title="struct syn::TypeGroup">TypeGroup</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_impl_trait" class="fn">fold_type_impl_trait</a>(&mut self, i: <a class="struct" href="../struct.TypeImplTrait.html" title="struct syn::TypeImplTrait">TypeImplTrait</a>) -> <a class="struct" href="../struct.TypeImplTrait.html" title="struct syn::TypeImplTrait">TypeImplTrait</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_infer" class="fn">fold_type_infer</a>(&mut self, i: <a class="struct" href="../struct.TypeInfer.html" title="struct syn::TypeInfer">TypeInfer</a>) -> <a class="struct" href="../struct.TypeInfer.html" title="struct syn::TypeInfer">TypeInfer</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_macro" class="fn">fold_type_macro</a>(&mut self, i: <a class="struct" href="../struct.TypeMacro.html" title="struct syn::TypeMacro">TypeMacro</a>) -> <a class="struct" href="../struct.TypeMacro.html" title="struct syn::TypeMacro">TypeMacro</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_never" class="fn">fold_type_never</a>(&mut self, i: <a class="struct" href="../struct.TypeNever.html" title="struct syn::TypeNever">TypeNever</a>) -> <a class="struct" href="../struct.TypeNever.html" title="struct syn::TypeNever">TypeNever</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_param" class="fn">fold_type_param</a>(&mut self, i: <a class="struct" href="../struct.TypeParam.html" title="struct syn::TypeParam">TypeParam</a>) -> <a class="struct" href="../struct.TypeParam.html" title="struct syn::TypeParam">TypeParam</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_param_bound" class="fn">fold_type_param_bound</a>(&mut self, i: <a class="enum" href="../enum.TypeParamBound.html" title="enum syn::TypeParamBound">TypeParamBound</a>) -> <a class="enum" href="../enum.TypeParamBound.html" title="enum syn::TypeParamBound">TypeParamBound</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_paren" class="fn">fold_type_paren</a>(&mut self, i: <a class="struct" href="../struct.TypeParen.html" title="struct syn::TypeParen">TypeParen</a>) -> <a class="struct" href="../struct.TypeParen.html" title="struct syn::TypeParen">TypeParen</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_path" class="fn">fold_type_path</a>(&mut self, i: <a class="struct" href="../struct.TypePath.html" title="struct syn::TypePath">TypePath</a>) -> <a class="struct" href="../struct.TypePath.html" title="struct syn::TypePath">TypePath</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_ptr" class="fn">fold_type_ptr</a>(&mut self, i: <a class="struct" href="../struct.TypePtr.html" title="struct syn::TypePtr">TypePtr</a>) -> <a class="struct" href="../struct.TypePtr.html" title="struct syn::TypePtr">TypePtr</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_reference" class="fn">fold_type_reference</a>(&mut self, i: <a class="struct" href="../struct.TypeReference.html" title="struct syn::TypeReference">TypeReference</a>) -> <a class="struct" href="../struct.TypeReference.html" title="struct syn::TypeReference">TypeReference</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_slice" class="fn">fold_type_slice</a>(&mut self, i: <a class="struct" href="../struct.TypeSlice.html" title="struct syn::TypeSlice">TypeSlice</a>) -> <a class="struct" href="../struct.TypeSlice.html" title="struct syn::TypeSlice">TypeSlice</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_trait_object" class="fn">fold_type_trait_object</a>(&mut self, i: <a class="struct" href="../struct.TypeTraitObject.html" title="struct syn::TypeTraitObject">TypeTraitObject</a>) -> <a class="struct" href="../struct.TypeTraitObject.html" title="struct syn::TypeTraitObject">TypeTraitObject</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_type_tuple" class="fn">fold_type_tuple</a>(&mut self, i: <a class="struct" href="../struct.TypeTuple.html" title="struct syn::TypeTuple">TypeTuple</a>) -> <a class="struct" href="../struct.TypeTuple.html" title="struct syn::TypeTuple">TypeTuple</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_un_op" class="fn">fold_un_op</a>(&mut self, i: <a class="enum" href="../enum.UnOp.html" title="enum syn::UnOp">UnOp</a>) -> <a class="enum" href="../enum.UnOp.html" title="enum syn::UnOp">UnOp</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_use_glob" class="fn">fold_use_glob</a>(&mut self, i: <a class="struct" href="../struct.UseGlob.html" title="struct syn::UseGlob">UseGlob</a>) -> <a class="struct" href="../struct.UseGlob.html" title="struct syn::UseGlob">UseGlob</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_use_group" class="fn">fold_use_group</a>(&mut self, i: <a class="struct" href="../struct.UseGroup.html" title="struct syn::UseGroup">UseGroup</a>) -> <a class="struct" href="../struct.UseGroup.html" title="struct syn::UseGroup">UseGroup</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_use_name" class="fn">fold_use_name</a>(&mut self, i: <a class="struct" href="../struct.UseName.html" title="struct syn::UseName">UseName</a>) -> <a class="struct" href="../struct.UseName.html" title="struct syn::UseName">UseName</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_use_path" class="fn">fold_use_path</a>(&mut self, i: <a class="struct" href="../struct.UsePath.html" title="struct syn::UsePath">UsePath</a>) -> <a class="struct" href="../struct.UsePath.html" title="struct syn::UsePath">UsePath</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_use_rename" class="fn">fold_use_rename</a>(&mut self, i: <a class="struct" href="../struct.UseRename.html" title="struct syn::UseRename">UseRename</a>) -> <a class="struct" href="../struct.UseRename.html" title="struct syn::UseRename">UseRename</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_use_tree" class="fn">fold_use_tree</a>(&mut self, i: <a class="enum" href="../enum.UseTree.html" title="enum syn::UseTree">UseTree</a>) -> <a class="enum" href="../enum.UseTree.html" title="enum syn::UseTree">UseTree</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_variadic" class="fn">fold_variadic</a>(&mut self, i: <a class="struct" href="../struct.Variadic.html" title="struct syn::Variadic">Variadic</a>) -> <a class="struct" href="../struct.Variadic.html" title="struct syn::Variadic">Variadic</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_variant" class="fn">fold_variant</a>(&mut self, i: <a class="struct" href="../struct.Variant.html" title="struct syn::Variant">Variant</a>) -> <a class="struct" href="../struct.Variant.html" title="struct syn::Variant">Variant</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_vis_restricted" class="fn">fold_vis_restricted</a>(&mut self, i: <a class="struct" href="../struct.VisRestricted.html" title="struct syn::VisRestricted">VisRestricted</a>) -> <a class="struct" href="../struct.VisRestricted.html" title="struct syn::VisRestricted">VisRestricted</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_visibility" class="fn">fold_visibility</a>(&mut self, i: <a class="enum" href="../enum.Visibility.html" title="enum syn::Visibility">Visibility</a>) -> <a class="enum" href="../enum.Visibility.html" title="enum syn::Visibility">Visibility</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_where_clause" class="fn">fold_where_clause</a>(&mut self, i: <a class="struct" href="../struct.WhereClause.html" title="struct syn::WhereClause">WhereClause</a>) -> <a class="struct" href="../struct.WhereClause.html" title="struct syn::WhereClause">WhereClause</a> { ... }
|
|||
|
<span class="item-spacer"></span> fn <a href="#method.fold_where_predicate" class="fn">fold_where_predicate</a>(&mut self, i: <a class="enum" href="../enum.WherePredicate.html" title="enum syn::WherePredicate">WherePredicate</a>) -> <a class="enum" href="../enum.WherePredicate.html" title="enum syn::WherePredicate">WherePredicate</a> { ... }
|
|||
|
</details>}</code></pre><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>See the <a href="index.html" title="mod syn::fold">module documentation</a> for details.</p>
|
|||
|
</div></details><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.fold_abi" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#34-36">source</a><h4 class="code-header">fn <a href="#method.fold_abi" class="fn">fold_abi</a>(&mut self, i: <a class="struct" href="../struct.Abi.html" title="struct syn::Abi">Abi</a>) -> <a class="struct" href="../struct.Abi.html" title="struct syn::Abi">Abi</a></h4></section><section id="method.fold_angle_bracketed_generic_arguments" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#39-44">source</a><h4 class="code-header">fn <a href="#method.fold_angle_bracketed_generic_arguments" class="fn">fold_angle_bracketed_generic_arguments</a>(
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.AngleBracketedGenericArguments.html" title="struct syn::AngleBracketedGenericArguments">AngleBracketedGenericArguments</a>
|
|||
|
) -> <a class="struct" href="../struct.AngleBracketedGenericArguments.html" title="struct syn::AngleBracketedGenericArguments">AngleBracketedGenericArguments</a></h4></section><section id="method.fold_arm" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#47-49">source</a><h4 class="code-header">fn <a href="#method.fold_arm" class="fn">fold_arm</a>(&mut self, i: <a class="struct" href="../struct.Arm.html" title="struct syn::Arm">Arm</a>) -> <a class="struct" href="../struct.Arm.html" title="struct syn::Arm">Arm</a></h4></section><section id="method.fold_assoc_const" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#52-54">source</a><h4 class="code-header">fn <a href="#method.fold_assoc_const" class="fn">fold_assoc_const</a>(&mut self, i: <a class="struct" href="../struct.AssocConst.html" title="struct syn::AssocConst">AssocConst</a>) -> <a class="struct" href="../struct.AssocConst.html" title="struct syn::AssocConst">AssocConst</a></h4></section><section id="method.fold_assoc_type" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#57-59">source</a><h4 class="code-header">fn <a href="#method.fold_assoc_type" class="fn">fold_assoc_type</a>(&mut self, i: <a class="struct" href="../struct.AssocType.html" title="struct syn::AssocType">AssocType</a>) -> <a class="struct" href="../struct.AssocType.html" title="struct syn::AssocType">AssocType</a></h4></section><section id="method.fold_attr_style" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#62-64">source</a><h4 class="code-header">fn <a href="#method.fold_attr_style" class="fn">fold_attr_style</a>(&mut self, i: <a class="enum" href="../enum.AttrStyle.html" title="enum syn::AttrStyle">AttrStyle</a>) -> <a class="enum" href="../enum.AttrStyle.html" title="enum syn::AttrStyle">AttrStyle</a></h4></section><section id="method.fold_attribute" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#67-69">source</a><h4 class="code-header">fn <a href="#method.fold_attribute" class="fn">fold_attribute</a>(&mut self, i: <a class="struct" href="../struct.Attribute.html" title="struct syn::Attribute">Attribute</a>) -> <a class="struct" href="../struct.Attribute.html" title="struct syn::Attribute">Attribute</a></h4></section><section id="method.fold_bare_fn_arg" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#72-74">source</a><h4 class="code-header">fn <a href="#method.fold_bare_fn_arg" class="fn">fold_bare_fn_arg</a>(&mut self, i: <a class="struct" href="../struct.BareFnArg.html" title="struct syn::BareFnArg">BareFnArg</a>) -> <a class="struct" href="../struct.BareFnArg.html" title="struct syn::BareFnArg">BareFnArg</a></h4></section><section id="method.fold_bare_variadic" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#77-79">source</a><h4 class="code-header">fn <a href="#method.fold_bare_variadic" class="fn">fold_bare_variadic</a>(&mut self, i: <a class="struct" href="../struct.BareVariadic.html" title="struct syn::BareVariadic">BareVariadic</a>) -> <a class="struct" href="../struct.BareVariadic.html" title="struct syn::BareVariadic">BareVariadic</a></h4></section><section id="method.fold_bin_op" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#82-84">source</a><h4 class="code-header">fn <a href="#method.fold_bin_op" class="fn">fold_bin_op</a>(&mut self, i: <a class="enum" href="../enum.BinOp.html" title="enum syn::BinOp">BinOp</a>) -> <a class="enum" href="../enum.BinOp.html" title="enum syn::BinOp">BinOp</a></h4></section><section id="method.fold_block" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#87-89">source</a><h4 class="code-header">fn <a href="#method.fold_block" class="fn">fold_block</a>(&mut self, i: <a class="struct" href="../struct.Block.html" title="struct syn::Block">Block</a>) -> <a class="struct" href="../struct.Block.html" title="struct syn::Block">Block</a><
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.ForeignItemStatic.html" title="struct syn::ForeignItemStatic">ForeignItemStatic</a>
|
|||
|
) -> <a class="struct" href="../struct.ForeignItemStatic.html" title="struct syn::ForeignItemStatic">ForeignItemStatic</a></h4></section><section id="method.fold_foreign_item_type" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#392-394">source</a><h4 class="code-header">fn <a href="#method.fold_foreign_item_type" class="fn">fold_foreign_item_type</a>(&mut self, i: <a class="struct" href="../struct.ForeignItemType.html" title="struct syn::ForeignItemType">ForeignItemType</a>) -> <a class="struct" href="../struct.ForeignItemType.html" title="struct syn::ForeignItemType">ForeignItemType</a></h4></section><section id="method.fold_generic_argument" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#397-399">source</a><h4 class="code-header">fn <a href="#method.fold_generic_argument" class="fn">fold_generic_argument</a>(&mut self, i: <a class="enum" href="../enum.GenericArgument.html" title="enum syn::GenericArgument">GenericArgument</a>) -> <a class="enum" href="../enum.GenericArgument.html" title="enum syn::GenericArgument">GenericArgument</a></h4></section><section id="method.fold_generic_param" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#402-404">source</a><h4 class="code-header">fn <a href="#method.fold_generic_param" class="fn">fold_generic_param</a>(&mut self, i: <a class="enum" href="../enum.GenericParam.html" title="enum syn::GenericParam">GenericParam</a>) -> <a class="enum" href="../enum.GenericParam.html" title="enum syn::GenericParam">GenericParam</a></h4></section><section id="method.fold_generics" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#407-409">source</a><h4 class="code-header">fn <a href="#method.fold_generics" class="fn">fold_generics</a>(&mut self, i: <a class="struct" href="../struct.Generics.html" title="struct syn::Generics">Generics</a>) -> <a class="struct" href="../struct.Generics.html" title="struct syn::Generics">Generics</a></h4></section><section id="method.fold_ident" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#410-412">source</a><h4 class="code-header">fn <a href="#method.fold_ident" class="fn">fold_ident</a>(&mut self, i: <a class="struct" href="../struct.Ident.html" title="struct syn::Ident">Ident</a>) -> <a class="struct" href="../struct.Ident.html" title="struct syn::Ident">Ident</a></h4></section><section id="method.fold_impl_item" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#415-417">source</a><h4 class="code-header">fn <a href="#method.fold_impl_item" class="fn">fold_impl_item</a>(&mut self, i: <a class="enum" href="../enum.ImplItem.html" title="enum syn::ImplItem">ImplItem</a>) -> <a class="enum" href="../enum.ImplItem.html" title="enum syn::ImplItem">ImplItem</a></h4></section><section id="method.fold_impl_item_const" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#420-422">source</a><h4 class="code-header">fn <a href="#method.fold_impl_item_const" class="fn">fold_impl_item_const</a>(&mut self, i: <a class="struct" href="../struct.ImplItemConst.html" title="struct syn::ImplItemConst">ImplItemConst</a>) -> <a class="struct" href="../struct.ImplItemConst.html" title="struct syn::ImplItemConst">ImplItemConst</a></h4></section><section id="method.fold_impl_item_fn" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#425-427">source</a><h4 class="code-header">fn <a href="#method.fold_impl_item_fn" class="fn">fold_impl_item_fn</a>(&mut self, i: <a class="struct" href="../struct.ImplItemFn.html" title="struct syn::ImplItemFn">ImplItemFn</a>) -> <a class="struct" href="../struct.ImplItemFn.html" title="struct syn::ImplItemFn">ImplItemFn</a></h4></section><section id="method.fold_impl_item_macro" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#430-432">source</a><h4 class="code-header">fn <a href="#method.fold_impl_item_macro" class="fn">fold_impl_item_macro</a>(&m
|
|||
|
&mut self,
|
|||
|
i: <a class="struct" href="../struct.ParenthesizedGenericArguments.html" title="struct syn::ParenthesizedGenericArguments">ParenthesizedGenericArguments</a>
|
|||
|
) -> <a class="struct" href="../struct.ParenthesizedGenericArguments.html" title="struct syn::ParenthesizedGenericArguments">ParenthesizedGenericArguments</a></h4></section><section id="method.fold_pat" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#615-617">source</a><h4 class="code-header">fn <a href="#method.fold_pat" class="fn">fold_pat</a>(&mut self, i: <a class="enum" href="../enum.Pat.html" title="enum syn::Pat">Pat</a>) -> <a class="enum" href="../enum.Pat.html" title="enum syn::Pat">Pat</a></h4></section><section id="method.fold_pat_ident" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#620-622">source</a><h4 class="code-header">fn <a href="#method.fold_pat_ident" class="fn">fold_pat_ident</a>(&mut self, i: <a class="struct" href="../struct.PatIdent.html" title="struct syn::PatIdent">PatIdent</a>) -> <a class="struct" href="../struct.PatIdent.html" title="struct syn::PatIdent">PatIdent</a></h4></section><section id="method.fold_pat_or" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#625-627">source</a><h4 class="code-header">fn <a href="#method.fold_pat_or" class="fn">fold_pat_or</a>(&mut self, i: <a class="struct" href="../struct.PatOr.html" title="struct syn::PatOr">PatOr</a>) -> <a class="struct" href="../struct.PatOr.html" title="struct syn::PatOr">PatOr</a></h4></section><section id="method.fold_pat_paren" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#630-632">source</a><h4 class="code-header">fn <a href="#method.fold_pat_paren" class="fn">fold_pat_paren</a>(&mut self, i: <a class="struct" href="../struct.PatParen.html" title="struct syn::PatParen">PatParen</a>) -> <a class="struct" href="../struct.PatParen.html" title="struct syn::PatParen">PatParen</a></h4></section><section id="method.fold_pat_reference" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#635-637">source</a><h4 class="code-header">fn <a href="#method.fold_pat_reference" class="fn">fold_pat_reference</a>(&mut self, i: <a class="struct" href="../struct.PatReference.html" title="struct syn::PatReference">PatReference</a>) -> <a class="struct" href="../struct.PatReference.html" title="struct syn::PatReference">PatReference</a></h4></section><section id="method.fold_pat_rest" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#640-642">source</a><h4 class="code-header">fn <a href="#method.fold_pat_rest" class="fn">fold_pat_rest</a>(&mut self, i: <a class="struct" href="../struct.PatRest.html" title="struct syn::PatRest">PatRest</a>) -> <a class="struct" href="../struct.PatRest.html" title="struct syn::PatRest">PatRest</a></h4></section><section id="method.fold_pat_slice" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#645-647">source</a><h4 class="code-header">fn <a href="#method.fold_pat_slice" class="fn">fold_pat_slice</a>(&mut self, i: <a class="struct" href="../struct.PatSlice.html" title="struct syn::PatSlice">PatSlice</a>) -> <a class="struct" href="../struct.PatSlice.html" title="struct syn::PatSlice">PatSlice</a></h4></section><section id="method.fold_pat_struct" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#650-652">source</a><h4 class="code-header">fn <a href="#method.fold_pat_struct" class="fn">fold_pat_struct</a>(&mut self, i: <a class="struct" href="../struct.PatStruct.html" title="struct syn::PatStruct">PatStruct</a>) -> <a class="struct" href="../struct.PatStruct.html" title="struct syn::PatStruct">PatStruct</a></h4></section><section id="method.fold_pat_tuple" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#655-657">source</a><h4 class="code-header">fn <a href="#method.fold_pat_tuple" class="fn">fold_pat_tuple</a>(&mut self, i: <a class="struct" href="../struct.PatTuple.html" title="struct syn::PatTuple">PatTuple</a>) -> <a class="struct" href="../struct.PatTuple.html" title="struct syn::PatTuple">PatTuple</
|
|||
|
&mut self,
|
|||
|
i: <a class="enum" href="../enum.TraitBoundModifier.html" title="enum syn::TraitBoundModifier">TraitBoundModifier</a>
|
|||
|
) -> <a class="enum" href="../enum.TraitBoundModifier.html" title="enum syn::TraitBoundModifier">TraitBoundModifier</a></h4></section><section id="method.fold_trait_item" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#756-758">source</a><h4 class="code-header">fn <a href="#method.fold_trait_item" class="fn">fold_trait_item</a>(&mut self, i: <a class="enum" href="../enum.TraitItem.html" title="enum syn::TraitItem">TraitItem</a>) -> <a class="enum" href="../enum.TraitItem.html" title="enum syn::TraitItem">TraitItem</a></h4></section><section id="method.fold_trait_item_const" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#761-763">source</a><h4 class="code-header">fn <a href="#method.fold_trait_item_const" class="fn">fold_trait_item_const</a>(&mut self, i: <a class="struct" href="../struct.TraitItemConst.html" title="struct syn::TraitItemConst">TraitItemConst</a>) -> <a class="struct" href="../struct.TraitItemConst.html" title="struct syn::TraitItemConst">TraitItemConst</a></h4></section><section id="method.fold_trait_item_fn" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#766-768">source</a><h4 class="code-header">fn <a href="#method.fold_trait_item_fn" class="fn">fold_trait_item_fn</a>(&mut self, i: <a class="struct" href="../struct.TraitItemFn.html" title="struct syn::TraitItemFn">TraitItemFn</a>) -> <a class="struct" href="../struct.TraitItemFn.html" title="struct syn::TraitItemFn">TraitItemFn</a></h4></section><section id="method.fold_trait_item_macro" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#771-773">source</a><h4 class="code-header">fn <a href="#method.fold_trait_item_macro" class="fn">fold_trait_item_macro</a>(&mut self, i: <a class="struct" href="../struct.TraitItemMacro.html" title="struct syn::TraitItemMacro">TraitItemMacro</a>) -> <a class="struct" href="../struct.TraitItemMacro.html" title="struct syn::TraitItemMacro">TraitItemMacro</a></h4></section><section id="method.fold_trait_item_type" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#776-778">source</a><h4 class="code-header">fn <a href="#method.fold_trait_item_type" class="fn">fold_trait_item_type</a>(&mut self, i: <a class="struct" href="../struct.TraitItemType.html" title="struct syn::TraitItemType">TraitItemType</a>) -> <a class="struct" href="../struct.TraitItemType.html" title="struct syn::TraitItemType">TraitItemType</a></h4></section><section id="method.fold_type" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#781-783">source</a><h4 class="code-header">fn <a href="#method.fold_type" class="fn">fold_type</a>(&mut self, i: <a class="enum" href="../enum.Type.html" title="enum syn::Type">Type</a>) -> <a class="enum" href="../enum.Type.html" title="enum syn::Type">Type</a></h4></section><section id="method.fold_type_array" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#786-788">source</a><h4 class="code-header">fn <a href="#method.fold_type_array" class="fn">fold_type_array</a>(&mut self, i: <a class="struct" href="../struct.TypeArray.html" title="struct syn::TypeArray">TypeArray</a>) -> <a class="struct" href="../struct.TypeArray.html" title="struct syn::TypeArray">TypeArray</a></h4></section><section id="method.fold_type_bare_fn" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#791-793">source</a><h4 class="code-header">fn <a href="#method.fold_type_bare_fn" class="fn">fold_type_bare_fn</a>(&mut self, i: <a class="struct" href="../struct.TypeBareFn.html" title="struct syn::TypeBareFn">TypeBareFn</a>) -> <a class="struct" href="../struct.TypeBareFn.html" title="struct syn::TypeBareFn">TypeBareFn</a></h4></section><section id="method.fold_type_group" class="method"><a class="src rightside" href="../../src/syn/gen/fold.rs.html#796-798">source</a><h4 class="code-header">fn <a href="#method.fold_type_group" class="fn">fold_type_group</a>(&mut self, i: <a
|