blob: 248af8c657eb532e61c82109276589b4423127ba [file] [log] [blame] [edit]
<!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 `RootDatabase` struct in crate `ide`."><title>RootDatabase in ide - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.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-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ide" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0 (1159e78c4 2025-09-14)" data-channel="1.90.0" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-32bb7600.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 struct"><!--[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="../ide/index.html">ide</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Root<wbr>Database</a></h2><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.apply_change" title="apply_change">apply_change</a></li><li><a href="#method.enable_proc_attr_macros" title="enable_proc_attr_macros">enable_proc_attr_macros</a></li><li><a href="#method.new" title="new">new</a></li><li><a href="#method.per_query_memory_usage" title="per_query_memory_usage">per_query_memory_usage</a></li><li><a href="#method.request_cancellation" title="request_cancellation">request_cancellation</a></li><li><a href="#method.update_base_query_lru_capacities" title="update_base_query_lru_capacities">update_base_query_lru_capacities</a></li><li><a href="#method.update_lru_capacities" title="update_lru_capacities">update_lru_capacities</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Clone-for-RootDatabase" title="Clone">Clone</a></li><li><a href="#impl-Database-for-RootDatabase" title="Database">Database</a></li><li><a href="#impl-Debug-for-RootDatabase" title="Debug">Debug</a></li><li><a href="#impl-Default-for-RootDatabase" title="Default">Default</a></li><li><a href="#impl-Drop-for-RootDatabase" title="Drop">Drop</a></li><li><a href="#impl-RefUnwindSafe-for-RootDatabase" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-SourceDatabase-for-RootDatabase" title="SourceDatabase">SourceDatabase</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-RootDatabase" title="!Freeze">!Freeze</a></li><li><a href="#impl-Sync-for-RootDatabase" title="!Sync">!Sync</a></li><li><a href="#impl-UnwindSafe-for-RootDatabase" title="!UnwindSafe">!UnwindSafe</a></li><li><a href="#impl-Send-for-RootDatabase" title="Send">Send</a></li><li><a href="#impl-Unpin-for-RootDatabase" title="Unpin">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow&#60;T&#62;">Borrow&#60;T&#62;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut&#60;T&#62;">BorrowMut&#60;T&#62;</a></li><li><a href="#impl-Captures%3C'a%3E-for-T" title="Captures&#60;&#39;a&#62;">Captures&#60;&#39;a&#62;</a></li><li><a href="#impl-Cast-for-T" title="Cast">Cast</a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-CollectAndApply%3CT,+R%3E-for-T" title="CollectAndApply&#60;T, R&#62;">CollectAndApply&#60;T, R&#62;</a></li><li><a href="#impl-DefDatabase-for-DB" title="DefDatabase">DefDatabase</a></li><li><a href="#impl-ErasedDestructor-for-T" title="ErasedDestructor">ErasedDestructor</a></li><li><a href="#impl-ExpandDatabase-for-DB" title="ExpandDatabase">ExpandDatabase</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</a></li><li><a href="#impl-HirDatabase-for-DB" title="HirDatabase">HirDatabase</a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-InternDatabase-for-DB" title="InternDatabase">InternDatabase</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into&#60;U&#62;">Into&#60;U&#62;</a></li><li><a href="#impl-IntoBox%3Cdyn+Any+%2B+Send%3E-for-T" title="IntoBox&#60;dyn Any + Send&#62;">IntoBox&#60;dyn Any + Send&#62;</a></li><li><a href="#impl-IntoBox%3Cdyn+Any%3E-for-T" title="IntoBox&#60;dyn Any&#62;">IntoBox&#60;dyn Any&#62;</a></li><li><a href="#impl-IntoEither-for-T" title="IntoEither">IntoEither</a></li><li><a href="#impl-LineIndexDatabase-for-DB" title="LineIndexDatabase">LineIndexDatabase</a></li><li><a href="#impl-Pointable-for-T" title="Pointable">Pointable</a></li><li><a href="#impl-RootQueryDb-for-DB" title="RootQueryDb">RootQueryDb</a></li><li><a href="#impl-SymbolsDatabase-for-DB" title="SymbolsDatabase">SymbolsDatabase</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom&#60;U&#62;">TryFrom&#60;U&#62;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto&#60;U&#62;">TryInto&#60;U&#62;</a></li><li><a href="#impl-Upcast%3CI,+U%3E-for-T" title="Upcast&#60;I, U&#62;">Upcast&#60;I, U&#62;</a></li><li><a href="#impl-UpcastFrom%3CI,+T%3E-for-T" title="UpcastFrom&#60;I, T&#62;">UpcastFrom&#60;I, T&#62;</a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate ide</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">ide</a></div><h1>Struct <span class="struct">RootDatabase</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 struct RootDatabase { <span class="comment">/* private fields */</span> }</code></pre><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-RootDatabase" class="impl"><a href="#impl-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><section id="method.request_cancellation" class="method"><h4 class="code-header">pub fn <a href="#method.request_cancellation" class="fn">request_cancellation</a>(&amp;mut self)</h4></section><section id="method.apply_change" class="method"><h4 class="code-header">pub fn <a href="#method.apply_change" class="fn">apply_change</a>(&amp;mut self, change: ChangeWithProcMacros)</h4></section><section id="method.per_query_memory_usage" class="method"><h4 class="code-header">pub fn <a href="#method.per_query_memory_usage" class="fn">per_query_memory_usage</a>(&amp;mut self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;(<a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, Bytes, <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a>)&gt;</h4></section></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-RootDatabase-1" class="impl"><a href="#impl-RootDatabase-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>(lru_capacity: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.u16.html">u16</a>&gt;) -&gt; <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h4></section><section id="method.enable_proc_attr_macros" class="method"><h4 class="code-header">pub fn <a href="#method.enable_proc_attr_macros" class="fn">enable_proc_attr_macros</a>(&amp;mut self)</h4></section><section id="method.update_base_query_lru_capacities" class="method"><h4 class="code-header">pub fn <a href="#method.update_base_query_lru_capacities" class="fn">update_base_query_lru_capacities</a>(&amp;mut self, _lru_capacity: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.u16.html">u16</a>&gt;)</h4></section><section id="method.update_lru_capacities" class="method"><h4 class="code-header">pub fn <a href="#method.update_lru_capacities" class="fn">update_lru_capacities</a>(
&amp;mut self,
_lru_capacities: &amp;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/map/struct.HashMap.html" title="struct std::collections::hash::map::HashMap">HashMap</a>&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.str.html">str</a>&gt;, <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.u16.html">u16</a>, FxBuildHasher&gt;,
)</h4></section></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-RootDatabase" class="impl"><a href="#impl-Clone-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&amp;self) -&gt; <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/1.90.0/src/core/clone.rs.html#213-215">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&amp;mut self, source: &amp;Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Database-for-RootDatabase" class="impl"><a href="#impl-Database-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl Database for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.trigger_lru_eviction" class="method trait-impl"><a href="#method.trigger_lru_eviction" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trigger_lru_eviction</a>(&amp;mut self)</h4></section></summary><div class='docblock'>Enforces current LRU limits, evicting entries if necessary. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.synthetic_write" class="method trait-impl"><a href="#method.synthetic_write" class="anchor">§</a><h4 class="code-header">fn <a class="fn">synthetic_write</a>(&amp;mut self, durability: Durability)</h4></section></summary><div class='docblock'>A “synthetic write” causes the system to act <em>as though</em> some
input of durability <code>durability</code> has changed, triggering a new revision.
This is mostly useful for profiling scenarios. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.trigger_cancellation" class="method trait-impl"><a href="#method.trigger_cancellation" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trigger_cancellation</a>(&amp;mut self)</h4></section></summary><div class='docblock'>This method triggers cancellation.
If you invoke it while a snapshot exists, it
will block until that snapshot is dropped – if that snapshot
is owned by the current thread, this could trigger deadlock.</div></details><details class="toggle method-toggle" open><summary><section id="method.report_untracked_read" class="method trait-impl"><a href="#method.report_untracked_read" class="anchor">§</a><h4 class="code-header">fn <a class="fn">report_untracked_read</a>(&amp;self)</h4></section></summary><div class='docblock'>Reports that the query depends on some state unknown to salsa. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.ingredient_debug_name" class="method trait-impl"><a href="#method.ingredient_debug_name" class="anchor">§</a><h4 class="code-header">fn <a class="fn">ingredient_debug_name</a>(
&amp;self,
ingredient_index: IngredientIndex,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'_, <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.str.html">str</a>&gt;</h4></section></summary><div class='docblock'>Return the “debug name” (i.e., the struct name, etc) for an “ingredient”,
which are the fine-grained components we use to track data. This is intended
for debugging and the contents of the returned string are not semver-guaranteed. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.unwind_if_revision_cancelled" class="method trait-impl"><a href="#method.unwind_if_revision_cancelled" class="anchor">§</a><h4 class="code-header">fn <a class="fn">unwind_if_revision_cancelled</a>(&amp;self)</h4></section></summary><div class='docblock'>Starts unwinding the stack if the current revision is cancelled. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.attach" class="method trait-impl"><a href="#method.attach" class="anchor">§</a><h4 class="code-header">fn <a class="fn">attach</a>&lt;R&gt;(&amp;self, op: impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self) -&gt; R) -&gt; R<div class="where">where
Self: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Execute <code>op</code> with the database in thread-local storage for debug print-outs.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-RootDatabase" class="impl"><a href="#impl-Debug-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/1.90.0/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/1.90.0/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-RootDatabase" class="impl"><a href="#impl-Default-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -&gt; <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/1.90.0/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Drop-for-RootDatabase" class="impl"><a href="#impl-Drop-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/ops/drop/trait.Drop.html" title="trait core::ops::drop::Drop">Drop</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.drop" class="method trait-impl"><a href="#method.drop" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/ops/drop/trait.Drop.html#tymethod.drop" class="fn">drop</a>(&amp;mut self)</h4></section></summary><div class='docblock'>Executes the destructor for this type. <a href="https://doc.rust-lang.org/1.90.0/core/ops/drop/trait.Drop.html#tymethod.drop">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-SourceDatabase-for-RootDatabase" class="impl"><a href="#impl-SourceDatabase-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl SourceDatabase for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.source_root" class="method trait-impl"><a href="#method.source_root" class="anchor">§</a><h4 class="code-header">fn <a class="fn">source_root</a>(&amp;self, source_root_id: <a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>) -&gt; SourceRootInput</h4></section></summary><div class="docblock"><p>Source root of the file.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.file_text" class="method trait-impl"><a href="#method.file_text" class="anchor">§</a><h4 class="code-header">fn <a class="fn">file_text</a>(&amp;self, file_id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>) -&gt; FileText</h4></section></summary><div class='docblock'>Text of the file.</div></details><section id="method.set_file_text" class="method trait-impl"><a href="#method.set_file_text" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_file_text</a>(&amp;mut self, file_id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>, text: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.str.html">str</a>)</h4></section><section id="method.set_file_text_with_durability" class="method trait-impl"><a href="#method.set_file_text_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_file_text_with_durability</a>(
&amp;mut self,
file_id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>,
text: &amp;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.str.html">str</a>,
durability: Durability,
)</h4></section><details class="toggle method-toggle" open><summary><section id="method.set_source_root_with_durability" class="method trait-impl"><a href="#method.set_source_root_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_source_root_with_durability</a>(
&amp;mut self,
source_root_id: <a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>,
source_root: Arc&lt;<a class="struct" href="struct.SourceRoot.html" title="struct ide::SourceRoot">SourceRoot</a>&gt;,
durability: Durability,
)</h4></section></summary><div class='docblock'>Source root of the file.</div></details><section id="method.file_source_root" class="method trait-impl"><a href="#method.file_source_root" class="anchor">§</a><h4 class="code-header">fn <a class="fn">file_source_root</a>(&amp;self, id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>) -&gt; FileSourceRootInput</h4></section><section id="method.set_file_source_root_with_durability" class="method trait-impl"><a href="#method.set_file_source_root_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_file_source_root_with_durability</a>(
&amp;mut self,
id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>,
source_root_id: <a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>,
durability: Durability,
)</h4></section><section id="method.nonce_and_revision" class="method trait-impl"><a href="#method.nonce_and_revision" class="anchor">§</a><h4 class="code-header">fn <a class="fn">nonce_and_revision</a>(&amp;self) -&gt; (Nonce, Revision)</h4></section><section id="method.resolve_path" class="method trait-impl"><a href="#method.resolve_path" class="anchor">§</a><h4 class="code-header">fn <a class="fn">resolve_path</a>(&amp;self, path: AnchoredPath&lt;'_&gt;) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>&gt;</h4></section></div></details><section id="impl-RefUnwindSafe-for-RootDatabase" class="impl"><a href="#impl-RefUnwindSafe-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-RootDatabase" class="impl"><a href="#impl-Freeze-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section><section id="impl-Send-for-RootDatabase" class="impl"><a href="#impl-Send-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section><section id="impl-Sync-for-RootDatabase" class="impl"><a href="#impl-Sync-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section><section id="impl-Unpin-for-RootDatabase" class="impl"><a href="#impl-Unpin-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section><section id="impl-UnwindSafe-for-RootDatabase" class="impl"><a href="#impl-UnwindSafe-for-RootDatabase" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.RootDatabase.html" title="struct ide::RootDatabase">RootDatabase</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.reference.html">&amp;T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.90.0/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.reference.html">&amp;mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/1.90.0/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Cast-for-T" class="impl"><a href="#impl-Cast-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Cast for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.cast" class="method trait-impl"><a href="#method.cast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">cast</a>&lt;U&gt;(self, interner: &lt;U as HasInterner&gt;::Interner) -&gt; U<div class="where">where
Self: CastTo&lt;U&gt;,
U: HasInterner,</div></h4></section></summary><div class='docblock'>Cast a value to type <code>U</code> using <code>CastTo</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/clone.rs.html#483">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/clone.rs.html#485">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&amp;self, dest: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/1.90.0/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CollectAndApply%3CT,+R%3E-for-T" class="impl"><a href="#impl-CollectAndApply%3CT,+R%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, R&gt; CollectAndApply&lt;T, R&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.collect_and_apply" class="method trait-impl"><a href="#method.collect_and_apply" class="anchor">§</a><h4 class="code-header">fn <a class="fn">collect_and_apply</a>&lt;I, F&gt;(iter: I, f: F) -&gt; R<div class="where">where
I: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator">Iterator</a>&lt;Item = T&gt;,
F: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.slice.html">[T]</a>) -&gt; R,</div></h4></section></summary><div class="docblock"><p>Equivalent to <code>f(&amp;iter.collect::&lt;Vec&lt;_&gt;&gt;())</code>.</p>
</div></details><section id="associatedtype.Output" class="associatedtype trait-impl"><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Output</a> = R</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DefDatabase-for-DB" class="impl"><a href="#impl-DefDatabase-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; DefDatabase for DB<div class="where">where
DB: InternDatabase + ExpandDatabase + SourceDatabase,</div></h3></section></summary><div class="impl-items"><section id="method.expand_proc_attr_macros" class="method trait-impl"><a href="#method.expand_proc_attr_macros" class="anchor">§</a><h4 class="code-header">fn <a class="fn">expand_proc_attr_macros</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.bool.html">bool</a></h4></section><section id="method.file_item_tree" class="method trait-impl"><a href="#method.file_item_tree" class="anchor">§</a><h4 class="code-header">fn <a class="fn">file_item_tree</a>(&amp;self, file_id: HirFileId) -&gt; &amp;ItemTree</h4></section><section id="method.macro_def" class="method trait-impl"><a href="#method.macro_def" class="anchor">§</a><h4 class="code-header">fn <a class="fn">macro_def</a>(&amp;self, m: MacroId) -&gt; MacroDefId</h4></section><section id="method.trait_signature" class="method trait-impl"><a href="#method.trait_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_signature</a>(&amp;self, trait_: TraitId) -&gt; Arc&lt;TraitSignature&gt;</h4></section><section id="method.impl_signature" class="method trait-impl"><a href="#method.impl_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">impl_signature</a>(&amp;self, impl_: ImplId) -&gt; Arc&lt;ImplSignature&gt;</h4></section><section id="method.struct_signature" class="method trait-impl"><a href="#method.struct_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">struct_signature</a>(&amp;self, struct_: StructId) -&gt; Arc&lt;StructSignature&gt;</h4></section><section id="method.union_signature" class="method trait-impl"><a href="#method.union_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">union_signature</a>(&amp;self, union_: UnionId) -&gt; Arc&lt;UnionSignature&gt;</h4></section><section id="method.enum_signature" class="method trait-impl"><a href="#method.enum_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">enum_signature</a>(&amp;self, e: EnumId) -&gt; Arc&lt;EnumSignature&gt;</h4></section><section id="method.const_signature" class="method trait-impl"><a href="#method.const_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_signature</a>(&amp;self, e: ConstId) -&gt; Arc&lt;ConstSignature&gt;</h4></section><section id="method.static_signature" class="method trait-impl"><a href="#method.static_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">static_signature</a>(&amp;self, e: StaticId) -&gt; Arc&lt;StaticSignature&gt;</h4></section><section id="method.function_signature" class="method trait-impl"><a href="#method.function_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">function_signature</a>(&amp;self, e: FunctionId) -&gt; Arc&lt;FunctionSignature&gt;</h4></section><section id="method.type_alias_signature" class="method trait-impl"><a href="#method.type_alias_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">type_alias_signature</a>(&amp;self, e: TypeAliasId) -&gt; Arc&lt;TypeAliasSignature&gt;</h4></section><section id="method.trait_signature_with_source_map" class="method trait-impl"><a href="#method.trait_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_signature_with_source_map</a>(
&amp;self,
trait_: TraitId,
) -&gt; (Arc&lt;TraitSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.impl_signature_with_source_map" class="method trait-impl"><a href="#method.impl_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">impl_signature_with_source_map</a>(
&amp;self,
impl_: ImplId,
) -&gt; (Arc&lt;ImplSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.struct_signature_with_source_map" class="method trait-impl"><a href="#method.struct_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">struct_signature_with_source_map</a>(
&amp;self,
struct_: StructId,
) -&gt; (Arc&lt;StructSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.union_signature_with_source_map" class="method trait-impl"><a href="#method.union_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">union_signature_with_source_map</a>(
&amp;self,
union_: UnionId,
) -&gt; (Arc&lt;UnionSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.enum_signature_with_source_map" class="method trait-impl"><a href="#method.enum_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">enum_signature_with_source_map</a>(
&amp;self,
e: EnumId,
) -&gt; (Arc&lt;EnumSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.const_signature_with_source_map" class="method trait-impl"><a href="#method.const_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_signature_with_source_map</a>(
&amp;self,
e: ConstId,
) -&gt; (Arc&lt;ConstSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.static_signature_with_source_map" class="method trait-impl"><a href="#method.static_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">static_signature_with_source_map</a>(
&amp;self,
e: StaticId,
) -&gt; (Arc&lt;StaticSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.function_signature_with_source_map" class="method trait-impl"><a href="#method.function_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">function_signature_with_source_map</a>(
&amp;self,
e: FunctionId,
) -&gt; (Arc&lt;FunctionSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.type_alias_signature_with_source_map" class="method trait-impl"><a href="#method.type_alias_signature_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">type_alias_signature_with_source_map</a>(
&amp;self,
e: TypeAliasId,
) -&gt; (Arc&lt;TypeAliasSignature&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.body_with_source_map" class="method trait-impl"><a href="#method.body_with_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">body_with_source_map</a>(
&amp;self,
def: DefWithBodyId,
) -&gt; (Arc&lt;Body&gt;, Arc&lt;BodySourceMap&gt;)</h4></section><section id="method.body" class="method trait-impl"><a href="#method.body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">body</a>(&amp;self, def: DefWithBodyId) -&gt; Arc&lt;Body&gt;</h4></section><section id="method.expr_scopes" class="method trait-impl"><a href="#method.expr_scopes" class="anchor">§</a><h4 class="code-header">fn <a class="fn">expr_scopes</a>(&amp;self, def: DefWithBodyId) -&gt; Arc&lt;ExprScopes&gt;</h4></section><section id="method.generic_params" class="method trait-impl"><a href="#method.generic_params" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_params</a>(&amp;self, def: GenericDefId) -&gt; Arc&lt;GenericParams&gt;</h4></section><section id="method.generic_params_and_store" class="method trait-impl"><a href="#method.generic_params_and_store" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_params_and_store</a>(
&amp;self,
def: GenericDefId,
) -&gt; (Arc&lt;GenericParams&gt;, Arc&lt;ExpressionStore&gt;)</h4></section><section id="method.generic_params_and_store_and_source_map" class="method trait-impl"><a href="#method.generic_params_and_store_and_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_params_and_store_and_source_map</a>(
&amp;self,
def: GenericDefId,
) -&gt; (Arc&lt;GenericParams&gt;, Arc&lt;ExpressionStore&gt;, Arc&lt;ExpressionStoreSourceMap&gt;)</h4></section><section id="method.fields_attrs" class="method trait-impl"><a href="#method.fields_attrs" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fields_attrs</a>(&amp;self, def: VariantId) -&gt; Arc&lt;ArenaMap&lt;Idx&lt;FieldData&gt;, Attrs&gt;&gt;</h4></section><section id="method.fields_attrs_source_map" class="method trait-impl"><a href="#method.fields_attrs_source_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fields_attrs_source_map</a>(
&amp;self,
def: VariantId,
) -&gt; Arc&lt;ArenaMap&lt;Idx&lt;FieldData&gt;, AstPtr&lt;<a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;TupleField, RecordField&gt;&gt;&gt;&gt;</h4></section><section id="method.attrs" class="method trait-impl"><a href="#method.attrs" class="anchor">§</a><h4 class="code-header">fn <a class="fn">attrs</a>(&amp;self, def: AttrDefId) -&gt; Attrs</h4></section><section id="method.lang_attr" class="method trait-impl"><a href="#method.lang_attr" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lang_attr</a>(&amp;self, def: AttrDefId) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;LangItem&gt;</h4></section><section id="method.import_map" class="method trait-impl"><a href="#method.import_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">import_map</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; Arc&lt;ImportMap&gt;</h4></section><section id="method.field_visibilities" class="method trait-impl"><a href="#method.field_visibilities" class="anchor">§</a><h4 class="code-header">fn <a class="fn">field_visibilities</a>(
&amp;self,
var: VariantId,
) -&gt; Arc&lt;ArenaMap&lt;Idx&lt;FieldData&gt;, Visibility&gt;&gt;</h4></section><section id="method.assoc_visibility" class="method trait-impl"><a href="#method.assoc_visibility" class="anchor">§</a><h4 class="code-header">fn <a class="fn">assoc_visibility</a>(&amp;self, def: AssocItemId) -&gt; Visibility</h4></section><section id="method.notable_traits_in_deps" class="method trait-impl"><a href="#method.notable_traits_in_deps" class="anchor">§</a><h4 class="code-header">fn <a class="fn">notable_traits_in_deps</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; Arc&lt;[Arc&lt;[TraitId]&gt;]&gt;</h4></section><section id="method.crate_notable_traits" class="method trait-impl"><a href="#method.crate_notable_traits" class="anchor">§</a><h4 class="code-header">fn <a class="fn">crate_notable_traits</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;[TraitId]&gt;&gt;</h4></section><section id="method.crate_supports_no_std" class="method trait-impl"><a href="#method.crate_supports_no_std" class="anchor">§</a><h4 class="code-header">fn <a class="fn">crate_supports_no_std</a>(&amp;self, crate_id: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.bool.html">bool</a></h4></section><section id="method.include_macro_invoc" class="method trait-impl"><a href="#method.include_macro_invoc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">include_macro_invoc</a>(
&amp;self,
crate_id: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>,
) -&gt; Arc&lt;[(MacroCallId, EditionedFileId)]&gt;</h4></section><section id="method.set_expand_proc_attr_macros" class="method trait-impl"><a href="#method.set_expand_proc_attr_macros" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_expand_proc_attr_macros</a>(&amp;mut self, __value: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.bool.html">bool</a>)</h4></section><section id="method.set_expand_proc_attr_macros_with_durability" class="method trait-impl"><a href="#method.set_expand_proc_attr_macros_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_expand_proc_attr_macros_with_durability</a>(
&amp;mut self,
__value: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.bool.html">bool</a>,
durability: Durability,
)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ExpandDatabase-for-DB" class="impl"><a href="#impl-ExpandDatabase-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; ExpandDatabase for DB<div class="where">where
DB: RootQueryDb,</div></h3></section></summary><div class="impl-items"><section id="method.proc_macros" class="method trait-impl"><a href="#method.proc_macros" class="anchor">§</a><h4 class="code-header">fn <a class="fn">proc_macros</a>(&amp;self) -&gt; Arc&lt;ProcMacros&gt;</h4></section><section id="method.proc_macros_for_crate" class="method trait-impl"><a href="#method.proc_macros_for_crate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">proc_macros_for_crate</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;CrateProcMacros&gt;&gt;</h4></section><section id="method.ast_id_map" class="method trait-impl"><a href="#method.ast_id_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">ast_id_map</a>(&amp;self, file_id: HirFileId) -&gt; Arc&lt;AstIdMap&gt;</h4></section><section id="method.parse_or_expand" class="method trait-impl"><a href="#method.parse_or_expand" class="anchor">§</a><h4 class="code-header">fn <a class="fn">parse_or_expand</a>(&amp;self, file_id: HirFileId) -&gt; SyntaxNode&lt;RustLanguage&gt;</h4></section><section id="method.parse_macro_expansion" class="method trait-impl"><a href="#method.parse_macro_expansion" class="anchor">§</a><h4 class="code-header">fn <a class="fn">parse_macro_expansion</a>(
&amp;self,
macro_file: MacroCallId,
) -&gt; ValueResult&lt;(Parse&lt;SyntaxNode&lt;RustLanguage&gt;&gt;, Arc&lt;SpanMap&lt;SyntaxContext&gt;&gt;), ExpandError&gt;</h4></section><section id="method.span_map" class="method trait-impl"><a href="#method.span_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">span_map</a>(&amp;self, file_id: HirFileId) -&gt; SpanMap</h4></section><section id="method.expansion_span_map" class="method trait-impl"><a href="#method.expansion_span_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">expansion_span_map</a>(
&amp;self,
file_id: MacroCallId,
) -&gt; Arc&lt;SpanMap&lt;SyntaxContext&gt;&gt;</h4></section><section id="method.real_span_map" class="method trait-impl"><a href="#method.real_span_map" class="anchor">§</a><h4 class="code-header">fn <a class="fn">real_span_map</a>(&amp;self, file_id: EditionedFileId) -&gt; Arc&lt;RealSpanMap&gt;</h4></section><section id="method.intern_macro_call" class="method trait-impl"><a href="#method.intern_macro_call" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_macro_call</a>(&amp;self, macro_call: MacroCallLoc) -&gt; MacroCallId</h4></section><section id="method.lookup_intern_macro_call" class="method trait-impl"><a href="#method.lookup_intern_macro_call" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_macro_call</a>(&amp;self, macro_call: MacroCallId) -&gt; MacroCallLoc</h4></section><section id="method.macro_arg" class="method trait-impl"><a href="#method.macro_arg" class="anchor">§</a><h4 class="code-header">fn <a class="fn">macro_arg</a>(
&amp;self,
id: MacroCallId,
) -&gt; (Arc&lt;TopSubtree&lt;SpanData&lt;SyntaxContext&gt;&gt;&gt;, SyntaxFixupUndoInfo, SpanData&lt;SyntaxContext&gt;)</h4></section><section id="method.macro_arg_considering_derives" class="method trait-impl"><a href="#method.macro_arg_considering_derives" class="anchor">§</a><h4 class="code-header">fn <a class="fn">macro_arg_considering_derives</a>(
&amp;self,
id: MacroCallId,
kind: &amp;MacroCallKind,
) -&gt; (Arc&lt;TopSubtree&lt;SpanData&lt;SyntaxContext&gt;&gt;&gt;, SyntaxFixupUndoInfo, SpanData&lt;SyntaxContext&gt;)</h4></section><section id="method.macro_expander" class="method trait-impl"><a href="#method.macro_expander" class="anchor">§</a><h4 class="code-header">fn <a class="fn">macro_expander</a>(&amp;self, id: MacroDefId) -&gt; TokenExpander</h4></section><section id="method.decl_macro_expander" class="method trait-impl"><a href="#method.decl_macro_expander" class="anchor">§</a><h4 class="code-header">fn <a class="fn">decl_macro_expander</a>(
&amp;self,
def_crate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>,
id: InFileWrapper&lt;HirFileId, FileAstId&lt;Macro&gt;&gt;,
) -&gt; Arc&lt;DeclarativeMacroExpander&gt;</h4></section><section id="method.expand_proc_macro" class="method trait-impl"><a href="#method.expand_proc_macro" class="anchor">§</a><h4 class="code-header">fn <a class="fn">expand_proc_macro</a>(
&amp;self,
call: MacroCallId,
) -&gt; ValueResult&lt;Arc&lt;TopSubtree&lt;SpanData&lt;SyntaxContext&gt;&gt;&gt;, ExpandError&gt;</h4></section><section id="method.proc_macro_span" class="method trait-impl"><a href="#method.proc_macro_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">proc_macro_span</a>(
&amp;self,
fun: InFileWrapper&lt;HirFileId, FileAstId&lt;Fn&gt;&gt;,
) -&gt; SpanData&lt;SyntaxContext&gt;</h4></section><section id="method.parse_macro_expansion_error" class="method trait-impl"><a href="#method.parse_macro_expansion_error" class="anchor">§</a><h4 class="code-header">fn <a class="fn">parse_macro_expansion_error</a>(
&amp;self,
macro_call: MacroCallId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;ValueResult&lt;Arc&lt;[SyntaxError]&gt;, ExpandError&gt;&gt;&gt;</h4></section><section id="method.syntax_context" class="method trait-impl"><a href="#method.syntax_context" class="anchor">§</a><h4 class="code-header">fn <a class="fn">syntax_context</a>(&amp;self, file: HirFileId, edition: <a class="enum" href="enum.Edition.html" title="enum ide::Edition">Edition</a>) -&gt; SyntaxContext</h4></section><section id="method.set_proc_macros" class="method trait-impl"><a href="#method.set_proc_macros" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_proc_macros</a>(&amp;mut self, __value: Arc&lt;ProcMacros&gt;)</h4></section><section id="method.set_proc_macros_with_durability" class="method trait-impl"><a href="#method.set_proc_macros_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_proc_macros_with_durability</a>(
&amp;mut self,
__value: Arc&lt;ProcMacros&gt;,
durability: Durability,
)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#791">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#794">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-HirDatabase-for-DB" class="impl"><a href="#impl-HirDatabase-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; HirDatabase for DB<div class="where">where
DB: DefDatabase + <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a>,</div></h3></section></summary><div class="impl-items"><section id="method.infer" class="method trait-impl"><a href="#method.infer" class="anchor">§</a><h4 class="code-header">fn <a class="fn">infer</a>&lt;'db&gt;(&amp;'db self, def: DefWithBodyId) -&gt; Arc&lt;InferenceResult&lt;'db&gt;&gt;</h4></section><section id="method.mir_body" class="method trait-impl"><a href="#method.mir_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">mir_body</a>&lt;'db&gt;(
&amp;'db self,
def: DefWithBodyId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;MirBody&gt;, MirLowerError&lt;'db&gt;&gt;</h4></section><section id="method.mir_body_for_closure" class="method trait-impl"><a href="#method.mir_body_for_closure" class="anchor">§</a><h4 class="code-header">fn <a class="fn">mir_body_for_closure</a>&lt;'db&gt;(
&amp;'db self,
def: InternedClosureId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;MirBody&gt;, MirLowerError&lt;'db&gt;&gt;</h4></section><section id="method.monomorphized_mir_body" class="method trait-impl"><a href="#method.monomorphized_mir_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">monomorphized_mir_body</a>&lt;'db&gt;(
&amp;'db self,
def: DefWithBodyId,
subst: Substitution&lt;Interner&gt;,
env: Arc&lt;TraitEnvironment&lt;'db&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;MirBody&gt;, MirLowerError&lt;'db&gt;&gt;</h4></section><section id="method.monomorphized_mir_body_for_closure" class="method trait-impl"><a href="#method.monomorphized_mir_body_for_closure" class="anchor">§</a><h4 class="code-header">fn <a class="fn">monomorphized_mir_body_for_closure</a>&lt;'db&gt;(
&amp;'db self,
def: InternedClosureId,
subst: Substitution&lt;Interner&gt;,
env: Arc&lt;TraitEnvironment&lt;'db&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;MirBody&gt;, MirLowerError&lt;'db&gt;&gt;</h4></section><section id="method.borrowck" class="method trait-impl"><a href="#method.borrowck" class="anchor">§</a><h4 class="code-header">fn <a class="fn">borrowck</a>&lt;'db&gt;(
&amp;'db self,
def: DefWithBodyId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;[BorrowckResult]&gt;, MirLowerError&lt;'db&gt;&gt;</h4></section><section id="method.const_eval" class="method trait-impl"><a href="#method.const_eval" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_eval</a>&lt;'db&gt;(
&amp;'db self,
def: GeneralConstId,
subst: Substitution&lt;Interner&gt;,
trait_env: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;TraitEnvironment&lt;'db&gt;&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Const&lt;Interner&gt;, ConstEvalError&lt;'db&gt;&gt;</h4></section><section id="method.const_eval_static" class="method trait-impl"><a href="#method.const_eval_static" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_eval_static</a>&lt;'db&gt;(
&amp;'db self,
def: StaticId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Const&lt;Interner&gt;, ConstEvalError&lt;'db&gt;&gt;</h4></section><section id="method.const_eval_discriminant" class="method trait-impl"><a href="#method.const_eval_discriminant" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_eval_discriminant</a>&lt;'db&gt;(
&amp;'db self,
def: EnumVariantId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.i128.html">i128</a>, ConstEvalError&lt;'db&gt;&gt;</h4></section><section id="method.lookup_impl_method" class="method trait-impl"><a href="#method.lookup_impl_method" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_impl_method</a>&lt;'db&gt;(
&amp;'db self,
env: Arc&lt;TraitEnvironment&lt;'db&gt;&gt;,
func: FunctionId,
fn_subst: GenericArgs&lt;'db&gt;,
) -&gt; (FunctionId, GenericArgs&lt;'db&gt;)</h4></section><section id="method.layout_of_adt" class="method trait-impl"><a href="#method.layout_of_adt" class="anchor">§</a><h4 class="code-header">fn <a class="fn">layout_of_adt</a>&lt;'db&gt;(
&amp;'db self,
def: AdtId,
args: GenericArgs&lt;'db&gt;,
trait_env: Arc&lt;TraitEnvironment&lt;'db&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;LayoutData&lt;RustcFieldIdx, RustcEnumVariantIdx&gt;&gt;, LayoutError&gt;</h4></section><section id="method.layout_of_ty" class="method trait-impl"><a href="#method.layout_of_ty" class="anchor">§</a><h4 class="code-header">fn <a class="fn">layout_of_ty</a>&lt;'db&gt;(
&amp;'db self,
ty: Ty&lt;'db&gt;,
env: Arc&lt;TraitEnvironment&lt;'db&gt;&gt;,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;LayoutData&lt;RustcFieldIdx, RustcEnumVariantIdx&gt;&gt;, LayoutError&gt;</h4></section><section id="method.target_data_layout" class="method trait-impl"><a href="#method.target_data_layout" class="anchor">§</a><h4 class="code-header">fn <a class="fn">target_data_layout</a>(
&amp;self,
krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Arc&lt;TargetDataLayout&gt;, TargetLoadError&gt;</h4></section><section id="method.dyn_compatibility_of_trait" class="method trait-impl"><a href="#method.dyn_compatibility_of_trait" class="anchor">§</a><h4 class="code-header">fn <a class="fn">dyn_compatibility_of_trait</a>(
&amp;self,
trait_: TraitId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;DynCompatibilityViolation&gt;</h4></section><section id="method.ty" class="method trait-impl"><a href="#method.ty" class="anchor">§</a><h4 class="code-header">fn <a class="fn">ty</a>&lt;'db&gt;(&amp;'db self, def: TyDefId) -&gt; EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;</h4></section><section id="method.type_for_type_alias_with_diagnostics" class="method trait-impl"><a href="#method.type_for_type_alias_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">type_for_type_alias_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
def: TypeAliasId,
) -&gt; (EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.value_ty" class="method trait-impl"><a href="#method.value_ty" class="anchor">§</a><h4 class="code-header">fn <a class="fn">value_ty</a>&lt;'db&gt;(
&amp;'db self,
def: ValueTyDefId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;&gt;</h4></section><section id="method.impl_self_ty_with_diagnostics" class="method trait-impl"><a href="#method.impl_self_ty_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">impl_self_ty_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
def: ImplId,
) -&gt; (EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.impl_self_ty" class="method trait-impl"><a href="#method.impl_self_ty" class="anchor">§</a><h4 class="code-header">fn <a class="fn">impl_self_ty</a>&lt;'db&gt;(
&amp;'db self,
def: ImplId,
) -&gt; EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;</h4></section><section id="method.const_param_ty_with_diagnostics" class="method trait-impl"><a href="#method.const_param_ty_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_param_ty_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
def: ConstParamId,
) -&gt; (Ty&lt;'db&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.const_param_ty" class="method trait-impl"><a href="#method.const_param_ty" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_param_ty</a>(&amp;self, def: ConstParamId) -&gt; Ty&lt;Interner&gt;</h4></section><section id="method.impl_trait_with_diagnostics" class="method trait-impl"><a href="#method.impl_trait_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">impl_trait_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
def: ImplId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;(EarlyBinder&lt;DbInterner&lt;'db&gt;, TraitRef&lt;DbInterner&lt;'db&gt;&gt;&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)&gt;</h4></section><section id="method.impl_trait" class="method trait-impl"><a href="#method.impl_trait" class="anchor">§</a><h4 class="code-header">fn <a class="fn">impl_trait</a>&lt;'db&gt;(
&amp;'db self,
def: ImplId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;EarlyBinder&lt;DbInterner&lt;'db&gt;, TraitRef&lt;DbInterner&lt;'db&gt;&gt;&gt;&gt;</h4></section><section id="method.field_types_with_diagnostics" class="method trait-impl"><a href="#method.field_types_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">field_types_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
var: VariantId,
) -&gt; (Arc&lt;ArenaMap&lt;Idx&lt;FieldData&gt;, EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;&gt;&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.field_types" class="method trait-impl"><a href="#method.field_types" class="anchor">§</a><h4 class="code-header">fn <a class="fn">field_types</a>(
&amp;self,
var: VariantId,
) -&gt; Arc&lt;ArenaMap&lt;Idx&lt;FieldData&gt;, Binders&lt;Ty&lt;Interner&gt;&gt;&gt;&gt;</h4></section><section id="method.callable_item_signature" class="method trait-impl"><a href="#method.callable_item_signature" class="anchor">§</a><h4 class="code-header">fn <a class="fn">callable_item_signature</a>&lt;'db&gt;(
&amp;'db self,
def: CallableDefId,
) -&gt; EarlyBinder&lt;DbInterner&lt;'db&gt;, Binder&lt;DbInterner&lt;'db&gt;, FnSig&lt;DbInterner&lt;'db&gt;&gt;&gt;&gt;</h4></section><section id="method.return_type_impl_traits" class="method trait-impl"><a href="#method.return_type_impl_traits" class="anchor">§</a><h4 class="code-header">fn <a class="fn">return_type_impl_traits</a>(
&amp;self,
def: FunctionId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;Binders&lt;ImplTraits&gt;&gt;&gt;</h4></section><section id="method.type_alias_impl_traits" class="method trait-impl"><a href="#method.type_alias_impl_traits" class="anchor">§</a><h4 class="code-header">fn <a class="fn">type_alias_impl_traits</a>(
&amp;self,
def: TypeAliasId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;Binders&lt;ImplTraits&gt;&gt;&gt;</h4></section><section id="method.generic_predicates_for_param" class="method trait-impl"><a href="#method.generic_predicates_for_param" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_predicates_for_param</a>(
&amp;self,
def: GenericDefId,
param_id: TypeOrConstParamId,
assoc_name: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Name&gt;,
) -&gt; GenericPredicates</h4></section><section id="method.generic_predicates" class="method trait-impl"><a href="#method.generic_predicates" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_predicates</a>(&amp;self, def: GenericDefId) -&gt; GenericPredicates</h4></section><section id="method.generic_predicates_without_parent_with_diagnostics" class="method trait-impl"><a href="#method.generic_predicates_without_parent_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_predicates_without_parent_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
) -&gt; (GenericPredicates&lt;'db&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.generic_predicates_without_parent" class="method trait-impl"><a href="#method.generic_predicates_without_parent" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_predicates_without_parent</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
) -&gt; GenericPredicates&lt;'db&gt;</h4></section><section id="method.trait_environment_for_body" class="method trait-impl"><a href="#method.trait_environment_for_body" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_environment_for_body</a>&lt;'db&gt;(
&amp;'db self,
def: DefWithBodyId,
) -&gt; Arc&lt;TraitEnvironment&lt;'db&gt;&gt;</h4></section><section id="method.trait_environment" class="method trait-impl"><a href="#method.trait_environment" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_environment</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
) -&gt; Arc&lt;TraitEnvironment&lt;'db&gt;&gt;</h4></section><section id="method.generic_defaults_with_diagnostics" class="method trait-impl"><a href="#method.generic_defaults_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_defaults_with_diagnostics</a>(
&amp;self,
def: GenericDefId,
) -&gt; (GenericDefaults, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.generic_defaults" class="method trait-impl"><a href="#method.generic_defaults" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_defaults</a>(&amp;self, def: GenericDefId) -&gt; GenericDefaults</h4></section><section id="method.inherent_impls_in_crate" class="method trait-impl"><a href="#method.inherent_impls_in_crate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">inherent_impls_in_crate</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; Arc&lt;InherentImpls&gt;</h4></section><section id="method.inherent_impls_in_block" class="method trait-impl"><a href="#method.inherent_impls_in_block" class="anchor">§</a><h4 class="code-header">fn <a class="fn">inherent_impls_in_block</a>(&amp;self, block: BlockId) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;InherentImpls&gt;&gt;</h4></section><section id="method.incoherent_inherent_impl_crates" class="method trait-impl"><a href="#method.incoherent_inherent_impl_crates" class="anchor">§</a><h4 class="code-header">fn <a class="fn">incoherent_inherent_impl_crates</a>(
&amp;self,
krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>,
fp: TyFingerprint,
) -&gt; SmallVec&lt;[<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.array.html">2</a>]&gt;</h4></section><section id="method.trait_impls_in_crate" class="method trait-impl"><a href="#method.trait_impls_in_crate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_impls_in_crate</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; Arc&lt;TraitImpls&gt;</h4></section><section id="method.trait_impls_in_block" class="method trait-impl"><a href="#method.trait_impls_in_block" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_impls_in_block</a>(&amp;self, block: BlockId) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;TraitImpls&gt;&gt;</h4></section><section id="method.trait_impls_in_deps" class="method trait-impl"><a href="#method.trait_impls_in_deps" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_impls_in_deps</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; Arc&lt;[Arc&lt;TraitImpls&gt;]&gt;</h4></section><section id="method.intern_impl_trait_id" class="method trait-impl"><a href="#method.intern_impl_trait_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_impl_trait_id</a>(&amp;self, id: ImplTraitId) -&gt; InternedOpaqueTyId</h4></section><section id="method.intern_closure" class="method trait-impl"><a href="#method.intern_closure" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_closure</a>(&amp;self, id: InternedClosure) -&gt; InternedClosureId</h4></section><section id="method.intern_coroutine" class="method trait-impl"><a href="#method.intern_coroutine" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_coroutine</a>(&amp;self, id: InternedCoroutine) -&gt; InternedCoroutineId</h4></section><section id="method.fn_def_variance" class="method trait-impl"><a href="#method.fn_def_variance" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fn_def_variance</a>(&amp;self, fn_def_id: CallableDefId) -&gt; Variances&lt;Interner&gt;</h4></section><section id="method.adt_variance" class="method trait-impl"><a href="#method.adt_variance" class="anchor">§</a><h4 class="code-header">fn <a class="fn">adt_variance</a>(&amp;self, adt_id: AdtId) -&gt; Variances&lt;Interner&gt;</h4></section><section id="method.variances_of" class="method trait-impl"><a href="#method.variances_of" class="anchor">§</a><h4 class="code-header">fn <a class="fn">variances_of</a>(&amp;self, def: GenericDefId) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;[Variance]&gt;&gt;</h4></section><section id="method.normalize_projection" class="method trait-impl"><a href="#method.normalize_projection" class="anchor">§</a><h4 class="code-header">fn <a class="fn">normalize_projection</a>(
&amp;self,
projection: ProjectionTy&lt;Interner&gt;,
env: Arc&lt;TraitEnvironment&lt;'_&gt;&gt;,
) -&gt; Ty&lt;Interner&gt;</h4></section><section id="method.trait_solve" class="method trait-impl"><a href="#method.trait_solve" class="anchor">§</a><h4 class="code-header">fn <a class="fn">trait_solve</a>(
&amp;self,
krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>,
block: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;BlockId&gt;,
goal: Canonical&lt;InEnvironment&lt;Goal&lt;Interner&gt;&gt;&gt;,
) -&gt; NextTraitSolveResult</h4></section><section id="method.const_param_ty_ns" class="method trait-impl"><a href="#method.const_param_ty_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">const_param_ty_ns</a>&lt;'db&gt;(&amp;'db self, def: ConstParamId) -&gt; Ty&lt;'db&gt;</h4></section><section id="method.field_types_ns" class="method trait-impl"><a href="#method.field_types_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">field_types_ns</a>&lt;'db&gt;(
&amp;'db self,
var: VariantId,
) -&gt; Arc&lt;ArenaMap&lt;Idx&lt;FieldData&gt;, EarlyBinder&lt;DbInterner&lt;'db&gt;, Ty&lt;'db&gt;&gt;&gt;&gt;</h4></section><section id="method.return_type_impl_traits_ns" class="method trait-impl"><a href="#method.return_type_impl_traits_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">return_type_impl_traits_ns</a>&lt;'db&gt;(
&amp;'db self,
def: FunctionId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;EarlyBinder&lt;DbInterner&lt;'db&gt;, ImplTraits&lt;'db&gt;&gt;&gt;&gt;</h4></section><section id="method.type_alias_impl_traits_ns" class="method trait-impl"><a href="#method.type_alias_impl_traits_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">type_alias_impl_traits_ns</a>&lt;'db&gt;(
&amp;'db self,
def: TypeAliasId,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Arc&lt;EarlyBinder&lt;DbInterner&lt;'db&gt;, ImplTraits&lt;'db&gt;&gt;&gt;&gt;</h4></section><section id="method.generic_predicates_for_param_ns" class="method trait-impl"><a href="#method.generic_predicates_for_param_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_predicates_for_param_ns</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
param_id: TypeOrConstParamId,
assoc_name: <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Name&gt;,
) -&gt; GenericPredicates&lt;'db&gt;</h4></section><section id="method.generic_predicates_ns" class="method trait-impl"><a href="#method.generic_predicates_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_predicates_ns</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
) -&gt; GenericPredicates&lt;'db&gt;</h4></section><section id="method.generic_defaults_ns_with_diagnostics" class="method trait-impl"><a href="#method.generic_defaults_ns_with_diagnostics" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_defaults_ns_with_diagnostics</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
) -&gt; (GenericDefaults&lt;'db&gt;, <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ThinArc&lt;<a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.unit.html">()</a>, TyLoweringDiagnostic&gt;&gt;)</h4></section><section id="method.generic_defaults_ns" class="method trait-impl"><a href="#method.generic_defaults_ns" class="anchor">§</a><h4 class="code-header">fn <a class="fn">generic_defaults_ns</a>&lt;'db&gt;(
&amp;'db self,
def: GenericDefId,
) -&gt; GenericDefaults&lt;'db&gt;</h4></section><section id="method.lookup_intern_impl_trait_id" class="method trait-impl"><a href="#method.lookup_intern_impl_trait_id" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_impl_trait_id</a>(&amp;self, id: InternedOpaqueTyId) -&gt; ImplTraitId</h4></section><section id="method.lookup_intern_closure" class="method trait-impl"><a href="#method.lookup_intern_closure" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_closure</a>(&amp;self, id: InternedClosureId) -&gt; InternedClosure</h4></section><section id="method.lookup_intern_coroutine" class="method trait-impl"><a href="#method.lookup_intern_coroutine" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_coroutine</a>(&amp;self, id: InternedCoroutineId) -&gt; InternedCoroutine</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -&gt; Instrumented&lt;Self&gt;</h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-InternDatabase-for-DB" class="impl"><a href="#impl-InternDatabase-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; InternDatabase for DB<div class="where">where
DB: RootQueryDb,</div></h3></section></summary><div class="impl-items"><section id="method.intern_use" class="method trait-impl"><a href="#method.intern_use" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_use</a>(&amp;self, loc: ItemLoc&lt;Use&gt;) -&gt; UseId</h4></section><section id="method.intern_extern_crate" class="method trait-impl"><a href="#method.intern_extern_crate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_extern_crate</a>(&amp;self, loc: ItemLoc&lt;ExternCrate&gt;) -&gt; ExternCrateId</h4></section><section id="method.intern_function" class="method trait-impl"><a href="#method.intern_function" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_function</a>(&amp;self, loc: AssocItemLoc&lt;Fn&gt;) -&gt; FunctionId</h4></section><section id="method.intern_struct" class="method trait-impl"><a href="#method.intern_struct" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_struct</a>(&amp;self, loc: ItemLoc&lt;Struct&gt;) -&gt; StructId</h4></section><section id="method.intern_union" class="method trait-impl"><a href="#method.intern_union" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_union</a>(&amp;self, loc: ItemLoc&lt;Union&gt;) -&gt; UnionId</h4></section><section id="method.intern_enum" class="method trait-impl"><a href="#method.intern_enum" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_enum</a>(&amp;self, loc: ItemLoc&lt;Enum&gt;) -&gt; EnumId</h4></section><section id="method.intern_enum_variant" class="method trait-impl"><a href="#method.intern_enum_variant" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_enum_variant</a>(&amp;self, loc: EnumVariantLoc) -&gt; EnumVariantId</h4></section><section id="method.intern_const" class="method trait-impl"><a href="#method.intern_const" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_const</a>(&amp;self, loc: AssocItemLoc&lt;Const&gt;) -&gt; ConstId</h4></section><section id="method.intern_static" class="method trait-impl"><a href="#method.intern_static" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_static</a>(&amp;self, loc: AssocItemLoc&lt;Static&gt;) -&gt; StaticId</h4></section><section id="method.intern_trait" class="method trait-impl"><a href="#method.intern_trait" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_trait</a>(&amp;self, loc: ItemLoc&lt;Trait&gt;) -&gt; TraitId</h4></section><section id="method.intern_type_alias" class="method trait-impl"><a href="#method.intern_type_alias" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_type_alias</a>(&amp;self, loc: AssocItemLoc&lt;TypeAlias&gt;) -&gt; TypeAliasId</h4></section><section id="method.intern_impl" class="method trait-impl"><a href="#method.intern_impl" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_impl</a>(&amp;self, loc: ItemLoc&lt;Impl&gt;) -&gt; ImplId</h4></section><section id="method.intern_extern_block" class="method trait-impl"><a href="#method.intern_extern_block" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_extern_block</a>(&amp;self, loc: ItemLoc&lt;ExternBlock&gt;) -&gt; ExternBlockId</h4></section><section id="method.intern_macro2" class="method trait-impl"><a href="#method.intern_macro2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_macro2</a>(&amp;self, loc: Macro2Loc) -&gt; Macro2Id</h4></section><section id="method.intern_proc_macro" class="method trait-impl"><a href="#method.intern_proc_macro" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_proc_macro</a>(&amp;self, loc: ProcMacroLoc) -&gt; ProcMacroId</h4></section><section id="method.intern_macro_rules" class="method trait-impl"><a href="#method.intern_macro_rules" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_macro_rules</a>(&amp;self, loc: MacroRulesLoc) -&gt; MacroRulesId</h4></section><section id="method.intern_block" class="method trait-impl"><a href="#method.intern_block" class="anchor">§</a><h4 class="code-header">fn <a class="fn">intern_block</a>(&amp;self, loc: BlockLoc) -&gt; BlockId</h4></section><section id="method.lookup_intern_use" class="method trait-impl"><a href="#method.lookup_intern_use" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_use</a>(&amp;self, id: UseId) -&gt; ItemLoc&lt;Use&gt;</h4></section><section id="method.lookup_intern_extern_crate" class="method trait-impl"><a href="#method.lookup_intern_extern_crate" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_extern_crate</a>(&amp;self, id: ExternCrateId) -&gt; ItemLoc&lt;ExternCrate&gt;</h4></section><section id="method.lookup_intern_function" class="method trait-impl"><a href="#method.lookup_intern_function" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_function</a>(&amp;self, id: FunctionId) -&gt; AssocItemLoc&lt;Fn&gt;</h4></section><section id="method.lookup_intern_struct" class="method trait-impl"><a href="#method.lookup_intern_struct" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_struct</a>(&amp;self, id: StructId) -&gt; ItemLoc&lt;Struct&gt;</h4></section><section id="method.lookup_intern_union" class="method trait-impl"><a href="#method.lookup_intern_union" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_union</a>(&amp;self, id: UnionId) -&gt; ItemLoc&lt;Union&gt;</h4></section><section id="method.lookup_intern_enum" class="method trait-impl"><a href="#method.lookup_intern_enum" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_enum</a>(&amp;self, id: EnumId) -&gt; ItemLoc&lt;Enum&gt;</h4></section><section id="method.lookup_intern_enum_variant" class="method trait-impl"><a href="#method.lookup_intern_enum_variant" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_enum_variant</a>(&amp;self, id: EnumVariantId) -&gt; EnumVariantLoc</h4></section><section id="method.lookup_intern_const" class="method trait-impl"><a href="#method.lookup_intern_const" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_const</a>(&amp;self, id: ConstId) -&gt; AssocItemLoc&lt;Const&gt;</h4></section><section id="method.lookup_intern_static" class="method trait-impl"><a href="#method.lookup_intern_static" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_static</a>(&amp;self, id: StaticId) -&gt; AssocItemLoc&lt;Static&gt;</h4></section><section id="method.lookup_intern_trait" class="method trait-impl"><a href="#method.lookup_intern_trait" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_trait</a>(&amp;self, id: TraitId) -&gt; ItemLoc&lt;Trait&gt;</h4></section><section id="method.lookup_intern_type_alias" class="method trait-impl"><a href="#method.lookup_intern_type_alias" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_type_alias</a>(&amp;self, id: TypeAliasId) -&gt; AssocItemLoc&lt;TypeAlias&gt;</h4></section><section id="method.lookup_intern_impl" class="method trait-impl"><a href="#method.lookup_intern_impl" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_impl</a>(&amp;self, id: ImplId) -&gt; ItemLoc&lt;Impl&gt;</h4></section><section id="method.lookup_intern_extern_block" class="method trait-impl"><a href="#method.lookup_intern_extern_block" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_extern_block</a>(&amp;self, id: ExternBlockId) -&gt; ItemLoc&lt;ExternBlock&gt;</h4></section><section id="method.lookup_intern_macro2" class="method trait-impl"><a href="#method.lookup_intern_macro2" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_macro2</a>(&amp;self, id: Macro2Id) -&gt; Macro2Loc</h4></section><section id="method.lookup_intern_proc_macro" class="method trait-impl"><a href="#method.lookup_intern_proc_macro" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_proc_macro</a>(&amp;self, id: ProcMacroId) -&gt; ProcMacroLoc</h4></section><section id="method.lookup_intern_macro_rules" class="method trait-impl"><a href="#method.lookup_intern_macro_rules" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_macro_rules</a>(&amp;self, id: MacroRulesId) -&gt; MacroRulesLoc</h4></section><section id="method.lookup_intern_block" class="method trait-impl"><a href="#method.lookup_intern_block" class="anchor">§</a><h4 class="code-header">fn <a class="fn">lookup_intern_block</a>(&amp;self, id: BlockId) -&gt; BlockLoc</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#773-775">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#783">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
<p>That is, this conversion is whatever the implementation of
<code><a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for U</code> chooses to do.</p>
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBox%3Cdyn+Any%3E-for-T" class="impl"><a href="#impl-IntoBox%3Cdyn+Any%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; IntoBox&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>&gt; for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_box" class="method trait-impl"><a href="#method.into_box" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_box</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a>&gt;</h4></section></summary><div class='docblock'>Convert self into the appropriate boxed form.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBox%3Cdyn+Any+%2B+Send%3E-for-T" class="impl"><a href="#impl-IntoBox%3Cdyn+Any+%2B+Send%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; IntoBox&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt; for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_box-1" class="method trait-impl"><a href="#method.into_box-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_box</a>(self) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;dyn <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>&gt;</h4></section></summary><div class='docblock'>Convert self into the appropriate boxed form.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoEither-for-T" class="impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#64">Source</a><a href="#impl-IntoEither-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html" title="trait either::into_either::IntoEither">IntoEither</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_either" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#29">Source</a><a href="#method.into_either" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either" class="fn">into_either</a>(self, into_left: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.bool.html">bool</a>) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;</h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left</code> is <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.into_either_with" class="method trait-impl"><a class="src rightside" href="https://docs.rs/either/1/src/either/into_either.rs.html#55-57">Source</a><a href="#method.into_either_with" class="anchor">§</a><h4 class="code-header">fn <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with" class="fn">into_either_with</a>&lt;F&gt;(self, into_left: F) -&gt; <a class="enum" href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either">Either</a>&lt;Self, Self&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&amp;Self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.bool.html">bool</a>,</div></h4></section></summary><div class='docblock'>Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Left" title="variant either::Either::Left"><code>Left</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
if <code>into_left(&amp;self)</code> returns <code>true</code>.
Converts <code>self</code> into a <a href="https://docs.rs/either/1/either/enum.Either.html#variant.Right" title="variant either::Either::Right"><code>Right</code></a> variant of <a href="https://docs.rs/either/1/either/enum.Either.html" title="enum either::Either"><code>Either&lt;Self, Self&gt;</code></a>
otherwise. <a href="https://docs.rs/either/1/either/into_either/trait.IntoEither.html#method.into_either_with">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-LineIndexDatabase-for-DB" class="impl"><a href="#impl-LineIndexDatabase-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; LineIndexDatabase for DB<div class="where">where
DB: RootQueryDb,</div></h3></section></summary><div class="impl-items"><section id="method.line_index" class="method trait-impl"><a href="#method.line_index" class="anchor">§</a><h4 class="code-header">fn <a class="fn">line_index</a>(&amp;self, file_id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>) -&gt; Arc&lt;<a class="struct" href="struct.LineIndex.html" title="struct ide::LineIndex">LineIndex</a>&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Pointable-for-T" class="impl"><a href="#impl-Pointable-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; Pointable for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.ALIGN" class="associatedconstant trait-impl"><a href="#associatedconstant.ALIGN" class="anchor">§</a><h4 class="code-header">const <a class="constant">ALIGN</a>: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>The alignment of pointer.</div></details><details class="toggle" open><summary><section id="associatedtype.Init" class="associatedtype trait-impl"><a href="#associatedtype.Init" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">Init</a> = T</h4></section></summary><div class='docblock'>The type for initializers.</div></details><details class="toggle method-toggle" open><summary><section id="method.init" class="method trait-impl"><a href="#method.init" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">init</a>(init: &lt;T as Pointable&gt;::Init) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a></h4></section></summary><div class='docblock'>Initializes a with the given initializer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref" class="method trait-impl"><a href="#method.deref" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.reference.html">&amp;'a T</a></h4></section></summary><div class='docblock'>Dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.deref_mut" class="method trait-impl"><a href="#method.deref_mut" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">deref_mut</a>&lt;'a&gt;(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.reference.html">&amp;'a mut T</a></h4></section></summary><div class='docblock'>Mutably dereferences the given pointer. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drop-1" class="method trait-impl"><a href="#method.drop-1" class="anchor">§</a><h4 class="code-header">unsafe fn <a class="fn">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.usize.html">usize</a>)</h4></section></summary><div class='docblock'>Drops the object pointed to by the given pointer. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-RootQueryDb-for-DB" class="impl"><a href="#impl-RootQueryDb-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; RootQueryDb for DB<div class="where">where
DB: SourceDatabase + Database,</div></h3></section></summary><div class="impl-items"><section id="method.parse" class="method trait-impl"><a href="#method.parse" class="anchor">§</a><h4 class="code-header">fn <a class="fn">parse</a>(&amp;self, file_id: EditionedFileId) -&gt; Parse&lt;SourceFile&gt;</h4></section><section id="method.parse_errors" class="method trait-impl"><a href="#method.parse_errors" class="anchor">§</a><h4 class="code-header">fn <a class="fn">parse_errors</a>(&amp;self, file_id: EditionedFileId) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;[SyntaxError]&gt;</h4></section><section id="method.toolchain_channel" class="method trait-impl"><a href="#method.toolchain_channel" class="anchor">§</a><h4 class="code-header">fn <a class="fn">toolchain_channel</a>(&amp;self, krate: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;ReleaseChannel&gt;</h4></section><section id="method.source_root_crates" class="method trait-impl"><a href="#method.source_root_crates" class="anchor">§</a><h4 class="code-header">fn <a class="fn">source_root_crates</a>(&amp;self, id: <a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>) -&gt; Arc&lt;[<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>]&gt;</h4></section><section id="method.relevant_crates" class="method trait-impl"><a href="#method.relevant_crates" class="anchor">§</a><h4 class="code-header">fn <a class="fn">relevant_crates</a>(&amp;self, file_id: <a class="struct" href="struct.FileId.html" title="struct ide::FileId">FileId</a>) -&gt; Arc&lt;[<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>]&gt;</h4></section><section id="method.all_crates" class="method trait-impl"><a href="#method.all_crates" class="anchor">§</a><h4 class="code-header">fn <a class="fn">all_crates</a>(&amp;self) -&gt; Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;[<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>]&gt;&gt;</h4></section><section id="method.transitive_deps" class="method trait-impl"><a href="#method.transitive_deps" class="anchor">§</a><h4 class="code-header">fn <a class="fn">transitive_deps</a>(&amp;self, crate_id: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>, FxBuildHasher&gt;</h4></section><section id="method.transitive_rev_deps" class="method trait-impl"><a href="#method.transitive_rev_deps" class="anchor">§</a><h4 class="code-header">fn <a class="fn">transitive_rev_deps</a>(&amp;self, of: <a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>, FxBuildHasher&gt;</h4></section><section id="method.set_all_crates" class="method trait-impl"><a href="#method.set_all_crates" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_all_crates</a>(&amp;mut self, __value: Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;[<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>]&gt;&gt;)</h4></section><section id="method.set_all_crates_with_durability" class="method trait-impl"><a href="#method.set_all_crates_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_all_crates_with_durability</a>(
&amp;mut self,
__value: Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;[<a class="struct" href="struct.Crate.html" title="struct ide::Crate">Crate</a>]&gt;&gt;,
durability: Durability,
)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-SymbolsDatabase-for-DB" class="impl"><a href="#impl-SymbolsDatabase-for-DB" class="anchor">§</a><h3 class="code-header">impl&lt;DB&gt; SymbolsDatabase for DB<div class="where">where
DB: HirDatabase + SourceDatabase,</div></h3></section></summary><div class="impl-items"><section id="method.module_symbols" class="method trait-impl"><a href="#method.module_symbols" class="anchor">§</a><h4 class="code-header">fn <a class="fn">module_symbols</a>(&amp;self, module: Module) -&gt; Arc&lt;SymbolIndex&gt;</h4></section><section id="method.library_symbols" class="method trait-impl"><a href="#method.library_symbols" class="anchor">§</a><h4 class="code-header">fn <a class="fn">library_symbols</a>(&amp;self, source_root_id: <a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>) -&gt; Arc&lt;SymbolIndex&gt;</h4></section><section id="method.crate_symbols" class="method trait-impl"><a href="#method.crate_symbols" class="anchor">§</a><h4 class="code-header">fn <a class="fn">crate_symbols</a>(&amp;self, krate: Crate) -&gt; <a class="struct" href="https://doc.rust-lang.org/1.90.0/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;[Arc&lt;SymbolIndex&gt;]&gt;</h4></section><section id="method.local_roots" class="method trait-impl"><a href="#method.local_roots" class="anchor">§</a><h4 class="code-header">fn <a class="fn">local_roots</a>(&amp;self) -&gt; Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>, FxBuildHasher&gt;&gt;</h4></section><section id="method.library_roots" class="method trait-impl"><a href="#method.library_roots" class="anchor">§</a><h4 class="code-header">fn <a class="fn">library_roots</a>(&amp;self) -&gt; Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>, FxBuildHasher&gt;&gt;</h4></section><section id="method.set_local_roots" class="method trait-impl"><a href="#method.set_local_roots" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_local_roots</a>(
&amp;mut self,
__value: Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>, FxBuildHasher&gt;&gt;,
)</h4></section><section id="method.set_local_roots_with_durability" class="method trait-impl"><a href="#method.set_local_roots_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_local_roots_with_durability</a>(
&amp;mut self,
__value: Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>, FxBuildHasher&gt;&gt;,
durability: Durability,
)</h4></section><section id="method.set_library_roots" class="method trait-impl"><a href="#method.set_library_roots" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_library_roots</a>(
&amp;mut self,
__value: Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>, FxBuildHasher&gt;&gt;,
)</h4></section><section id="method.set_library_roots_with_durability" class="method trait-impl"><a href="#method.set_library_roots_with_durability" class="anchor">§</a><h4 class="code-header">fn <a class="fn">set_library_roots_with_durability</a>(
&amp;mut self,
__value: Arc&lt;<a class="struct" href="https://doc.rust-lang.org/1.90.0/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="struct" href="struct.SourceRootId.html" title="struct ide::SourceRootId">SourceRootId</a>, FxBuildHasher&gt;&gt;,
durability: Durability,
)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T<div class="where">where
T: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.90.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&amp;self) -&gt; T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/1.90.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/1.90.0/std/primitive.reference.html">&amp;mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/1.90.0/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#833-835">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#837">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#840">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#817-819">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#821">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/1.90.0/src/core/convert/mod.rs.html#824">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.90.0/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="associatedtype" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Upcast%3CI,+U%3E-for-T" class="impl"><a href="#impl-Upcast%3CI,+U%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;I, T, U&gt; Upcast&lt;I, U&gt; for T<div class="where">where
U: UpcastFrom&lt;I, T&gt;,</div></h3></section></summary><div class="impl-items"><section id="method.upcast" class="method trait-impl"><a href="#method.upcast" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast</a>(self, interner: I) -&gt; U</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UpcastFrom%3CI,+T%3E-for-T" class="impl"><a href="#impl-UpcastFrom%3CI,+T%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;I, T&gt; UpcastFrom&lt;I, T&gt; for T</h3></section></summary><div class="impl-items"><section id="method.upcast_from" class="method trait-impl"><a href="#method.upcast_from" class="anchor">§</a><h4 class="code-header">fn <a class="fn">upcast_from</a>(from: T, _tcx: I) -&gt; T</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a>&lt;S&gt;(self, subscriber: S) -&gt; WithDispatch&lt;Self&gt;<div class="where">where
S: <a class="trait" href="https://doc.rust-lang.org/1.90.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;Dispatch&gt;,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -&gt; WithDispatch&lt;Self&gt;</h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-Captures%3C'a%3E-for-T" class="impl"><a href="#impl-Captures%3C'a%3E-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;'a, T&gt; Captures&lt;'a&gt; for T<div class="where">where
T: ?<a class="trait" href="https://doc.rust-lang.org/1.90.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section><section id="impl-ErasedDestructor-for-T" class="impl"><a href="#impl-ErasedDestructor-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; ErasedDestructor for T<div class="where">where
T: 'static,</div></h3></section></div></section></div></main></body></html>