mentat/syn/visit/index.html

796 lines
41 KiB
HTML
Raw Permalink Normal View History

2018-08-22 17:04:13 +00:00
<!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="API documentation for the Rust `visit` mod in crate `syn`.">
<meta name="keywords" content="rust, rustlang, rust-lang, visit">
<title>syn::visit - Rust</title>
<link rel="stylesheet" type="text/css" href="../../normalize.css">
<link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
<link rel="stylesheet" type="text/css" href="../../dark.css">
<link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
<script src="../../storage.js"></script>
</head>
<body class="rustdoc mod">
<!--[if lte IE 8]>
<div class="warning">
This old browser is unsupported and will most likely display funky
things.
</div>
<![endif]-->
<nav class="sidebar">
<div class="sidebar-menu">&#9776;</div>
<p class='location'>Module visit</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li></ul></div><p class='location'><a href='../index.html'>syn</a></p><script>window.sidebarCurrent = {name: 'visit', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div>
</nav>
<div class="theme-picker">
<button id="theme-picker" aria-label="Pick another theme!">
<img src="../../brush.svg" width="18" alt="Pick another theme!">
</button>
<div id="theme-choices"></div>
</div>
<script src="../../theme.js"></script>
<nav class="sub">
<form class="search-form js-only">
<div class="search-container">
<input class="search-input" name="search"
autocomplete="off"
placeholder="Click or press S to search, ? for more options…"
type="search">
</div>
</form>
</nav>
<section id='main' class="content">
<h1 class='fqn'><span class='in-band'>Module <a href='../index.html'>syn</a>::<wbr><a class="mod" href=''>visit</a></span><span class='out-of-band'><span id='render-detail'>
<a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
[<span class='inner'>&#x2212;</span>]
</a>
</span><a class='srclink' href='../../src/syn/gen/visit.rs.html#3-3379' title='goto source code'>[src]</a></span></h1>
<div class='docblock'><p>Syntax tree traversal to walk a shared borrow of a syntax tree.</p>
<p>Each method of the <a href="trait.Visit.html"><code>Visit</code></a> trait is a hook that can be overridden to
customize the behavior when visiting 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>
<pre class="rust rust-example-rendered">
<span class="kw">pub</span> <span class="kw">trait</span> <span class="ident">Visit</span><span class="op">&lt;</span><span class="lifetime">&#39;ast</span><span class="op">&gt;</span> {
<span class="comment">/* ... */</span>
<span class="kw">fn</span> <span class="ident">visit_expr_binary</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">node</span>: <span class="kw-2">&amp;</span><span class="lifetime">&#39;ast</span> <span class="ident">ExprBinary</span>) {
<span class="kw">for</span> <span class="ident">attr</span> <span class="kw">in</span> <span class="kw-2">&amp;</span><span class="ident">node</span>.<span class="ident">attrs</span> {
<span class="self">self</span>.<span class="ident">visit_attribute</span>(<span class="ident">attr</span>);
}
<span class="self">self</span>.<span class="ident">visit_expr</span>(<span class="kw-2">&amp;</span><span class="kw-2">*</span><span class="ident">node</span>.<span class="ident">left</span>);
<span class="self">self</span>.<span class="ident">visit_bin_op</span>(<span class="kw-2">&amp;</span><span class="ident">node</span>.<span class="ident">op</span>);
<span class="self">self</span>.<span class="ident">visit_expr</span>(<span class="kw-2">&amp;</span><span class="kw-2">*</span><span class="ident">node</span>.<span class="ident">right</span>);
}
<span class="comment">/* ... */</span>
}</pre>
<p><em>This module is available if Syn is built with the <code>&quot;visit&quot;</code> feature.</em></p>
</div><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table>
<tr class=' module-item'>
<td><a class="trait" href="trait.Visit.html"
title='trait syn::visit::Visit'>Visit</a></td>
<td class='docblock-short'>
<p>Syntax tree traversal to walk a shared borrow of a syntax tree.</p>
</td>
</tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
<table>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_abi.html"
title='fn syn::visit::visit_abi'>visit_abi</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_angle_bracketed_generic_arguments.html"
title='fn syn::visit::visit_angle_bracketed_generic_arguments'>visit_angle_bracketed_generic_arguments</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_attr_style.html"
title='fn syn::visit::visit_attr_style'>visit_attr_style</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_attribute.html"
title='fn syn::visit::visit_attribute'>visit_attribute</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_bare_fn_arg.html"
title='fn syn::visit::visit_bare_fn_arg'>visit_bare_fn_arg</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_bare_fn_arg_name.html"
title='fn syn::visit::visit_bare_fn_arg_name'>visit_bare_fn_arg_name</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_bin_op.html"
title='fn syn::visit::visit_bin_op'>visit_bin_op</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_binding.html"
title='fn syn::visit::visit_binding'>visit_binding</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_bound_lifetimes.html"
title='fn syn::visit::visit_bound_lifetimes'>visit_bound_lifetimes</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_const_param.html"
title='fn syn::visit::visit_const_param'>visit_const_param</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_data.html"
title='fn syn::visit::visit_data'>visit_data</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_data_enum.html"
title='fn syn::visit::visit_data_enum'>visit_data_enum</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_data_struct.html"
title='fn syn::visit::visit_data_struct'>visit_data_struct</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_data_union.html"
title='fn syn::visit::visit_data_union'>visit_data_union</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_derive_input.html"
title='fn syn::visit::visit_derive_input'>visit_derive_input</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr.html"
title='fn syn::visit::visit_expr'>visit_expr</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_binary.html"
title='fn syn::visit::visit_expr_binary'>visit_expr_binary</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_call.html"
title='fn syn::visit::visit_expr_call'>visit_expr_call</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_cast.html"
title='fn syn::visit::visit_expr_cast'>visit_expr_cast</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_field.html"
title='fn syn::visit::visit_expr_field'>visit_expr_field</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_index.html"
title='fn syn::visit::visit_expr_index'>visit_expr_index</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_lit.html"
title='fn syn::visit::visit_expr_lit'>visit_expr_lit</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_paren.html"
title='fn syn::visit::visit_expr_paren'>visit_expr_paren</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_path.html"
title='fn syn::visit::visit_expr_path'>visit_expr_path</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_unary.html"
title='fn syn::visit::visit_expr_unary'>visit_expr_unary</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_expr_verbatim.html"
title='fn syn::visit::visit_expr_verbatim'>visit_expr_verbatim</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_field.html"
title='fn syn::visit::visit_field'>visit_field</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_fields.html"
title='fn syn::visit::visit_fields'>visit_fields</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_fields_named.html"
title='fn syn::visit::visit_fields_named'>visit_fields_named</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_fields_unnamed.html"
title='fn syn::visit::visit_fields_unnamed'>visit_fields_unnamed</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_generic_argument.html"
title='fn syn::visit::visit_generic_argument'>visit_generic_argument</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_generic_param.html"
title='fn syn::visit::visit_generic_param'>visit_generic_param</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_generics.html"
title='fn syn::visit::visit_generics'>visit_generics</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_ident.html"
title='fn syn::visit::visit_ident'>visit_ident</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_index.html"
title='fn syn::visit::visit_index'>visit_index</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lifetime.html"
title='fn syn::visit::visit_lifetime'>visit_lifetime</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lifetime_def.html"
title='fn syn::visit::visit_lifetime_def'>visit_lifetime_def</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit.html"
title='fn syn::visit::visit_lit'>visit_lit</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_bool.html"
title='fn syn::visit::visit_lit_bool'>visit_lit_bool</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_byte.html"
title='fn syn::visit::visit_lit_byte'>visit_lit_byte</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_byte_str.html"
title='fn syn::visit::visit_lit_byte_str'>visit_lit_byte_str</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_char.html"
title='fn syn::visit::visit_lit_char'>visit_lit_char</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_float.html"
title='fn syn::visit::visit_lit_float'>visit_lit_float</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_int.html"
title='fn syn::visit::visit_lit_int'>visit_lit_int</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_str.html"
title='fn syn::visit::visit_lit_str'>visit_lit_str</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_lit_verbatim.html"
title='fn syn::visit::visit_lit_verbatim'>visit_lit_verbatim</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_macro.html"
title='fn syn::visit::visit_macro'>visit_macro</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_macro_delimiter.html"
title='fn syn::visit::visit_macro_delimiter'>visit_macro_delimiter</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_member.html"
title='fn syn::visit::visit_member'>visit_member</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_meta.html"
title='fn syn::visit::visit_meta'>visit_meta</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_meta_list.html"
title='fn syn::visit::visit_meta_list'>visit_meta_list</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_meta_name_value.html"
title='fn syn::visit::visit_meta_name_value'>visit_meta_name_value</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_nested_meta.html"
title='fn syn::visit::visit_nested_meta'>visit_nested_meta</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_parenthesized_generic_arguments.html"
title='fn syn::visit::visit_parenthesized_generic_arguments'>visit_parenthesized_generic_arguments</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_path.html"
title='fn syn::visit::visit_path'>visit_path</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_path_arguments.html"
title='fn syn::visit::visit_path_arguments'>visit_path_arguments</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_path_segment.html"
title='fn syn::visit::visit_path_segment'>visit_path_segment</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_predicate_eq.html"
title='fn syn::visit::visit_predicate_eq'>visit_predicate_eq</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_predicate_lifetime.html"
title='fn syn::visit::visit_predicate_lifetime'>visit_predicate_lifetime</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_predicate_type.html"
title='fn syn::visit::visit_predicate_type'>visit_predicate_type</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_qself.html"
title='fn syn::visit::visit_qself'>visit_qself</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_return_type.html"
title='fn syn::visit::visit_return_type'>visit_return_type</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_span.html"
title='fn syn::visit::visit_span'>visit_span</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_trait_bound.html"
title='fn syn::visit::visit_trait_bound'>visit_trait_bound</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_trait_bound_modifier.html"
title='fn syn::visit::visit_trait_bound_modifier'>visit_trait_bound_modifier</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type.html"
title='fn syn::visit::visit_type'>visit_type</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_array.html"
title='fn syn::visit::visit_type_array'>visit_type_array</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_bare_fn.html"
title='fn syn::visit::visit_type_bare_fn'>visit_type_bare_fn</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_group.html"
title='fn syn::visit::visit_type_group'>visit_type_group</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_impl_trait.html"
title='fn syn::visit::visit_type_impl_trait'>visit_type_impl_trait</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_infer.html"
title='fn syn::visit::visit_type_infer'>visit_type_infer</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_macro.html"
title='fn syn::visit::visit_type_macro'>visit_type_macro</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_never.html"
title='fn syn::visit::visit_type_never'>visit_type_never</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_param.html"
title='fn syn::visit::visit_type_param'>visit_type_param</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_param_bound.html"
title='fn syn::visit::visit_type_param_bound'>visit_type_param_bound</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_paren.html"
title='fn syn::visit::visit_type_paren'>visit_type_paren</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_path.html"
title='fn syn::visit::visit_type_path'>visit_type_path</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_ptr.html"
title='fn syn::visit::visit_type_ptr'>visit_type_ptr</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_reference.html"
title='fn syn::visit::visit_type_reference'>visit_type_reference</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_slice.html"
title='fn syn::visit::visit_type_slice'>visit_type_slice</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_trait_object.html"
title='fn syn::visit::visit_type_trait_object'>visit_type_trait_object</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_tuple.html"
title='fn syn::visit::visit_type_tuple'>visit_type_tuple</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_type_verbatim.html"
title='fn syn::visit::visit_type_verbatim'>visit_type_verbatim</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_un_op.html"
title='fn syn::visit::visit_un_op'>visit_un_op</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_variant.html"
title='fn syn::visit::visit_variant'>visit_variant</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_vis_crate.html"
title='fn syn::visit::visit_vis_crate'>visit_vis_crate</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_vis_public.html"
title='fn syn::visit::visit_vis_public'>visit_vis_public</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_vis_restricted.html"
title='fn syn::visit::visit_vis_restricted'>visit_vis_restricted</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_visibility.html"
title='fn syn::visit::visit_visibility'>visit_visibility</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_where_clause.html"
title='fn syn::visit::visit_where_clause'>visit_where_clause</a></td>
<td class='docblock-short'>
</td>
</tr>
<tr class=' module-item'>
<td><a class="fn" href="fn.visit_where_predicate.html"
title='fn syn::visit::visit_where_predicate'>visit_where_predicate</a></td>
<td class='docblock-short'>
</td>
</tr></table></section>
<section id='search' class="content hidden"></section>
<section class="footer"></section>
<aside id="help" class="hidden">
<div>
<h1 class="hidden">Help</h1>
<div class="shortcuts">
<h2>Keyboard Shortcuts</h2>
<dl>
<dt><kbd>?</kbd></dt>
<dd>Show this help dialog</dd>
<dt><kbd>S</kbd></dt>
<dd>Focus the search field</dd>
<dt><kbd></kbd></dt>
<dd>Move up in search results</dd>
<dt><kbd></kbd></dt>
<dd>Move down in search results</dd>
<dt><kbd></kbd></dt>
<dd>Switch tab</dd>
<dt><kbd>&#9166;</kbd></dt>
<dd>Go to active search result</dd>
<dt><kbd>+</kbd></dt>
<dd>Expand all sections</dd>
<dt><kbd>-</kbd></dt>
<dd>Collapse all sections</dd>
</dl>
</div>
<div class="infos">
<h2>Search Tricks</h2>
<p>
Prefix searches with a type followed by a colon (e.g.
<code>fn:</code>) to restrict the search to a given type.
</p>
<p>
Accepted types are: <code>fn</code>, <code>mod</code>,
<code>struct</code>, <code>enum</code>,
<code>trait</code>, <code>type</code>, <code>macro</code>,
and <code>const</code>.
</p>
<p>
Search functions by type signature (e.g.
<code>vec -> usize</code> or <code>* -> vec</code>)
</p>
</div>
</div>
</aside>
<script>
window.rootPath = "../../";
window.currentCrate = "syn";
</script>
<script src="../../main.js"></script>
<script defer src="../../search-index.js"></script>
</body>
</html>