Adding large folders

This commit is contained in:
2026-02-26 12:00:21 -05:00
parent 5400d82acd
commit 49701c85ad
47332 changed files with 1942573 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/enum.TrieType.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/enum.TrieType.html">../../../icu_collections/codepointtrie/enum.TrieType.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/enum.TrieType.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/enum.Typed.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/enum.Typed.html">../../../icu_collections/codepointtrie/enum.Typed.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/enum.Typed.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/struct.CodePointMapRange.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/struct.CodePointMapRange.html">../../../icu_collections/codepointtrie/struct.CodePointMapRange.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/struct.CodePointMapRange.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/struct.CodePointMapRangeIterator.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/struct.CodePointMapRangeIterator.html">../../../icu_collections/codepointtrie/struct.CodePointMapRangeIterator.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/struct.CodePointMapRangeIterator.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/struct.CodePointTrie.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/struct.CodePointTrie.html">../../../icu_collections/codepointtrie/struct.CodePointTrie.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/struct.CodePointTrie.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/struct.CodePointTrieHeader.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/struct.CodePointTrieHeader.html">../../../icu_collections/codepointtrie/struct.CodePointTrieHeader.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/struct.CodePointTrieHeader.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/struct.FastCodePointTrie.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/struct.FastCodePointTrie.html">../../../icu_collections/codepointtrie/struct.FastCodePointTrie.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/struct.FastCodePointTrie.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/struct.SmallCodePointTrie.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/struct.SmallCodePointTrie.html">../../../icu_collections/codepointtrie/struct.SmallCodePointTrie.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/struct.SmallCodePointTrie.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/trait.TrieValue.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/trait.TrieValue.html">../../../icu_collections/codepointtrie/trait.TrieValue.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/trait.TrieValue.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/trait.TypedCodePointTrie.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/trait.TypedCodePointTrie.html">../../../icu_collections/codepointtrie/trait.TypedCodePointTrie.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/trait.TypedCodePointTrie.html" + location.search + location.hash);</script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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="Holder for either fast or small trie with the trie type encoded into the Rust type."><title>Typed in icu_collections::codepointtrie - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="icu_collections" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.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-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 enum"><!--[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="#">Typed</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../icu_collections/index.html">icu_<wbr>collections</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Typed</a></h2><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.Fast" title="Fast">Fast</a></li><li><a href="#variant.Small" title="Small">Small</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Typed%3CF,+S%3E" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Typed%3CF,+S%3E" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Typed%3CF,+S%3E" title="Send">Send</a></li><li><a href="#impl-Sync-for-Typed%3CF,+S%3E" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Typed%3CF,+S%3E" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Typed%3CF,+S%3E" title="UnwindSafe">UnwindSafe</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-From%3CT%3E-for-T" title="From&#60;T&#62;">From&#60;T&#62;</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-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></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>collections::<wbr>codepointtrie</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">icu_collections</a>::<wbr><a href="index.html">codepointtrie</a></div><h1>Enum <span class="enum">Typed</span>&nbsp;<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/icu_collections/codepointtrie/cptrie.rs.html#1667-1672">Source</a> </span></div><pre class="rust item-decl"><code>pub enum Typed&lt;F, S&gt; {
Fast(F),
Small(S),
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Holder for either fast or small trie with the trie
type encoded into the Rust type.</p>
</div></details><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.Fast" class="variant"><a href="#variant.Fast" class="anchor">§</a><h3 class="code-header">Fast(F)</h3></section><div class="docblock"><p>The trie type is fast.</p>
</div><section id="variant.Small" class="variant"><a href="#variant.Small" class="anchor">§</a><h3 class="code-header">Small(S)</h3></section><div class="docblock"><p>The trie type is small.</p>
</div></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-Typed%3CF,+S%3E" class="impl"><a href="#impl-Freeze-for-Typed%3CF,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a>&lt;F, S&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-Typed%3CF,+S%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Typed%3CF,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a>&lt;F, S&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a>,</div></h3></section><section id="impl-Send-for-Typed%3CF,+S%3E" class="impl"><a href="#impl-Send-for-Typed%3CF,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a>&lt;F, S&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-Sync-for-Typed%3CF,+S%3E" class="impl"><a href="#impl-Sync-for-Typed%3CF,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a>&lt;F, S&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-Unpin-for-Typed%3CF,+S%3E" class="impl"><a href="#impl-Unpin-for-Typed%3CF,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a>&lt;F, S&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-Typed%3CF,+S%3E" class="impl"><a href="#impl-UnwindSafe-for-Typed%3CF,+S%3E" class="anchor">§</a><h3 class="code-header">impl&lt;F, S&gt; <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a>&lt;F, S&gt;<div class="where">where
F: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,
S: <a class="trait" href="https://doc.rust-lang.org/1.93.1/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a>,</div></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.93.1/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.93.1/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.93.1/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.93.1/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.93.1/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.93.1/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.93.1/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.93.1/src/core/borrow.rs.html#212">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.93.1/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.93.1/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.93.1/src/core/borrow.rs.html#214">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/src/core/borrow.rs.html#221">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.93.1/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.93.1/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.93.1/src/core/borrow.rs.html#222">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></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.93.1/src/core/convert/mod.rs.html#785">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.93.1/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.93.1/src/core/convert/mod.rs.html#788">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#767-769">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.93.1/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.93.1/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.93.1/src/core/convert/mod.rs.html#777">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/1.93.1/src/core/convert/mod.rs.html#827-829">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.93.1/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.93.1/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.93.1/src/core/convert/mod.rs.html#831">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="https://doc.rust-lang.org/1.93.1/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.93.1/src/core/convert/mod.rs.html#834">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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.93.1/src/core/convert/mod.rs.html#811-813">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.93.1/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.93.1/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.93.1/src/core/convert/mod.rs.html#815">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/1.93.1/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/src/core/convert/mod.rs.html#818">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/1.93.1/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.93.1/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.93.1/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.93.1/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></div></section></div></main></body></html>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../icu_collections/codepointtrie/enum.CodePointTrieError.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_collections/codepointtrie/enum.CodePointTrieError.html">../../../icu_collections/codepointtrie/enum.CodePointTrieError.html</a>...</p>
<script>location.replace("../../../icu_collections/codepointtrie/enum.CodePointTrieError.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,26 @@
<!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="This module provides a data structure for an time-efficient lookup of values associated to code points."><title>icu_collections::codepointtrie - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="icu_collections" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.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-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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 mod"><!--[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="#">Module codepointtrie</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../icu_collections/index.html">icu_<wbr>collections</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module codepointtrie</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#architecture" title="Architecture">Architecture</a></li><li><a href="#examples" title="Examples">Examples</a><ul><li><a href="#querying-a-codepointtrie" title="Querying a `CodePointTrie`">Querying a <code>CodePointTrie</code></a></li></ul></li></ul><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate icu_<wbr>collections</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">icu_collections</a></div><h1>Module <span>codepointtrie</span>&nbsp;<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/icu_collections/codepointtrie/mod.rs.html#5-53">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This module provides a data structure for an time-efficient lookup of values
associated to code points.</p>
<p>It is an implementation of the existing <a href="https://unicode-org.github.io/icu-docs/apidoc/released/icu4c/ucptrie_8h.html">ICU4C UCPTrie</a>
/ <a href="https://unicode-org.github.io/icu-docs/apidoc/dev/icu4j/">ICU4J CodePointTrie</a> API.</p>
<h2 id="architecture"><a class="doc-anchor" href="#architecture">§</a>Architecture</h2>
<p>ICU4X <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> is designed to provide a read-only view of <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> data that is exported
from ICU4C. Detailed information about the design of the data structure can be found in the documentation
for the <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> struct.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2><h3 id="querying-a-codepointtrie"><a class="doc-anchor" href="#querying-a-codepointtrie">§</a>Querying a <code>CodePointTrie</code></h3>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::collections::codepointtrie::planes;
<span class="kw">let </span>trie = planes::get_planes_trie();
<span class="macro">assert_eq!</span>(<span class="number">0</span>, trie.get32(<span class="number">0x41</span>)); <span class="comment">// 'A' as u32
</span><span class="macro">assert_eq!</span>(<span class="number">0</span>, trie.get32(<span class="number">0x13E0</span>)); <span class="comment">// 'Ꮰ' as u32
</span><span class="macro">assert_eq!</span>(<span class="number">1</span>, trie.get32(<span class="number">0x10044</span>)); <span class="comment">// '𐁄' as u32</span></code></pre></div></div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="planes/index.html" title="mod icu_collections::codepointtrie::planes">planes</a></dt><dd>Sample data for <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> that returns the code points plane number.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.CodePointMapRange.html" title="struct icu_collections::codepointtrie::CodePointMapRange">Code<wbr>Point<wbr>MapRange</a></dt><dd>Represents a range of consecutive code points sharing the same value in a
code point map.</dd><dt><a class="struct" href="struct.CodePointMapRangeIterator.html" title="struct icu_collections::codepointtrie::CodePointMapRangeIterator">Code<wbr>Point<wbr>MapRange<wbr>Iterator</a></dt><dd>A custom <a href="https://doc.rust-lang.org/1.93.1/core/iter/traits/iterator/trait.Iterator.html" title="trait core::iter::traits::iterator::Iterator"><code>Iterator</code></a> type specifically for a code point trie that returns
<a href="struct.CodePointMapRange.html" title="struct icu_collections::codepointtrie::CodePointMapRange"><code>CodePointMapRange</code></a>s.</dd><dt><a class="struct" href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie">Code<wbr>Point<wbr>Trie</a></dt><dd>This struct represents a de-serialized <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> that was exported from
ICU binary data.</dd><dt><a class="struct" href="struct.CodePointTrieHeader.html" title="struct icu_collections::codepointtrie::CodePointTrieHeader">Code<wbr>Point<wbr>Trie<wbr>Header</a></dt><dd>This struct contains the fixed-length header fields of a <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a>.</dd><dt><a class="struct" href="struct.FastCodePointTrie.html" title="struct icu_collections::codepointtrie::FastCodePointTrie">Fast<wbr>Code<wbr>Point<wbr>Trie</a></dt><dd>Type-safe wrapper for a fast trie guaranteeing
the the getters dont branch on the trie type
and for guarenteeing that <code>get16</code> is branchless
in release builds.</dd><dt><a class="struct" href="struct.SmallCodePointTrie.html" title="struct icu_collections::codepointtrie::SmallCodePointTrie">Small<wbr>Code<wbr>Point<wbr>Trie</a></dt><dd>Type-safe wrapper for a small trie guaranteeing
the the getters dont branch on the trie type.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.CodePointTrieError.html" title="enum icu_collections::codepointtrie::CodePointTrieError">Code<wbr>Point<wbr>Trie<wbr>Error</a></dt><dd>A custom error type for <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a>.</dd><dt><a class="enum" href="enum.TrieType.html" title="enum icu_collections::codepointtrie::TrieType">Trie<wbr>Type</a></dt><dd>The type of trie represents whether the trie has an optimization that
would make it smaller or faster.</dd><dt><a class="enum" href="enum.Typed.html" title="enum icu_collections::codepointtrie::Typed">Typed</a></dt><dd>Holder for either fast or small trie with the trie
type encoded into the Rust type.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.TrieValue.html" title="trait icu_collections::codepointtrie::TrieValue">Trie<wbr>Value</a></dt><dd>A trait representing the values stored in the data array of a <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a>.
This trait is used as a type parameter in constructing a <code>CodePointTrie</code>.</dd><dt><a class="trait" href="trait.TypedCodePointTrie.html" title="trait icu_collections::codepointtrie::TypedCodePointTrie">Typed<wbr>Code<wbr>Point<wbr>Trie</a></dt><dd>Trait for writing trait bounds for monomorphizing over either
<code>FastCodePointTrie</code> or <code>SmallCodePointTrie</code>.</dd></dl></section></div></main></body></html>

View File

@@ -0,0 +1,7 @@
<!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="Return a `CodePointTrie` that returns the Unicode plane number, an integer from 0-16 inclusive, for each code point."><title>get_planes_trie in icu_collections::codepointtrie::planes - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="icu_collections" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.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-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 fn"><!--[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="#">get_planes_trie</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_collections/index.html">icu_<wbr>collections</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>collections::<wbr>codepointtrie::<wbr>planes</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">icu_collections</a>::<wbr><a href="../index.html">codepointtrie</a>::<wbr><a href="index.html">planes</a></div><h1>Function <span class="fn">get_<wbr>planes_<wbr>trie</span>&nbsp;<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/icu_collections/codepointtrie/planes.rs.html#156-197">Source</a> </span></div><pre class="rust item-decl"><code>pub fn get_planes_trie() -&gt; <a class="struct" href="../struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie">CodePointTrie</a>&lt;'static, <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u8.html">u8</a>&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Return a <a href="../struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> that returns the Unicode plane number, an
integer from 0-16 inclusive, for each code point.</p>
<p>This <code>CodePointTrie</code>
does not actually represent any Unicode property, but it is provided in
case it is useful to users of <code>CodePointTrie</code> for testing or other
purposes. See <a href="https://www.unicode.org/glossary/#plane">https://www.unicode.org/glossary/#plane</a>.</p>
</div></details></section></div></main></body></html>

View File

@@ -0,0 +1,3 @@
<!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="Sample data for `CodePointTrie` that returns the code points plane number."><title>icu_collections::codepointtrie::planes - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="icu_collections" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.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-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-263c88ec.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 mod"><!--[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="#">Module planes</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_collections/index.html">icu_<wbr>collections</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module planes</a></h2><h3><a href="#functions">Module Items</a></h3><ul class="block"><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>collections::<wbr>codepointtrie</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">icu_collections</a>::<wbr><a href="../index.html">codepointtrie</a></div><h1>Module <span>planes</span>&nbsp;<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/icu_collections/codepointtrie/planes.rs.html#5-296">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Sample data for <a href="../struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> that returns the code points plane number.</p>
</div></details><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.get_planes_trie.html" title="fn icu_collections::codepointtrie::planes::get_planes_trie">get_<wbr>planes_<wbr>trie</a></dt><dd>Return a <a href="../struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a> that returns the Unicode plane number, an
integer from 0-16 inclusive, for each code point.</dd></dl></section></div></main></body></html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["get_planes_trie"]};

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["CodePointTrieError","TrieType","Typed"],"mod":["planes"],"struct":["CodePointMapRange","CodePointMapRangeIterator","CodePointTrie","CodePointTrieHeader","FastCodePointTrie","SmallCodePointTrie"],"trait":["TrieValue","TypedCodePointTrie"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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="Trait for writing trait bounds for monomorphizing over either `FastCodePointTrie` or `SmallCodePointTrie`."><title>TypedCodePointTrie in icu_collections::codepointtrie - 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-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="icu_collections" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.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-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.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="#">TypedCodePointTrie</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../icu_collections/index.html">icu_<wbr>collections</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Typed<wbr>Code<wbr>Point<wbr>Trie</a></h2><h3><a href="#required-associated-consts">Required Associated Constants</a></h3><ul class="block"><li><a href="#associatedconstant.TRIE_TYPE" title="TRIE_TYPE">TRIE_TYPE</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.as_untyped_ref" title="as_untyped_ref">as_untyped_ref</a></li><li><a href="#tymethod.to_untyped" title="to_untyped">to_untyped</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.get" title="get">get</a></li><li><a href="#method.get16" title="get16">get16</a></li><li><a href="#method.get32" title="get32">get32</a></li><li><a href="#method.get32_by_fast_index" title="get32_by_fast_index">get32_by_fast_index</a></li><li><a href="#method.get32_supplementary" title="get32_supplementary">get32_supplementary</a></li><li><a href="#method.get32_u32" title="get32_u32">get32_u32</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>collections::<wbr>codepointtrie</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">icu_collections</a>::<wbr><a href="index.html">codepointtrie</a></div><h1>Trait <span class="trait">Typed<wbr>Code<wbr>Point<wbr>Trie</span>&nbsp;<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/icu_collections/codepointtrie/cptrie.rs.html#1435-1529">Source</a> </span></div><pre class="rust item-decl"><code>pub trait TypedCodePointTrie&lt;'trie, T: <a class="trait" href="trait.TrieValue.html" title="trait icu_collections::codepointtrie::TrieValue">TrieValue</a>&gt;: Seal {
const <a href="#associatedconstant.TRIE_TYPE" class="constant">TRIE_TYPE</a>: <a class="enum" href="enum.TrieType.html" title="enum icu_collections::codepointtrie::TrieType">TrieType</a>;
// Required methods
fn <a href="#tymethod.as_untyped_ref" class="fn">as_untyped_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie">CodePointTrie</a>&lt;'trie, T&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.to_untyped" class="fn">to_untyped</a>(self) -&gt; <a class="struct" href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie">CodePointTrie</a>&lt;'trie, T&gt;;
// Provided methods
fn <a href="#method.get32_u32" class="fn">get32_u32</a>(&amp;self, code_point: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.get16" class="fn">get16</a>(&amp;self, bmp: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>) -&gt; T { ... }
<span class="item-spacer"></span> fn <a href="#method.get32_supplementary" class="fn">get32_supplementary</a>(&amp;self, supplementary: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; T { ... }
<span class="item-spacer"></span> fn <a href="#method.get" class="fn">get</a>(&amp;self, c: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>) -&gt; T { ... }
<span class="item-spacer"></span> fn <a href="#method.get32" class="fn">get32</a>(&amp;self, code_point: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; T { ... }
<span class="item-spacer"></span> fn <a href="#method.get32_by_fast_index" class="fn">get32_by_fast_index</a>(&amp;self, code_point: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait for writing trait bounds for monomorphizing over either
<code>FastCodePointTrie</code> or <code>SmallCodePointTrie</code>.</p>
</div></details><h2 id="required-associated-consts" class="section-header">Required Associated Constants<a href="#required-associated-consts" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedconstant.TRIE_TYPE" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1441">Source</a><h4 class="code-header">const <a href="#associatedconstant.TRIE_TYPE" class="constant">TRIE_TYPE</a>: <a class="enum" href="enum.TrieType.html" title="enum icu_collections::codepointtrie::TrieType">TrieType</a></h4></section></summary><div class="docblock"><p>The <code>TrieType</code> associated with this <code>TypedCodePointTrie</code></p>
<h5 id="safety-usable-invariant"><a class="doc-anchor" href="#safety-usable-invariant">§</a>Safety Usable Invariant</h5>
<p>This constant matches <code>self.as_untyped_ref().header.trie_type</code>.</p>
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.as_untyped_ref" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1525">Source</a><h4 class="code-header">fn <a href="#tymethod.as_untyped_ref" class="fn">as_untyped_ref</a>(&amp;self) -&gt; &amp;<a class="struct" href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie">CodePointTrie</a>&lt;'trie, T&gt;</h4></section></summary><div class="docblock"><p>Returns a reference to the wrapped <code>CodePointTrie</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.to_untyped" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1528">Source</a><h4 class="code-header">fn <a href="#tymethod.to_untyped" class="fn">to_untyped</a>(self) -&gt; <a class="struct" href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie">CodePointTrie</a>&lt;'trie, T&gt;</h4></section></summary><div class="docblock"><p>Extracts the wrapped <code>CodePointTrie</code>.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.get32_u32" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1445-1447">Source</a><h4 class="code-header">fn <a href="#method.get32_u32" class="fn">get32_u32</a>(&amp;self, code_point: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a></h4></section></summary><div class="docblock"><p>Lookup trie value as <code>u32</code> by Unicode Scalar Value without branching on trie type.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get16" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1451-1461">Source</a><h4 class="code-header">fn <a href="#method.get16" class="fn">get16</a>(&amp;self, bmp: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u16.html">u16</a>) -&gt; T</h4></section></summary><div class="docblock"><p>Lookup trie value by Basic Multilingual Plane Code Point without branching on trie type.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get32_supplementary" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1465-1467">Source</a><h4 class="code-header">fn <a href="#method.get32_supplementary" class="fn">get32_supplementary</a>(&amp;self, supplementary: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; T</h4></section></summary><div class="docblock"><p>Lookup trie value by non-Basic Multilingual Plane Scalar Value without branching on trie type.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1471-1481">Source</a><h4 class="code-header">fn <a href="#method.get" class="fn">get</a>(&amp;self, c: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.char.html">char</a>) -&gt; T</h4></section></summary><div class="docblock"><p>Lookup trie value by Unicode Scalar Value without branching on trie type.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get32" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1485-1493">Source</a><h4 class="code-header">fn <a href="#method.get32" class="fn">get32</a>(&amp;self, code_point: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; T</h4></section></summary><div class="docblock"><p>Lookup trie value by Unicode Code Point without branching on trie type.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.get32_by_fast_index" class="method"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1499-1522">Source</a><h4 class="code-header">fn <a href="#method.get32_by_fast_index" class="fn">get32_by_fast_index</a>(&amp;self, code_point: <a class="primitive" href="https://doc.rust-lang.org/1.93.1/std/primitive.u32.html">u32</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/1.93.1/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;T&gt;</h4></section></summary><div class="docblock"><p>Returns the value that is associated with <code>code_point</code> in this <a href="struct.CodePointTrie.html" title="struct icu_collections::codepointtrie::CodePointTrie"><code>CodePointTrie</code></a>
if <code>code_point</code> uses fast-path lookup or <code>None</code> if <code>code_point</code>
should use small-path lookup or is above the supported range.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.93.1/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-TypedCodePointTrie%3C'trie,+T%3E-for-FastCodePointTrie%3C'trie,+T%3E" class="impl"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1541-1573">Source</a><a href="#impl-TypedCodePointTrie%3C'trie,+T%3E-for-FastCodePointTrie%3C'trie,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'trie, T: <a class="trait" href="trait.TrieValue.html" title="trait icu_collections::codepointtrie::TrieValue">TrieValue</a>&gt; <a class="trait" href="trait.TypedCodePointTrie.html" title="trait icu_collections::codepointtrie::TypedCodePointTrie">TypedCodePointTrie</a>&lt;'trie, T&gt; for <a class="struct" href="struct.FastCodePointTrie.html" title="struct icu_collections::codepointtrie::FastCodePointTrie">FastCodePointTrie</a>&lt;'trie, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedconstant.TRIE_TYPE-1" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1542">Source</a><a href="#associatedconstant.TRIE_TYPE-1" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.TRIE_TYPE" class="constant">TRIE_TYPE</a>: <a class="enum" href="enum.TrieType.html" title="enum icu_collections::codepointtrie::TrieType">TrieType</a> = TrieType::Fast</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TypedCodePointTrie%3C'trie,+T%3E-for-SmallCodePointTrie%3C'trie,+T%3E" class="impl"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1613-1627">Source</a><a href="#impl-TypedCodePointTrie%3C'trie,+T%3E-for-SmallCodePointTrie%3C'trie,+T%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'trie, T: <a class="trait" href="trait.TrieValue.html" title="trait icu_collections::codepointtrie::TrieValue">TrieValue</a>&gt; <a class="trait" href="trait.TypedCodePointTrie.html" title="trait icu_collections::codepointtrie::TypedCodePointTrie">TypedCodePointTrie</a>&lt;'trie, T&gt; for <a class="struct" href="struct.SmallCodePointTrie.html" title="struct icu_collections::codepointtrie::SmallCodePointTrie">SmallCodePointTrie</a>&lt;'trie, T&gt;</h3></section></summary><div class="impl-items"><section id="associatedconstant.TRIE_TYPE-2" class="associatedconstant trait-impl"><a class="src rightside" href="../../src/icu_collections/codepointtrie/cptrie.rs.html#1614">Source</a><a href="#associatedconstant.TRIE_TYPE-2" class="anchor">§</a><h4 class="code-header">const <a href="#associatedconstant.TRIE_TYPE" class="constant">TRIE_TYPE</a>: <a class="enum" href="enum.TrieType.html" title="enum icu_collections::codepointtrie::TrieType">TrieType</a> = TrieType::Small</h4></section></div></details></div><script src="../../trait.impl/icu_collections/codepointtrie/cptrie/trait.TypedCodePointTrie.js" async></script></section></div></main></body></html>