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

5 lines
No EOL
6.6 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="`completions` crate provides utilities for generating completions of user input."><title>ide_completion - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="ide_completion" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../static.files/storage-59e33391.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[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_completion/index.html">ide_<wbr>completion</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>ide_completion</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/ide_completion/lib.rs.html#1-316">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p><code>completions</code> crate provides utilities for generating completions of user input.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.CompletionConfig.html" title="struct ide_completion::CompletionConfig">Completion<wbr>Config</a></div></li><li><div class="item-name"><a class="struct" href="struct.CompletionFieldsToResolve.html" title="struct ide_completion::CompletionFieldsToResolve">Completion<wbr>Fields<wbr>ToResolve</a></div></li><li><div class="item-name"><a class="struct" href="struct.CompletionItem.html" title="struct ide_completion::CompletionItem">Completion<wbr>Item</a></div><div class="desc docblock-short"><code>CompletionItem</code> describes a single completion entity which expands to 1 or more entries in the
editor pop-up.</div></li><li><div class="item-name"><a class="struct" href="struct.CompletionRelevance.html" title="struct ide_completion::CompletionRelevance">Completion<wbr>Relevance</a></div></li><li><div class="item-name"><a class="struct" href="struct.Snippet.html" title="struct ide_completion::Snippet">Snippet</a></div><div class="desc docblock-short">A user supplied snippet.</div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.AutoImportExclusionType.html" title="enum ide_completion::AutoImportExclusionType">Auto<wbr>Import<wbr>Exclusion<wbr>Type</a></div></li><li><div class="item-name"><a class="enum" href="enum.CallableSnippets.html" title="enum ide_completion::CallableSnippets">Callable<wbr>Snippets</a></div></li><li><div class="item-name"><a class="enum" href="enum.CompletionItemKind.html" title="enum ide_completion::CompletionItemKind">Completion<wbr>Item<wbr>Kind</a></div><div class="desc docblock-short">The type of the completion item.</div></li><li><div class="item-name"><a class="enum" href="enum.CompletionRelevancePostfixMatch.html" title="enum ide_completion::CompletionRelevancePostfixMatch">Completion<wbr>Relevance<wbr>Postfix<wbr>Match</a></div></li><li><div class="item-name"><a class="enum" href="enum.CompletionRelevanceReturnType.html" title="enum ide_completion::CompletionRelevanceReturnType">Completion<wbr>Relevance<wbr>Return<wbr>Type</a></div></li><li><div class="item-name"><a class="enum" href="enum.CompletionRelevanceTypeMatch.html" title="enum ide_completion::CompletionRelevanceTypeMatch">Completion<wbr>Relevance<wbr>Type<wbr>Match</a></div></li><li><div class="item-name"><a class="enum" href="enum.SnippetScope.html" title="enum ide_completion::SnippetScope">Snippet<wbr>Scope</a></div><div class="desc docblock-short">A snippet scope describing where a snippet may apply to.
These may differ slightly in meaning depending on the snippet trigger.</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.completions.html" title="fn ide_completion::completions">completions</a></div><div class="desc docblock-short">Main entry point for completion. We run completion as a two-phase process.</div></li><li><div class="item-name"><a class="fn" href="fn.resolve_completion_edits.html" title="fn ide_completion::resolve_completion_edits">resolve_<wbr>completion_<wbr>edits</a></div><div class="desc docblock-short">Resolves additional completion data at the position given.
This is used for import insertion done via completions like flyimport and custom user snippets.</div></li></ul></section></div></main></body></html>