rust-analyzer/base_db/type.BuiltDependency.html
github-merge-queue[bot] 7299742b50 deploy: 0ac65592a8
2025-07-06 09:22:07 +00:00

7 lines
No EOL
6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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 `BuiltDependency` type in crate `base_db`."><title>BuiltDependency in base_db - 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-1a91846b.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="base_db" data-themes="" data-resource-suffix="" data-rustdoc-version="1.88.0 (6b00bc388 2025-06-23)" data-channel="1.88.0" data-search-js="search-f7877310.js" data-settings-js="settings-5514c975.js" ><script src="../static.files/storage-4e99c027.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-7ef8a74a.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc type"><!--[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="../base_db/index.html">base_db</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Built<wbr>Dependency</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3><h3><a href="#fields">Fields</a></h3><ul class="block field"><li><a href="#structfield.crate_id" title="crate_id">crate_id</a></li><li><a href="#structfield.name" title="name">name</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.is_prelude" title="is_prelude">is_prelude</a></li><li><a href="#method.is_sysroot" title="is_sysroot">is_sysroot</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate base_<wbr>db</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="index.html">base_db</a></div><h1>Type Alias <span class="type">BuiltDependency</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/base_db/input.rs.html#407">Source</a> </span></div><pre class="rust item-decl"><code>pub type BuiltDependency = Dependency&lt;<a class="struct" href="struct.Crate.html" title="struct base_db::Crate">Crate</a>&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>struct BuiltDependency {
pub crate_id: <a class="struct" href="struct.Crate.html" title="struct base_db::Crate">Crate</a>,
pub name: <a class="struct" href="struct.CrateName.html" title="struct base_db::CrateName">CrateName</a>,
<span class="comment">/* private fields */</span>
}</code></pre><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.crate_id" class="structfield section-header"><a href="#structfield.crate_id" class="anchor field">§</a><code>crate_id: <a class="struct" href="struct.Crate.html" title="struct base_db::Crate">Crate</a></code></span><span id="structfield.name" class="structfield section-header"><a href="#structfield.name" class="anchor field">§</a><code>name: <a class="struct" href="struct.CrateName.html" title="struct base_db::CrateName">CrateName</a></code></span><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-Dependency%3CCrate%3E" class="impl"><a class="src rightside" href="../src/base_db/input.rs.html#424-434">Source</a><a href="#impl-Dependency%3CCrate%3E" class="anchor">§</a><h3 class="code-header">impl <a class="type" href="type.BuiltDependency.html" title="type base_db::BuiltDependency">BuiltDependency</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.is_prelude" class="method"><a class="src rightside" href="../src/base_db/input.rs.html#426-428">Source</a><h4 class="code-header">pub fn <a href="#method.is_prelude" class="fn">is_prelude</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Whether this dependency is to be added to the depending crates extern prelude.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_sysroot" class="method"><a class="src rightside" href="../src/base_db/input.rs.html#431-433">Source</a><h4 class="code-header">pub fn <a href="#method.is_sysroot" class="fn">is_sysroot</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.88.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Whether this dependency is a sysroot injected one.</p>
</div></details></div></details></div></section></div></main></body></html>