Skip to content

Commit

Permalink
deploy: f5bab7e
Browse files Browse the repository at this point in the history
  • Loading branch information
artichoke-ci committed Oct 5, 2024
0 parents commit 0337ce5
Show file tree
Hide file tree
Showing 109 changed files with 18,835 additions and 0 deletions.
Empty file added .lock
Empty file.
Empty file added .nojekyll
Empty file.
2 changes: 2 additions & 0 deletions crates.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
window.ALL_CRATES = ["intaglio"];
//{"start":21,"fragment_lengths":[10]}
1 change: 1 addition & 0 deletions help.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!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="Documentation for Rustdoc"><title>Help</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="./static.files/rustdoc-d5c83a227aeda803.css"><meta name="rustdoc-vars" data-root-path="./" data-static-root-path="./static.files/" data-current-crate="intaglio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (14f303bc1 2024-10-04)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="./static.files/storage-1d39b6787ed640ff.js"></script><script defer src="./static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="./static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="./static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="./static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[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><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="./index.html"><img class="rust-logo" src="./static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></a><h2><a href="./index.html">Rustdoc</a><span class="version">1.83.0-nightly</span></h2></div><div class="version">(14f303bc1 2024-10-04)</div><h2 class="location">Help</h2><div class="sidebar-elems"></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>Rustdoc help</h1><span class="out-of-band"><a id="back" href="javascript:void(0)" onclick="history.back();">Back</a></span></div><noscript><section><p>You need to enable JavaScript to use keyboard commands or search.</p><p>For more information, browse the <a href="https://doc.rust-lang.org/rustdoc/">rustdoc handbook</a>.</p></section></noscript></section></div></main></body></html>
1 change: 1 addition & 0 deletions intaglio/all.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!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="List of all items in this crate"><title>List of all items in this crate</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-d5c83a227aeda803.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="intaglio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (14f303bc1 2024-10-04)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod sys"><!--[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="../intaglio/index.html">intaglio</a><span class="version">1.9.1</span></h2></div><div class="sidebar-elems"><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="#constants" title="Constants">Constants</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"><h1>List of all items</h1><h3 id="structs">Structs</h3><ul class="all-items"><li><a href="struct.AllSymbols.html">AllSymbols</a></li><li><a href="struct.Iter.html">Iter</a></li><li><a href="struct.Strings.html">Strings</a></li><li><a href="struct.Symbol.html">Symbol</a></li><li><a href="struct.SymbolOverflowError.html">SymbolOverflowError</a></li><li><a href="struct.SymbolTable.html">SymbolTable</a></li><li><a href="bytes/struct.AllSymbols.html">bytes::AllSymbols</a></li><li><a href="bytes/struct.Bytestrings.html">bytes::Bytestrings</a></li><li><a href="bytes/struct.Iter.html">bytes::Iter</a></li><li><a href="bytes/struct.SymbolTable.html">bytes::SymbolTable</a></li><li><a href="cstr/struct.AllSymbols.html">cstr::AllSymbols</a></li><li><a href="cstr/struct.CStrings.html">cstr::CStrings</a></li><li><a href="cstr/struct.Iter.html">cstr::Iter</a></li><li><a href="cstr/struct.SymbolTable.html">cstr::SymbolTable</a></li><li><a href="osstr/struct.AllSymbols.html">osstr::AllSymbols</a></li><li><a href="osstr/struct.Iter.html">osstr::Iter</a></li><li><a href="osstr/struct.OsStrings.html">osstr::OsStrings</a></li><li><a href="osstr/struct.SymbolTable.html">osstr::SymbolTable</a></li><li><a href="path/struct.AllSymbols.html">path::AllSymbols</a></li><li><a href="path/struct.Iter.html">path::Iter</a></li><li><a href="path/struct.Paths.html">path::Paths</a></li><li><a href="path/struct.SymbolTable.html">path::SymbolTable</a></li></ul><h3 id="constants">Constants</h3><ul class="all-items"><li><a href="constant.DEFAULT_SYMBOL_TABLE_CAPACITY.html">DEFAULT_SYMBOL_TABLE_CAPACITY</a></li></ul></section></div></main></body></html>
30 changes: 30 additions & 0 deletions intaglio/bytes/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!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="Intern arbitrary bytes."><title>intaglio::bytes - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.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-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-d5c83a227aeda803.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="intaglio" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (14f303bc1 2024-10-04)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[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="../../intaglio/index.html">intaglio</a><span class="version">1.9.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module bytes</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#example-intern-byte-string" title="Example: intern byte string">Example: intern byte string</a></li><li><a href="#example-symbol-iterators" title="Example: symbol iterators">Example: symbol iterators</a></li><li><a href="#performance" title="Performance">Performance</a></li></ul><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate intaglio</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">intaglio</a></span><h1>Module <span>bytes</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/intaglio/bytes.rs.html#1-1000">source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>bytes</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Intern arbitrary bytes.</p>
<p>This module provides a nearly identical API to the one found in the
top-level of this crate. There is one important difference:</p>
<ol>
<li>Interned contents are <code>&amp;[u8]</code> instead of <code>&amp;str</code>. Additionally, <code>Vec&lt;u8&gt;</code>
is used where <code>String</code> would have been used.</li>
</ol>
<h2 id="example-intern-byte-string"><a class="doc-anchor" href="#example-intern-byte-string">§</a>Example: intern byte string</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>table = SymbolTable::new();
<span class="kw">let </span>sym = table.intern(<span class="kw-2">&amp;</span><span class="string">b"abc"</span>[..])<span class="question-mark">?</span>;
<span class="macro">assert_eq!</span>(sym, table.intern(<span class="string">b"abc"</span>.to_vec())<span class="question-mark">?</span>);
<span class="macro">assert_eq!</span>(<span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="string">b"abc"</span>[..]), table.get(sym));</code></pre></div>
<h2 id="example-symbol-iterators"><a class="doc-anchor" href="#example-symbol-iterators">§</a>Example: symbol iterators</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">let </span><span class="kw-2">mut </span>table = SymbolTable::new();
<span class="kw">let </span>sym = table.intern(<span class="kw-2">&amp;</span><span class="string">b"abc"</span>[..])<span class="question-mark">?</span>;
<span class="comment">// Retrieve set of `Symbol`s.
</span><span class="kw">let </span>all_symbols = table.all_symbols();
<span class="macro">assert_eq!</span>(<span class="macro">vec!</span>[sym], all_symbols.collect::&lt;Vec&lt;<span class="kw">_</span>&gt;&gt;());

table.intern(<span class="kw-2">&amp;</span><span class="string">b"xyz"</span>[..])<span class="question-mark">?</span>;
<span class="kw">let </span><span class="kw-2">mut </span>map = HashMap::new();
map.insert(Symbol::new(<span class="number">0</span>), <span class="kw-2">&amp;</span><span class="string">b"abc"</span>[..]);
map.insert(Symbol::new(<span class="number">1</span>), <span class="kw-2">&amp;</span><span class="string">b"xyz"</span>[..]);
<span class="comment">// Retrieve symbol to byte content mappings.
</span><span class="kw">let </span>iter = table.iter();
<span class="macro">assert_eq!</span>(map, iter.collect::&lt;HashMap&lt;<span class="kw">_</span>, <span class="kw">_</span>&gt;&gt;());</code></pre></div>
<h2 id="performance"><a class="doc-anchor" href="#performance">§</a>Performance</h2>
<p>In general, one should expect this crate’s performance on <code>&amp;[u8]</code> to be
roughly similar to performance on <code>&amp;str</code>.</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.AllSymbols.html" title="struct intaglio::bytes::AllSymbols">AllSymbols</a></div><div class="desc docblock-short">An iterator over all <a href="../struct.Symbol.html" title="struct intaglio::Symbol"><code>Symbol</code></a>s in a <a href="struct.SymbolTable.html" title="struct intaglio::bytes::SymbolTable"><code>SymbolTable</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Bytestrings.html" title="struct intaglio::bytes::Bytestrings">Bytestrings</a></div><div class="desc docblock-short">An iterator over all interned byte strings in a <a href="struct.SymbolTable.html" title="struct intaglio::bytes::SymbolTable"><code>SymbolTable</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.Iter.html" title="struct intaglio::bytes::Iter">Iter</a></div><div class="desc docblock-short">An iterator over all symbols and interned byte strings in a <a href="struct.SymbolTable.html" title="struct intaglio::bytes::SymbolTable"><code>SymbolTable</code></a>.</div></li><li><div class="item-name"><a class="struct" href="struct.SymbolTable.html" title="struct intaglio::bytes::SymbolTable">Symbol<wbr>Table</a></div><div class="desc docblock-short">Byte string interner.</div></li></ul></section></div></main></body></html>
1 change: 1 addition & 0 deletions intaglio/bytes/sidebar-items.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["AllSymbols","Bytestrings","Iter","SymbolTable"]};
Loading

0 comments on commit 0337ce5

Please sign in to comment.