rust-analyzer/hir/trait.HirDisplay.html
github-merge-queue[bot] cddc2a952f deploy: 9923b0085c
2025-01-11 06:35:13 +00:00

111 lines
No EOL
45 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="API documentation for the Rust `HirDisplay` trait in crate `hir`."><title>HirDisplay in hir - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="hir" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.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" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../hir/index.html">hir</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">HirDisplay</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.hir_fmt" title="hir_fmt">hir_fmt</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.display" title="display">display</a></li><li><a href="#method.display_limited" title="display_limited">display_limited</a></li><li><a href="#method.display_source_code" title="display_source_code">display_source_code</a></li><li><a href="#method.display_test" title="display_test">display_test</a></li><li><a href="#method.display_truncated" title="display_truncated">display_truncated</a></li><li><a href="#method.display_with_container_bounds" title="display_with_container_bounds">display_with_container_bounds</a></li><li><a href="#method.into_displayable" title="into_displayable">into_displayable</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-HirDisplay-for-%26T" title="&#38;T">&#38;T</a></li><li><a href="#impl-HirDisplay-for-BoundVar" title="BoundVar">BoundVar</a></li><li><a href="#impl-HirDisplay-for-Const%3CInterner%3E" title="Const&#60;Interner&#62;">Const&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-DomainGoal%3CInterner%3E" title="DomainGoal&#60;Interner&#62;">DomainGoal&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-GenericArg%3CInterner%3E" title="GenericArg&#60;Interner&#62;">GenericArg&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-Interned%3CT%3E" title="Interned&#60;T&#62;">Interned&#60;T&#62;</a></li><li><a href="#impl-HirDisplay-for-Lifetime%3CInterner%3E" title="Lifetime&#60;Interner&#62;">Lifetime&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-LifetimeData%3CInterner%3E" title="LifetimeData&#60;Interner&#62;">LifetimeData&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-LifetimeOutlives%3CInterner%3E" title="LifetimeOutlives&#60;Interner&#62;">LifetimeOutlives&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-OpaqueTy%3CInterner%3E" title="OpaqueTy&#60;Interner&#62;">OpaqueTy&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-ProjectionTy%3CInterner%3E" title="ProjectionTy&#60;Interner&#62;">ProjectionTy&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-TraitRef%3CInterner%3E" title="TraitRef&#60;Interner&#62;">TraitRef&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-Ty%3CInterner%3E" title="Ty&#60;Interner&#62;">Ty&#60;Interner&#62;</a></li><li><a href="#impl-HirDisplay-for-WhereClause%3CInterner%3E" title="WhereClause&#60;Interner&#62;">WhereClause&#60;Interner&#62;</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate hir</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="index.html">hir</a></span><h1>Trait <span class="trait">HirDisplay</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait HirDisplay {
// Required method
fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;;
// Provided methods
fn <a href="#method.into_displayable" class="fn">into_displayable</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
max_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
limited_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
omit_verbose_types: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
display_target: DisplayTarget,
closure_style: <a class="enum" href="enum.ClosureStyle.html" title="enum hir::ClosureStyle">ClosureStyle</a>,
show_container_bounds: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.display" class="fn">display</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.display_truncated" class="fn">display_truncated</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
max_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.display_limited" class="fn">display_limited</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
limited_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.display_source_code" class="fn">display_source_code</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
module_id: ModuleId,
allow_opaque: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, DisplaySourceCodeError&gt; { ... }
<span class="item-spacer"></span> fn <a href="#method.display_test" class="fn">display_test</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
<span class="item-spacer"></span> fn <a href="#method.display_with_container_bounds" class="fn">display_with_container_bounds</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
show_container_bounds: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;
<span class="where">where Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a></span> { ... }
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.hir_fmt" class="method"><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.into_displayable" class="method"><h4 class="code-header">fn <a href="#method.into_displayable" class="fn">into_displayable</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
max_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
limited_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
omit_verbose_types: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
display_target: DisplayTarget,
closure_style: <a class="enum" href="enum.ClosureStyle.html" title="enum hir::ClosureStyle">ClosureStyle</a>,
show_container_bounds: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Returns a <code>Display</code>able type that is human-readable.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.display" class="method"><h4 class="code-header">fn <a href="#method.display" class="fn">display</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Returns a <code>Display</code>able type that is human-readable.
Use this for showing types to the user (e.g. diagnostics)</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.display_truncated" class="method"><h4 class="code-header">fn <a href="#method.display_truncated" class="fn">display_truncated</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
max_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Returns a <code>Display</code>able type that is human-readable and tries to be succinct.
Use this for showing types to the user where space is constrained (e.g. doc popups)</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.display_limited" class="method"><h4 class="code-header">fn <a href="#method.display_limited" class="fn">display_limited</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
limited_size: <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.usize.html">usize</a>&gt;,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Returns a <code>Display</code>able type that is human-readable and tries to limit the number of items inside.
Use this for showing definitions which may contain too many items, like <code>trait</code>, <code>struct</code>, <code>enum</code></p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.display_source_code" class="method"><h4 class="code-header">fn <a href="#method.display_source_code" class="fn">display_source_code</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
module_id: ModuleId,
allow_opaque: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.84.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, DisplaySourceCodeError&gt;</h4></section></summary><div class="docblock"><p>Returns a String representation of <code>self</code> that can be inserted into the given module.
Use this when generating code (e.g. assists)</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.display_test" class="method"><h4 class="code-header">fn <a href="#method.display_test" class="fn">display_test</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Returns a String representation of <code>self</code> for test purposes</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.display_with_container_bounds" class="method"><h4 class="code-header">fn <a href="#method.display_with_container_bounds" class="fn">display_with_container_bounds</a>&lt;'a&gt;(
&amp;'a self,
db: &amp;'a dyn <a class="trait" href="db/trait.HirDatabase.html" title="trait hir::db::HirDatabase">HirDatabase</a>,
show_container_bounds: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a>,
edition: Edition,
) -&gt; HirDisplayWrapper&lt;'a, Self&gt;<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class="docblock"><p>Returns a String representation of <code>self</code> that shows the constraint from
the container for functions</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-BoundVar" class="impl"><a href="#impl-HirDisplay-for-BoundVar" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for BoundVar</h3></section></summary><div class="impl-items"><section id="method.hir_fmt" class="method trait-impl"><a href="#method.hir_fmt" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-Const%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-Const%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for Const&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-1" class="method trait-impl"><a href="#method.hir_fmt-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-DomainGoal%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-DomainGoal%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for DomainGoal&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-2" class="method trait-impl"><a href="#method.hir_fmt-2" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-GenericArg%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-GenericArg%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for GenericArg&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-3" class="method trait-impl"><a href="#method.hir_fmt-3" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-Lifetime%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-Lifetime%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for Lifetime&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-4" class="method trait-impl"><a href="#method.hir_fmt-4" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-LifetimeData%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-LifetimeData%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for LifetimeData&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-5" class="method trait-impl"><a href="#method.hir_fmt-5" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-LifetimeOutlives%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-LifetimeOutlives%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for LifetimeOutlives&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-6" class="method trait-impl"><a href="#method.hir_fmt-6" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-OpaqueTy%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-OpaqueTy%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for OpaqueTy&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-7" class="method trait-impl"><a href="#method.hir_fmt-7" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-ProjectionTy%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-ProjectionTy%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for ProjectionTy&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-8" class="method trait-impl"><a href="#method.hir_fmt-8" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-TraitRef%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-TraitRef%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for TraitRef&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-9" class="method trait-impl"><a href="#method.hir_fmt-9" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-Ty%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-Ty%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for Ty&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-10" class="method trait-impl"><a href="#method.hir_fmt-10" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-WhereClause%3CInterner%3E" class="impl"><a href="#impl-HirDisplay-for-WhereClause%3CInterner%3E" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for WhereClause&lt;<a class="struct" href="struct.ChalkTyInterner.html" title="struct hir::ChalkTyInterner">Interner</a>&gt;</h3></section></summary><div class="impl-items"><section id="method.hir_fmt-11" class="method trait-impl"><a href="#method.hir_fmt-11" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-%26T" class="impl"><a href="#impl-HirDisplay-for-%26T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.reference.html">&amp;T</a><div class="where">where
T: <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a>,</div></h3></section></summary><div class="impl-items"><section id="method.hir_fmt-12" class="method trait-impl"><a href="#method.hir_fmt-12" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDisplay-for-Interned%3CT%3E" class="impl"><a href="#impl-HirDisplay-for-Interned%3CT%3E" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for Interned&lt;T&gt;<div class="where">where
T: <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> + Internable,</div></h3></section></summary><div class="impl-items"><section id="method.hir_fmt-13" class="method trait-impl"><a href="#method.hir_fmt-13" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.hir_fmt" class="fn">hir_fmt</a>(&amp;self, f: &amp;mut HirFormatter&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.unit.html">()</a>, <a class="enum" href="enum.HirDisplayError.html" title="enum hir::HirDisplayError">HirDisplayError</a>&gt;</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-HirDisplay-for-Adt" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#227-235">Source</a><a href="#impl-HirDisplay-for-Adt" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="enum" href="enum.Adt.html" title="enum hir::Adt">Adt</a></h3></section><section id="impl-HirDisplay-for-GenericParam" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#448-456">Source</a><a href="#impl-HirDisplay-for-GenericParam" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="enum" href="enum.GenericParam.html" title="enum hir::GenericParam">GenericParam</a></h3></section><section id="impl-HirDisplay-for-Const" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#714-733">Source</a><a href="#impl-HirDisplay-for-Const" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for hir::<a class="struct" href="struct.Const.html" title="struct hir::Const">Const</a></h3></section><section id="impl-HirDisplay-for-ConstParam" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#545-550">Source</a><a href="#impl-HirDisplay-for-ConstParam" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.ConstParam.html" title="struct hir::ConstParam">ConstParam</a></h3></section><section id="impl-HirDisplay-for-Crate" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#865-872">Source</a><a href="#impl-HirDisplay-for-Crate" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Crate.html" title="struct hir::Crate">Crate</a></h3></section><section id="impl-HirDisplay-for-Enum" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#278-293">Source</a><a href="#impl-HirDisplay-for-Enum" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Enum.html" title="struct hir::Enum">Enum</a></h3></section><section id="impl-HirDisplay-for-ExternCrateDecl" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#436-446">Source</a><a href="#impl-HirDisplay-for-ExternCrateDecl" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.ExternCrateDecl.html" title="struct hir::ExternCrateDecl">ExternCrateDecl</a></h3></section><section id="impl-HirDisplay-for-Field" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#385-391">Source</a><a href="#impl-HirDisplay-for-Field" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Field.html" title="struct hir::Field">Field</a></h3></section><section id="impl-HirDisplay-for-Function" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#32-182">Source</a><a href="#impl-HirDisplay-for-Function" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Function.html" title="struct hir::Function">Function</a></h3></section><section id="impl-HirDisplay-for-LifetimeParam" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#539-543">Source</a><a href="#impl-HirDisplay-for-LifetimeParam" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.LifetimeParam.html" title="struct hir::LifetimeParam">LifetimeParam</a></h3></section><section id="impl-HirDisplay-for-Macro" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#874-883">Source</a><a href="#impl-HirDisplay-for-Macro" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Macro.html" title="struct hir::Macro">Macro</a></h3></section><section id="impl-HirDisplay-for-Module" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#847-863">Source</a><a href="#impl-HirDisplay-for-Module" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Module.html" title="struct hir::Module">Module</a></h3></section><section id="impl-HirDisplay-for-SelfParam" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#202-225">Source</a><a href="#impl-HirDisplay-for-SelfParam" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.SelfParam.html" title="struct hir::SelfParam">SelfParam</a></h3></section><section id="impl-HirDisplay-for-Static" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#735-747">Source</a><a href="#impl-HirDisplay-for-Static" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Static.html" title="struct hir::Static">Static</a></h3></section><section id="impl-HirDisplay-for-Struct" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#237-276">Source</a><a href="#impl-HirDisplay-for-Struct" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Struct.html" title="struct hir::Struct">Struct</a></h3></section><section id="impl-HirDisplay-for-Trait" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#755-792">Source</a><a href="#impl-HirDisplay-for-Trait" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Trait.html" title="struct hir::Trait">Trait</a></h3></section><section id="impl-HirDisplay-for-TraitAlias" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#808-822">Source</a><a href="#impl-HirDisplay-for-TraitAlias" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.TraitAlias.html" title="struct hir::TraitAlias">TraitAlias</a></h3></section><section id="impl-HirDisplay-for-TraitRef" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#749-753">Source</a><a href="#impl-HirDisplay-for-TraitRef" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for hir::<a class="struct" href="struct.TraitRef.html" title="struct hir::TraitRef">TraitRef</a></h3></section><section id="impl-HirDisplay-for-TupleField" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#393-398">Source</a><a href="#impl-HirDisplay-for-TupleField" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.TupleField.html" title="struct hir::TupleField">TupleField</a></h3></section><section id="impl-HirDisplay-for-Type" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#430-434">Source</a><a href="#impl-HirDisplay-for-Type" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Type.html" title="struct hir::Type">Type</a></h3></section><section id="impl-HirDisplay-for-TypeAlias" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#824-845">Source</a><a href="#impl-HirDisplay-for-TypeAlias" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.TypeAlias.html" title="struct hir::TypeAlias">TypeAlias</a></h3></section><section id="impl-HirDisplay-for-TypeOrConstParam" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#458-465">Source</a><a href="#impl-HirDisplay-for-TypeOrConstParam" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.TypeOrConstParam.html" title="struct hir::TypeOrConstParam">TypeOrConstParam</a></h3></section><section id="impl-HirDisplay-for-TypeParam" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#467-537">Source</a><a href="#impl-HirDisplay-for-TypeParam" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.TypeParam.html" title="struct hir::TypeParam">TypeParam</a></h3></section><section id="impl-HirDisplay-for-Union" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#295-309">Source</a><a href="#impl-HirDisplay-for-Union" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Union.html" title="struct hir::Union">Union</a></h3></section><section id="impl-HirDisplay-for-Variant" class="impl"><a class="src rightside" href="../src/hir/display.rs.html#400-428">Source</a><a href="#impl-HirDisplay-for-Variant" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for <a class="struct" href="struct.Variant.html" title="struct hir::Variant">Variant</a></h3></section><section id="impl-HirDisplay-for-CallableSig" class="impl"><a href="#impl-HirDisplay-for-CallableSig" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.HirDisplay.html" title="trait hir::HirDisplay">HirDisplay</a> for CallableSig</h3></section></div><script src="../trait.impl/hir_ty/display/trait.HirDisplay.js" data-ignore-extern-crates="intern,chalk_ir,hir_ty" async></script></section></div></main></body></html>