mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2026-03-21 20:34:07 +00:00
6 lines
6.6 KiB
HTML
6 lines
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="API documentation for the Rust `Storage` trait in crate `intern`."><title>Storage in intern::gc - 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"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-77263533.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="intern" data-themes="" data-resource-suffix="" data-rustdoc-version="1.94.0 (4a4ef493e 2026-03-02)" data-channel="1.94.0" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-b897f86f.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-7bab91a1.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-ffcac47a.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Storage</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../intern/index.html">intern</a><span class="version">0.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Storage</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.len" title="len">len</a></li><li><a href="#tymethod.mark" title="mark">mark</a></li><li><a href="#tymethod.sweep" title="sweep">sweep</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In intern::<wbr>gc</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">intern</a>::<wbr><a href="index.html">gc</a></div><h1>Trait <span class="trait">Storage</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/intern/gc.rs.html#17-23">Source</a> </span></div><pre class="rust item-decl"><code>trait Storage {
|
|
// Required methods
|
|
fn <a href="#tymethod.len" class="fn">len</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.94.0/std/primitive.usize.html">usize</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.mark" class="fn">mark</a>(&self, gc: &mut <a class="struct" href="../struct.GarbageCollector.html" title="struct intern::GarbageCollector">GarbageCollector</a>);
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.sweep" class="fn">sweep</a>(&self, gc: &<a class="struct" href="../struct.GarbageCollector.html" title="struct intern::GarbageCollector">GarbageCollector</a>);
|
|
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.len" class="method"><a class="src rightside" href="../../src/intern/gc.rs.html#18">Source</a><h4 class="code-header">fn <a href="#tymethod.len" class="fn">len</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/1.94.0/std/primitive.usize.html">usize</a></h4></section><section id="tymethod.mark" class="method"><a class="src rightside" href="../../src/intern/gc.rs.html#20">Source</a><h4 class="code-header">fn <a href="#tymethod.mark" class="fn">mark</a>(&self, gc: &mut <a class="struct" href="../struct.GarbageCollector.html" title="struct intern::GarbageCollector">GarbageCollector</a>)</h4></section><section id="tymethod.sweep" class="method"><a class="src rightside" href="../../src/intern/gc.rs.html#22">Source</a><h4 class="code-header">fn <a href="#tymethod.sweep" class="fn">sweep</a>(&self, gc: &<a class="struct" href="../struct.GarbageCollector.html" title="struct intern::GarbageCollector">GarbageCollector</a>)</h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><div class="negative-marker"></div><section id="impl-Storage-for-InternedStorage%3CT%3E" class="impl"><a class="src rightside" href="../../src/intern/gc.rs.html#27-49">Source</a><a href="#impl-Storage-for-InternedStorage%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../trait.Internable.html" title="trait intern::Internable">Internable</a> + <a class="trait" href="../trait.GcInternedVisit.html" title="trait intern::GcInternedVisit">GcInternedVisit</a>> <a class="trait" href="trait.Storage.html" title="trait intern::gc::Storage">Storage</a> for <a class="struct" href="struct.InternedStorage.html" title="struct intern::gc::InternedStorage">InternedStorage</a><T></h3></section><section id="impl-Storage-for-InternedSliceStorage%3CT%3E" class="impl"><a class="src rightside" href="../../src/intern/gc.rs.html#53-76">Source</a><a href="#impl-Storage-for-InternedSliceStorage%3CT%3E" class="anchor">§</a><h3 class="code-header">impl<T: <a class="trait" href="../trait.SliceInternable.html" title="trait intern::SliceInternable">SliceInternable</a> + <a class="trait" href="../trait.GcInternedSliceVisit.html" title="trait intern::GcInternedSliceVisit">GcInternedSliceVisit</a>> <a class="trait" href="trait.Storage.html" title="trait intern::gc::Storage">Storage</a> for <a class="struct" href="struct.InternedSliceStorage.html" title="struct intern::gc::InternedSliceStorage">InternedSliceStorage</a><T></h3></section></div><script src="../../trait.impl/intern/gc/trait.Storage.js" async></script></section></div></main></body></html> |