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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../icu_locale_core/struct.DataLocale.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../icu_locale_core/struct.DataLocale.html">../../icu_locale_core/struct.DataLocale.html</a>...</p>
<script>location.replace("../../icu_locale_core/struct.DataLocale.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,36 @@
<!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="Unicode Extensions provide a mechanism to extend the `LanguageIdentifier` with additional bits of information - a combination of a `LanguageIdentifier` and `Extensions` is called `Locale`."><title>icu_locale_core::extensions - 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_locale_core" 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 extensions</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module extensions</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li><li><a href="#syntactic-vs-semantic-extension-handling" title="Syntactic vs Semantic Extension Handling">Syntactic vs Semantic Extension Handling</a></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></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate icu_<wbr>locale_<wbr>core</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_locale_core</a></div><h1>Module <span>extensions</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_locale_core/extensions/mod.rs.html#5-399">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Unicode Extensions provide a mechanism to extend the <a href="../struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a> with
additional bits of information - a combination of a <a href="../struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a> and <a href="struct.Extensions.html" title="struct icu_locale_core::extensions::Extensions"><code>Extensions</code></a>
is called <a href="../struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>.</p>
<p>There are four types of extensions:</p>
<ul>
<li><a href="unicode/index.html" title="mod icu_locale_core::extensions::unicode"><code>Unicode Extensions</code></a> - marked as <code>u</code>.</li>
<li><a href="transform/index.html" title="mod icu_locale_core::extensions::transform"><code>Transform Extensions</code></a> - marked as <code>t</code>.</li>
<li><a href="private/index.html" title="mod icu_locale_core::extensions::private"><code>Private Use Extensions</code></a> - marked as <code>x</code>.</li>
<li><a href="other/index.html" title="mod icu_locale_core::extensions::other"><code>Other Extensions</code></a> - marked as any <code>a-z</code> except of <code>u</code>, <code>t</code> and <code>x</code>.</li>
</ul>
<p>One can think of extensions as a bag of extra information on top of basic 4 <a href="../subtags/index.html" title="mod icu_locale_core::subtags"><code>subtags</code></a>.</p>
<p>Notice: <code>Other</code> extension type is currently not supported.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::extensions::unicode::{Key, Value};
<span class="kw">use </span>icu::locale::Locale;
<span class="kw">let </span>loc: Locale = <span class="string">"en-US-u-ca-buddhist-t-en-us-h0-hybrid-x-foo"
</span>.parse()
.expect(<span class="string">"Failed to parse."</span>);
<span class="macro">assert_eq!</span>(loc.id.language, <span class="string">"en"</span>.parse().unwrap());
<span class="macro">assert_eq!</span>(loc.id.script, <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(loc.id.region, <span class="prelude-val">Some</span>(<span class="string">"US"</span>.parse().unwrap()));
<span class="macro">assert_eq!</span>(loc.id.variants.len(), <span class="number">0</span>);
<span class="kw">let </span>key: Key = <span class="string">"ca"</span>.parse().expect(<span class="string">"Parsing key failed."</span>);
<span class="kw">let </span>value: Value = <span class="string">"buddhist"</span>.parse().expect(<span class="string">"Parsing value failed."</span>);
<span class="macro">assert_eq!</span>(loc.extensions.unicode.keywords.get(<span class="kw-2">&amp;</span>key), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>value));</code></pre></div><h2 id="syntactic-vs-semantic-extension-handling"><a class="doc-anchor" href="#syntactic-vs-semantic-extension-handling">§</a>Syntactic vs Semantic Extension Handling</h2>
<p>This module is useful when you need to work with Locale extensions at a syntactic level,
perhaps for parsing or generating locale identifiers that include any syntactically valid
extensions.
For handling and validating known CLDR values with semantic meaning, see the
<a href="../preferences/extensions/index.html" title="mod icu_locale_core::preferences::extensions"><code>crate::preferences::extensions</code></a> module.</p>
</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="other/index.html" title="mod icu_locale_core::extensions::other">other</a></dt><dd>Other Use Extensions is a list of extensions other than unicode,
transform or private.</dd><dt><a class="mod" href="private/index.html" title="mod icu_locale_core::extensions::private">private</a></dt><dd>Private Use Extensions is a list of extensions intended for
private use.</dd><dt><a class="mod" href="transform/index.html" title="mod icu_locale_core::extensions::transform">transform</a></dt><dd>Transform Extensions provide information on content transformations in a given locale.</dd><dt><a class="mod" href="unicode/index.html" title="mod icu_locale_core::extensions::unicode">unicode</a></dt><dd>Unicode Extensions provide information about user preferences in a given locale.</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.Extensions.html" title="struct icu_locale_core::extensions::Extensions">Extensions</a></dt><dd>A map of extensions associated with a given <a href="../struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>.</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.ExtensionType.html" title="enum icu_locale_core::extensions::ExtensionType">Extension<wbr>Type</a></dt><dd>Defines the type of extension.</dd></dl></section></div></main></body></html>

View File

@@ -0,0 +1,10 @@
<!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="Other Use Extensions is a list of extensions other than unicode, transform or private."><title>icu_locale_core::extensions::other - 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_locale_core" 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 other</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module other</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</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><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions</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_locale_core</a>::<wbr><a href="../index.html">extensions</a></div><h1>Module <span>other</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_locale_core/extensions/other/mod.rs.html#5-260">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Other Use Extensions is a list of extensions other than unicode,
transform or private.</p>
<p>Those extensions are treated as a pass-through, and no Unicode related
behavior depends on them.</p>
<p>The main struct for this extension is <a href="struct.Other.html" title="struct icu_locale_core::extensions::other::Other"><code>Other</code></a> which is a list of <a href="../../subtags/struct.Subtag.html" title="struct icu_locale_core::subtags::Subtag"><code>Subtag</code></a>s.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::extensions::other::Other;
<span class="kw">use </span>icu::locale::Locale;
<span class="kw">let </span><span class="kw-2">mut </span>loc: Locale = <span class="string">"en-US-a-foo-faa"</span>.parse().expect(<span class="string">"Parsing failed."</span>);</code></pre></div></div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Other.html" title="struct icu_locale_core::extensions::other::Other">Other</a></dt><dd>A list of <a href="https://unicode.org/reports/tr35/#other_extensions"><code>Other Use Extensions</code></a> as defined in <a href="https://unicode.org/reports/tr35/#Unicode_locale_identifier"><code>Unicode Locale Identifier</code></a> specification.</dd></dl></section></div></main></body></html>

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,18 @@
<!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="Private Use Extensions is a list of extensions intended for private use."><title>icu_locale_core::extensions::private - 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_locale_core" 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 private</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module private</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#macros">Module Items</a></h3><ul class="block"><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions</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_locale_core</a>::<wbr><a href="../index.html">extensions</a></div><h1>Module <span>private</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_locale_core/extensions/private/mod.rs.html#5-257">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Private Use Extensions is a list of extensions intended for
private use.</p>
<p>Those extensions are treated as a pass-through, and no Unicode related
behavior depends on them.</p>
<p>The main struct for this extension is <a href="struct.Private.html" title="struct icu_locale_core::extensions::private::Private"><code>Private</code></a> which is a list of <a href="struct.Subtag.html" title="struct icu_locale_core::extensions::private::Subtag"><code>Subtag</code></a>s.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::extensions::private::subtag;
<span class="kw">use </span>icu::locale::{locale, Locale};
<span class="kw">let </span><span class="kw-2">mut </span>loc: Locale = <span class="string">"en-US-x-foo-faa"</span>.parse().expect(<span class="string">"Parsing failed."</span>);
<span class="macro">assert!</span>(loc.extensions.private.contains(<span class="kw-2">&amp;</span><span class="macro">subtag!</span>(<span class="string">"foo"</span>)));
<span class="macro">assert_eq!</span>(loc.extensions.private.iter().next(), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="macro">subtag!</span>(<span class="string">"foo"</span>)));
loc.extensions.private.clear();
<span class="macro">assert!</span>(loc.extensions.private.is_empty());
<span class="macro">assert_eq!</span>(loc, <span class="macro">locale!</span>(<span class="string">"en-US"</span>));</code></pre></div></div></details><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.subtag.html" title="macro icu_locale_core::extensions::private::subtag">subtag</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.Subtag.html" title="struct icu_locale_core::extensions::private::Subtag"><code>Subtag</code></a> subtags.</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.Private.html" title="struct icu_locale_core::extensions::private::Private">Private</a></dt><dd>A list of <a href="https://unicode.org/reports/tr35/#pu_extensions"><code>Private Use Extensions</code></a> as defined in <a href="https://unicode.org/reports/tr35/#Unicode_locale_identifier"><code>Unicode Locale Identifier</code></a> specification.</dd><dt><a class="struct" href="struct.Subtag.html" title="struct icu_locale_core::extensions::private::Subtag">Subtag</a></dt><dd>A single item used in a list of <a href="struct.Private.html" title="struct icu_locale_core::extensions::private::Private"><code>Private</code></a> extensions.</dd></dl></section></div></main></body></html>

View File

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

View File

@@ -0,0 +1,13 @@
<!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="A macro allowing for compile-time construction of valid `Subtag` subtags."><title>subtag in icu_locale_core::extensions::private - 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_locale_core" 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 macro"><!--[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="#">subtag</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">subtag</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions::<wbr>private</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_locale_core</a>::<wbr><a href="../index.html">extensions</a>::<wbr><a href="index.html">private</a></div><h1>Macro <span class="macro">subtag</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_locale_core/extensions/private/other.rs.html#5-47">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! subtag {
($string:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.Subtag.html" title="struct icu_locale_core::extensions::private::Subtag"><code>Subtag</code></a> subtags.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Parsing errors dont have to be handled at runtime:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(
<span class="macro">icu_locale_core::extensions::private::subtag!</span>(<span class="string">"foo12"</span>),
<span class="string">"foo12"</span>.parse::&lt;icu_locale_core::extensions::private::Subtag&gt;().unwrap()
);</code></pre></div>
<p>Invalid input is a compile failure:</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu_locale_core::extensions::private::subtag!</span>(<span class="string">"toolooong"</span>);</code></pre></div></div></details></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_locale_core/extensions/private/struct.Subtag.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/private/struct.Subtag.html">../../../../icu_locale_core/extensions/private/struct.Subtag.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/private/struct.Subtag.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"macro":["subtag"],"struct":["Private","Subtag"]};

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 @@
window.SIDEBAR_ITEMS = {"enum":["ExtensionType"],"mod":["other","private","transform","unicode"],"struct":["Extensions"]};

File diff suppressed because one or more lines are too long

View File

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

View File

@@ -0,0 +1,22 @@
<!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="Transform Extensions provide information on content transformations in a given locale."><title>icu_locale_core::extensions::transform - 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_locale_core" 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 transform</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module transform</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#macros">Module Items</a></h3><ul class="block"><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions</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_locale_core</a>::<wbr><a href="../index.html">extensions</a></div><h1>Module <span>transform</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_locale_core/extensions/transform/mod.rs.html#5-336">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Transform Extensions provide information on content transformations in a given locale.</p>
<p>The main struct for this extension is <a href="struct.Transform.html" title="struct icu_locale_core::extensions::transform::Transform"><code>Transform</code></a> which contains <a href="struct.Fields.html" title="struct icu_locale_core::extensions::transform::Fields"><code>Fields</code></a> and an
optional <a href="../../struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a>.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::extensions::transform::{Fields, Key, Transform, Value};
<span class="kw">use </span>icu::locale::{LanguageIdentifier, Locale};
<span class="kw">let </span><span class="kw-2">mut </span>loc: Locale =
<span class="string">"en-US-t-es-ar-h0-hybrid"</span>.parse().expect(<span class="string">"Parsing failed."</span>);
<span class="kw">let </span>lang: LanguageIdentifier =
<span class="string">"es-AR"</span>.parse().expect(<span class="string">"Parsing LanguageIdentifier failed."</span>);
<span class="kw">let </span>key: Key = <span class="string">"h0"</span>.parse().expect(<span class="string">"Parsing key failed."</span>);
<span class="kw">let </span>value: Value = <span class="string">"hybrid"</span>.parse().expect(<span class="string">"Parsing value failed."</span>);
<span class="macro">assert_eq!</span>(loc.extensions.transform.lang, <span class="prelude-val">Some</span>(lang));
<span class="macro">assert!</span>(loc.extensions.transform.fields.contains_key(<span class="kw-2">&amp;</span>key));
<span class="macro">assert_eq!</span>(loc.extensions.transform.fields.get(<span class="kw-2">&amp;</span>key), <span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span>value));
<span class="macro">assert_eq!</span>(<span class="kw-2">&amp;</span>loc.extensions.transform.to_string(), <span class="string">"t-es-ar-h0-hybrid"</span>);</code></pre></div></div></details><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.key.html" title="macro icu_locale_core::extensions::transform::key">key</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.Key.html" title="struct icu_locale_core::extensions::transform::Key"><code>Key</code></a> subtags.</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.Fields.html" title="struct icu_locale_core::extensions::transform::Fields">Fields</a></dt><dd>A list of <a href="struct.Key.html" title="struct icu_locale_core::extensions::transform::Key"><code>Key</code></a>-<a href="struct.Value.html" title="struct icu_locale_core::extensions::transform::Value"><code>Value</code></a> pairs representing functional information
about content transformations.</dd><dt><a class="struct" href="struct.Key.html" title="struct icu_locale_core::extensions::transform::Key">Key</a></dt><dd>A key used in a list of <a href="struct.Fields.html" title="struct icu_locale_core::extensions::transform::Fields"><code>Fields</code></a>.</dd><dt><a class="struct" href="struct.Transform.html" title="struct icu_locale_core::extensions::transform::Transform">Transform</a></dt><dd>A list of <a href="https://unicode.org/reports/tr35/#t_Extension"><code>Unicode BCP47 T Extensions</code></a> as defined in <a href="https://unicode.org/reports/tr35/#Unicode_locale_identifier"><code>Unicode Locale Identifier</code></a> specification.</dd><dt><a class="struct" href="struct.Value.html" title="struct icu_locale_core::extensions::transform::Value">Value</a></dt><dd>A value used in a list of <a href="struct.Fields.html" title="struct icu_locale_core::extensions::transform::Fields"><code>Fields</code></a>.</dd></dl></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_locale_core/extensions/transform/struct.Key.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/transform/struct.Key.html">../../../../icu_locale_core/extensions/transform/struct.Key.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/transform/struct.Key.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=macro.key.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.key.html">macro.key.html</a>...</p>
<script>location.replace("macro.key.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,13 @@
<!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="A macro allowing for compile-time construction of valid `Key` subtags."><title>key in icu_locale_core::extensions::transform - 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_locale_core" 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 macro"><!--[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="#">key</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">key</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions::<wbr>transform</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_locale_core</a>::<wbr><a href="../index.html">extensions</a>::<wbr><a href="index.html">transform</a></div><h1>Macro <span class="macro">key</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_locale_core/extensions/transform/key.rs.html#5-32">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! key {
($string:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.Key.html" title="struct icu_locale_core::extensions::transform::Key"><code>Key</code></a> subtags.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Parsing errors dont have to be handled at runtime:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(
<span class="macro">icu_locale_core::extensions::transform::key!</span>(<span class="string">"k0"</span>),
<span class="string">"k0"</span>.parse::&lt;icu_locale_core::extensions::transform::Key&gt;().unwrap()
);</code></pre></div>
<p>Invalid input is a compile failure:</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu_locale_core::extensions::transform::key!</span>(<span class="string">""</span>);</code></pre></div></div></details></section></div></main></body></html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"macro":["key"],"struct":["Fields","Key","Transform","Value"]};

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,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../icu_locale_core/extensions/transform/struct.Value.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/transform/struct.Value.html">../../../../icu_locale_core/extensions/transform/struct.Value.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/transform/struct.Value.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_locale_core/extensions/unicode/struct.Attribute.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.Attribute.html">../../../../icu_locale_core/extensions/unicode/struct.Attribute.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.Attribute.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_locale_core/extensions/unicode/struct.Attributes.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.Attributes.html">../../../../icu_locale_core/extensions/unicode/struct.Attributes.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.Attributes.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,19 @@
<!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="Unicode Extensions provide information about user preferences in a given locale."><title>icu_locale_core::extensions::unicode - 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_locale_core" 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 unicode</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module unicode</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#macros">Module Items</a></h3><ul class="block"><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions</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_locale_core</a>::<wbr><a href="../index.html">extensions</a></div><h1>Module <span>unicode</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_locale_core/extensions/unicode/mod.rs.html#5-294">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Unicode Extensions provide information about user preferences in a given locale.</p>
<p>The main struct for this extension is <a href="struct.Unicode.html" title="struct icu_locale_core::extensions::unicode::Unicode"><code>Unicode</code></a> which contains <a href="struct.Keywords.html" title="struct icu_locale_core::extensions::unicode::Keywords"><code>Keywords</code></a> and
<a href="struct.Attributes.html" title="struct icu_locale_core::extensions::unicode::Attributes"><code>Attributes</code></a>.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::extensions::unicode::{attribute, key, value, Unicode};
<span class="kw">use </span>icu::locale::Locale;
<span class="kw">let </span>loc: Locale = <span class="string">"en-US-u-foobar-hc-h12"</span>.parse().expect(<span class="string">"Parsing failed."</span>);
<span class="macro">assert_eq!</span>(
loc.extensions.unicode.keywords.get(<span class="kw-2">&amp;</span><span class="macro">key!</span>(<span class="string">"hc"</span>)),
<span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="macro">value!</span>(<span class="string">"h12"</span>))
);
<span class="macro">assert!</span>(loc
.extensions
.unicode
.attributes
.contains(<span class="kw-2">&amp;</span><span class="macro">attribute!</span>(<span class="string">"foobar"</span>)));</code></pre></div></div></details><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.attribute.html" title="macro icu_locale_core::extensions::unicode::attribute">attribute</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.Attribute.html" title="struct icu_locale_core::extensions::unicode::Attribute"><code>Attribute</code></a> subtags.</dd><dt><a class="macro" href="macro.key.html" title="macro icu_locale_core::extensions::unicode::key">key</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.Key.html" title="struct icu_locale_core::extensions::unicode::Key"><code>Key</code></a> subtags.</dd><dt><a class="macro" href="macro.subdivision_suffix.html" title="macro icu_locale_core::extensions::unicode::subdivision_suffix">subdivision_<wbr>suffix</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.SubdivisionSuffix.html" title="struct icu_locale_core::extensions::unicode::SubdivisionSuffix"><code>SubdivisionSuffix</code></a> subtags.</dd><dt><a class="macro" href="macro.value.html" title="macro icu_locale_core::extensions::unicode::value">value</a></dt><dd>A macro allowing for compile-time construction of valid Unicode <a href="struct.Value.html" title="struct icu_locale_core::extensions::unicode::Value"><code>Value</code></a> subtag.</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.Attribute.html" title="struct icu_locale_core::extensions::unicode::Attribute">Attribute</a></dt><dd>An attribute used in a set of <a href="struct.Attributes.html" title="struct icu_locale_core::extensions::unicode::Attributes"><code>Attributes</code></a>.</dd><dt><a class="struct" href="struct.Attributes.html" title="struct icu_locale_core::extensions::unicode::Attributes">Attributes</a></dt><dd>A set of <a href="struct.Attribute.html" title="struct icu_locale_core::extensions::unicode::Attribute"><code>Attribute</code></a> elements as defined in <a href="https://unicode.org/reports/tr35/tr35.html#u_Extension"><code>Unicode Extension Attributes</code></a>.</dd><dt><a class="struct" href="struct.Key.html" title="struct icu_locale_core::extensions::unicode::Key">Key</a></dt><dd>A key used in a list of <a href="struct.Keywords.html" title="struct icu_locale_core::extensions::unicode::Keywords"><code>Keywords</code></a>.</dd><dt><a class="struct" href="struct.Keywords.html" title="struct icu_locale_core::extensions::unicode::Keywords">Keywords</a></dt><dd>A list of <a href="struct.Key.html" title="struct icu_locale_core::extensions::unicode::Key"><code>Key</code></a>-<a href="struct.Value.html" title="struct icu_locale_core::extensions::unicode::Value"><code>Value</code></a> pairs representing functional information
about locales internationalization preferences.</dd><dt><a class="struct" href="struct.SubdivisionId.html" title="struct icu_locale_core::extensions::unicode::SubdivisionId">Subdivision<wbr>Id</a></dt><dd>A Subivision Id as defined in <a href="https://unicode.org/reports/tr35/tr35.html#unicode_subdivision_id"><code>Unicode Locale Identifier</code></a>.</dd><dt><a class="struct" href="struct.SubdivisionSuffix.html" title="struct icu_locale_core::extensions::unicode::SubdivisionSuffix">Subdivision<wbr>Suffix</a></dt><dd>A subdivision suffix used in <a href="struct.SubdivisionId.html" title="struct icu_locale_core::extensions::unicode::SubdivisionId"><code>SubdivisionId</code></a>.</dd><dt><a class="struct" href="struct.Unicode.html" title="struct icu_locale_core::extensions::unicode::Unicode">Unicode</a></dt><dd>Unicode Extensions provide information about user preferences in a given locale.</dd><dt><a class="struct" href="struct.Value.html" title="struct icu_locale_core::extensions::unicode::Value">Value</a></dt><dd>A value used in a list of <a href="struct.Keywords.html" title="struct icu_locale_core::extensions::unicode::Keywords"><code>Keywords</code></a>.</dd></dl></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_locale_core/extensions/unicode/struct.Key.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.Key.html">../../../../icu_locale_core/extensions/unicode/struct.Key.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.Key.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_locale_core/extensions/unicode/struct.Keywords.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.Keywords.html">../../../../icu_locale_core/extensions/unicode/struct.Keywords.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.Keywords.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=macro.attribute.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.attribute.html">macro.attribute.html</a>...</p>
<script>location.replace("macro.attribute.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,13 @@
<!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="A macro allowing for compile-time construction of valid `Attribute` subtags."><title>attribute in icu_locale_core::extensions::unicode - 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_locale_core" 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 macro"><!--[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="#">attribute</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">attribute</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions::<wbr>unicode</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_locale_core</a>::<wbr><a href="../index.html">extensions</a>::<wbr><a href="index.html">unicode</a></div><h1>Macro <span class="macro">attribute</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_locale_core/extensions/unicode/attribute.rs.html#5-34">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! attribute {
($string:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.Attribute.html" title="struct icu_locale_core::extensions::unicode::Attribute"><code>Attribute</code></a> subtags.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Parsing errors dont have to be handled at runtime:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(
<span class="macro">icu_locale_core::extensions::unicode::attribute!</span>(<span class="string">"foo12"</span>),
<span class="string">"foo12"</span>.parse::&lt;icu_locale_core::extensions::unicode::Attribute&gt;().unwrap()
);</code></pre></div>
<p>Invalid input is a compile failure:</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu_locale_core::extensions::unicode::attribute!</span>(<span class="string">"no"</span>);</code></pre></div></div></details></section></div></main></body></html>

View File

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

View File

@@ -0,0 +1,13 @@
<!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="A macro allowing for compile-time construction of valid `Key` subtags."><title>key in icu_locale_core::extensions::unicode - 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_locale_core" 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 macro"><!--[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="#">key</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">key</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions::<wbr>unicode</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_locale_core</a>::<wbr><a href="../index.html">extensions</a>::<wbr><a href="index.html">unicode</a></div><h1>Macro <span class="macro">key</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_locale_core/extensions/unicode/key.rs.html#5-32">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! key {
($string:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.Key.html" title="struct icu_locale_core::extensions::unicode::Key"><code>Key</code></a> subtags.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Parsing errors dont have to be handled at runtime:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(
<span class="macro">icu_locale_core::extensions::unicode::key!</span>(<span class="string">"ca"</span>),
<span class="string">"ca"</span>.parse::&lt;icu_locale_core::extensions::unicode::Key&gt;().unwrap()
);</code></pre></div>
<p>Invalid input is a compile failure:</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu_locale_core::extensions::unicode::key!</span>(<span class="string">"a"</span>);</code></pre></div></div></details></section></div></main></body></html>

View File

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

View File

@@ -0,0 +1,13 @@
<!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="A macro allowing for compile-time construction of valid `SubdivisionSuffix` subtags."><title>subdivision_suffix in icu_locale_core::extensions::unicode - 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_locale_core" 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 macro"><!--[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="#">subdivision_suffix</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">subdivision_<wbr>suffix</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions::<wbr>unicode</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_locale_core</a>::<wbr><a href="../index.html">extensions</a>::<wbr><a href="index.html">unicode</a></div><h1>Macro <span class="macro">subdivision_<wbr>suffix</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_locale_core/extensions/unicode/subdivision.rs.html#10-47">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! subdivision_suffix {
($string:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.SubdivisionSuffix.html" title="struct icu_locale_core::extensions::unicode::SubdivisionSuffix"><code>SubdivisionSuffix</code></a> subtags.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<p>Parsing errors dont have to be handled at runtime:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="macro">assert_eq!</span>(
<span class="macro">icu_locale_core::extensions::unicode::subdivision_suffix!</span>(<span class="string">"sct"</span>),
<span class="string">"sct"</span>.parse::&lt;icu_locale_core::extensions::unicode::SubdivisionSuffix&gt;().unwrap()
);</code></pre></div>
<p>Invalid input is a compile failure:</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu_locale_core::extensions::unicode::subdivision_suffix!</span>(<span class="string">"toolooong"</span>);</code></pre></div></div></details></section></div></main></body></html>

View File

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

View File

@@ -0,0 +1,14 @@
<!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="A macro allowing for compile-time construction of valid Unicode `Value` subtag."><title>value in icu_locale_core::extensions::unicode - 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_locale_core" 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 macro"><!--[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="#">value</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">value</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In icu_<wbr>locale_<wbr>core::<wbr>extensions::<wbr>unicode</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_locale_core</a>::<wbr><a href="../index.html">extensions</a>::<wbr><a href="index.html">unicode</a></div><h1>Macro <span class="macro">value</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_locale_core/extensions/unicode/value.rs.html#364-375">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! value {
($value:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid Unicode <a href="struct.Value.html" title="struct icu_locale_core::extensions::unicode::Value"><code>Value</code></a> subtag.</p>
<p>The macro only supports single-subtag values.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::extensions::unicode::{key, value};
<span class="kw">use </span>icu::locale::Locale;
<span class="kw">let </span>loc: Locale = <span class="string">"de-u-ca-buddhist"</span>.parse().unwrap();
<span class="macro">assert_eq!</span>(
loc.extensions.unicode.keywords.get(<span class="kw-2">&amp;</span><span class="macro">key!</span>(<span class="string">"ca"</span>)),
<span class="prelude-val">Some</span>(<span class="kw-2">&amp;</span><span class="macro">value!</span>(<span class="string">"buddhist"</span>))
);</code></pre></div></div></details></section></div></main></body></html>

View File

@@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"macro":["attribute","key","subdivision_suffix","value"],"struct":["Attribute","Attributes","Key","Keywords","SubdivisionId","SubdivisionSuffix","Unicode","Value"]};

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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../icu_locale_core/extensions/unicode/struct.SubdivisionId.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.SubdivisionId.html">../../../../icu_locale_core/extensions/unicode/struct.SubdivisionId.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.SubdivisionId.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_locale_core/extensions/unicode/struct.SubdivisionSuffix.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.SubdivisionSuffix.html">../../../../icu_locale_core/extensions/unicode/struct.SubdivisionSuffix.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.SubdivisionSuffix.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_locale_core/extensions/unicode/struct.Value.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../icu_locale_core/extensions/unicode/struct.Value.html">../../../../icu_locale_core/extensions/unicode/struct.Value.html</a>...</p>
<script>location.replace("../../../../icu_locale_core/extensions/unicode/struct.Value.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,37 @@
<!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="Parsing, manipulating, and serializing Unicode Language and Locale Identifiers."><title>icu_locale_core - 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_locale_core" 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="../crates.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 crate"><!--[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="#">Crate icu_locale_core</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</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="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#enums" title="Enums">Enums</a></li></ul></section><div id="rustdoc-modnav"></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"><h1>Crate <span>icu_<wbr>locale_<wbr>core</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_locale_core/lib.rs.html#5-96">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Parsing, manipulating, and serializing Unicode Language and Locale Identifiers.</p>
<p>This module is published as its own crate (<a href="https://docs.rs/icu_locale_core/latest/icu_locale_core/"><code>icu_locale_core</code></a>)
and as part of the <a href="https://docs.rs/icu/latest/icu/"><code>icu</code></a> crate. See the latter for more details on the ICU4X project.</p>
<p>The module provides algorithms for parsing a string into a well-formed language or locale identifier
as defined by <a href="https://unicode.org/reports/tr35/tr35.html#Unicode_Language_and_Locale_Identifiers"><code>UTS #35: Unicode LDML 3. Unicode Language and Locale Identifiers</code></a>. Additionally
the module provides <a href="preferences/index.html" title="mod icu_locale_core::preferences"><code>preferences</code></a> interface for operations on locale preferences and conversions
from and to locale unicode extensions.</p>
<p><a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a> is the most common structure to use for storing information about a language,
script, region, variants and extensions. In almost all cases, this struct should be used as the
base unit for all locale management operations.</p>
<p><a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a> is a strict subset of <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a> which can be useful in a narrow range of
cases where <a href="extensions/index.html" title="mod icu_locale_core::extensions"><code>Unicode Extensions</code></a> are not relevant.</p>
<p>If in doubt, use <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::Locale;
<span class="kw">use </span>icu::locale::{
locale,
subtags::{language, region},
};
<span class="kw">let </span><span class="kw-2">mut </span>loc: Locale = <span class="macro">locale!</span>(<span class="string">"en-US"</span>);
<span class="macro">assert_eq!</span>(loc.id.language, <span class="macro">language!</span>(<span class="string">"en"</span>));
<span class="macro">assert_eq!</span>(loc.id.script, <span class="prelude-val">None</span>);
<span class="macro">assert_eq!</span>(loc.id.region, <span class="prelude-val">Some</span>(<span class="macro">region!</span>(<span class="string">"US"</span>)));
<span class="macro">assert_eq!</span>(loc.id.variants.len(), <span class="number">0</span>);
loc.id.region = <span class="prelude-val">Some</span>(<span class="macro">region!</span>(<span class="string">"GB"</span>));
<span class="macro">assert_eq!</span>(loc, <span class="macro">locale!</span>(<span class="string">"en-GB"</span>));</code></pre></div>
<p>For more details, see <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a> and <a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a>.</p>
</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="extensions/index.html" title="mod icu_locale_core::extensions">extensions</a></dt><dd>Unicode Extensions provide a mechanism to extend the <a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a> with
additional bits of information - a combination of a <a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a> and <a href="extensions/struct.Extensions.html" title="struct icu_locale_core::extensions::Extensions"><code>Extensions</code></a>
is called <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>.</dd><dt><a class="mod" href="preferences/index.html" title="mod icu_locale_core::preferences">preferences</a></dt><dd>This API provides necessary functionality for building user preferences structs.</dd><dt><a class="mod" href="subtags/index.html" title="mod icu_locale_core::subtags">subtags</a></dt><dd>Language Identifier and Locale contains a set of subtags
which represent different fields of the structure.</dd><dt><a class="mod" href="zerovec/index.html" title="mod icu_locale_core::zerovec">zerovec</a></dt><dd>Documentation on zero-copy deserialization of locale types.</dd></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.langid.html" title="macro icu_locale_core::langid">langid</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a>s.</dd><dt><a class="macro" href="macro.locale.html" title="macro icu_locale_core::locale">locale</a></dt><dd>A macro allowing for compile-time construction of valid <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>s.</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.DataLocale.html" title="struct icu_locale_core::DataLocale">Data<wbr>Locale</a></dt><dd>A locale type optimized for use in fallbacking and the ICU4X data pipeline.</dd><dt><a class="struct" href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier">Language<wbr>Identifier</a></dt><dd>A core struct representing a <a href="https://unicode.org/reports/tr35/tr35.html#Unicode_language_identifier"><code>Unicode BCP47 Language Identifier</code></a>.</dd><dt><a class="struct" href="struct.Locale.html" title="struct icu_locale_core::Locale">Locale</a></dt><dd>A core struct representing a <a href="https://unicode.org/reports/tr35/tr35.html#Unicode_locale_identifier"><code>Unicode Locale Identifier</code></a>.</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.ParseError.html" title="enum icu_locale_core::ParseError">Parse<wbr>Error</a></dt><dd>List of parser errors that can be generated
while parsing <a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a>, <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>,
<a href="subtags/index.html" title="mod icu_locale_core::subtags"><code>subtags</code></a> or <a href="extensions/index.html" title="mod icu_locale_core::extensions"><code>extensions</code></a>.</dd></dl></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_locale_core/struct.LanguageIdentifier.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../icu_locale_core/struct.LanguageIdentifier.html">../../icu_locale_core/struct.LanguageIdentifier.html</a>...</p>
<script>location.replace("../../icu_locale_core/struct.LanguageIdentifier.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_locale_core/struct.Locale.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../icu_locale_core/struct.Locale.html">../../icu_locale_core/struct.Locale.html</a>...</p>
<script>location.replace("../../icu_locale_core/struct.Locale.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=macro.langid.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="macro.langid.html">macro.langid.html</a>...</p>
<script>location.replace("macro.langid.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,21 @@
<!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="A macro allowing for compile-time construction of valid `LanguageIdentifier`s."><title>langid in icu_locale_core - 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_locale_core" 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 macro"><!--[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="#">langid</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">langid</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate icu_<wbr>locale_<wbr>core</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_locale_core</a></div><h1>Macro <span class="macro">langid</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_locale_core/macros.rs.html#38-53">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! langid {
($langid:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.LanguageIdentifier.html" title="struct icu_locale_core::LanguageIdentifier"><code>LanguageIdentifier</code></a>s.</p>
<p>The macro will perform syntax normalization of the tag.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::{langid, LanguageIdentifier};
<span class="kw">const </span>DE_AT: LanguageIdentifier = <span class="macro">langid!</span>(<span class="string">"de-at"</span>);
<span class="kw">let </span>de_at: LanguageIdentifier = <span class="string">"de-at"</span>.parse().unwrap();
<span class="macro">assert_eq!</span>(DE_AT, de_at);</code></pre></div>
<p><em>Note</em>: The macro cannot produce language identifiers with more than one variants due to const
limitations (see <a href="https://github.com/rust-lang/const-eval/issues/20"><code>Heap Allocations in Constants</code></a>):</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu::locale::langid!</span>(<span class="string">"und-variant1-variant2"</span>);</code></pre></div>
<p>Use runtime parsing instead:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="string">"und-variant1-variant2"
</span>.parse::&lt;icu::locale::LanguageIdentifier&gt;()
.unwrap();</code></pre></div></div></details></section></div></main></body></html>

View File

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

View File

@@ -0,0 +1,46 @@
<!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="A macro allowing for compile-time construction of valid `Locale`s."><title>locale in icu_locale_core - 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_locale_core" 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 macro"><!--[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="#">locale</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">locale</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#examples" title="Examples">Examples</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="index.html">In crate icu_<wbr>locale_<wbr>core</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_locale_core</a></div><h1>Macro <span class="macro">locale</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_locale_core/macros.rs.html#120-158">Source</a> </span></div><pre class="rust item-decl"><code>macro_rules! locale {
($locale:literal) =&gt; { ... };
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A macro allowing for compile-time construction of valid <a href="struct.Locale.html" title="struct icu_locale_core::Locale"><code>Locale</code></a>s.</p>
<p>The macro will perform syntax normalization of the tag.</p>
<h2 id="examples"><a class="doc-anchor" href="#examples">§</a>Examples</h2>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>icu::locale::{locale, Locale};
<span class="kw">const </span>DE_AT: Locale = <span class="macro">locale!</span>(<span class="string">"de-at"</span>);
<span class="kw">let </span>de_at: Locale = <span class="string">"de-at"</span>.parse().unwrap();
<span class="macro">assert_eq!</span>(DE_AT, de_at);</code></pre></div>
<p><em>Note</em>: The macro cannot produce locales with more than one variant or multiple extensions
(only single keyword unicode extension is supported) due to const
limitations (see <a href="https://github.com/rust-lang/const-eval/issues/20"><code>Heap Allocations in Constants</code></a>):</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu::locale::locale!</span>(<span class="string">"sl-IT-rozaj-biske-1994"</span>);</code></pre></div>
<p>Use runtime parsing instead:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="string">"sl-IT-rozaj-biske-1994"
</span>.parse::&lt;icu::locale::Locale&gt;()
.unwrap();</code></pre></div>
<p>Locales with multiple keys are not supported</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu::locale::locale!</span>(<span class="string">"th-TH-u-ca-buddhist-nu-thai"</span>);</code></pre></div>
<p>Use runtime parsing instead:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="string">"th-TH-u-ca-buddhist-nu-thai"
</span>.parse::&lt;icu::locale::Locale&gt;()
.unwrap();</code></pre></div>
<p>Locales with attributes are not supported</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu::locale::locale!</span>(<span class="string">"en-US-u-foobar-ca-buddhist"</span>);</code></pre></div>
<p>Use runtime parsing instead:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="string">"en-US-u-foobar-ca-buddhist"
</span>.parse::&lt;icu::locale::Locale&gt;()
.unwrap();</code></pre></div>
<p>Locales with single key but multiple types are not supported</p>
<div class="example-wrap compile_fail"><a href="#" class="tooltip" title="This example deliberately fails to compile"></a><pre class="rust rust-example-rendered"><code><span class="macro">icu::locale::locale!</span>(<span class="string">"en-US-u-ca-islamic-umalqura"</span>);</code></pre></div>
<p>Use runtime parsing instead:</p>
<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="string">"en-US-u-ca-islamic-umalqura"
</span>.parse::&lt;icu::locale::Locale&gt;()
.unwrap();</code></pre></div></div></details></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_locale_core/enum.ParseError.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../icu_locale_core/enum.ParseError.html">../../../icu_locale_core/enum.ParseError.html</a>...</p>
<script>location.replace("../../../icu_locale_core/enum.ParseError.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,12 @@
<!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="A set of extensions which correspond to preferences."><title>icu_locale_core::preferences::extensions - 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_locale_core" 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 extensions</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module extensions</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#syntactic-vs-semantic-extension-handling" title="Syntactic vs Semantic Extension Handling">Syntactic vs Semantic Extension Handling</a></li></ul><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>preferences</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_locale_core</a>::<wbr><a href="../index.html">preferences</a></div><h1>Module <span>extensions</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_locale_core/preferences/extensions/mod.rs.html#5-23">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A set of extensions which correspond to preferences.</p>
<p>The module provides structures that represent known values for each keyword
in Locale <a href="../../extensions/index.html" title="mod icu_locale_core::extensions"><code>extensions</code></a> with semantic meaning.</p>
<h2 id="syntactic-vs-semantic-extension-handling"><a class="doc-anchor" href="#syntactic-vs-semantic-extension-handling">§</a>Syntactic vs Semantic Extension Handling</h2>
<p>This module ensures that only valid, recognized values are used, providing semantic validation.
It would reject invalid values such as <code>-u-hc-BB</code> because <code>BB</code> is not a known hour cycle. This
is ideal for applications that require strict adherence to standardized values and need to
prevent invalid or unrecognized data.</p>
<p>If you need to construct syntactically valid Locale extensions without semantic validation,
allowing any valid key-value pair regardless of recognition, consider using the
<a href="../../extensions/index.html" title="mod icu_locale_core::extensions"><code>crate::extensions</code></a> module.</p>
</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="unicode/index.html" title="mod icu_locale_core::preferences::extensions::unicode">unicode</a></dt><dd>A set of unicode extensions which correspond to preferences.</dd></dl></section></div></main></body></html>

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
<!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="Errors related to parsing of Preferences."><title>icu_locale_core::preferences::extensions::unicode::errors - 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_locale_core" 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 errors</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module errors</a></h2><h3><a href="#enums">Module Items</a></h3><ul class="block"><li><a href="#enums" title="Enums">Enums</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>preferences::<wbr>extensions::<wbr>unicode</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_locale_core</a>::<wbr><a href="../../../index.html">preferences</a>::<wbr><a href="../../index.html">extensions</a>::<wbr><a href="../index.html">unicode</a></div><h1>Module <span>errors</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_locale_core/preferences/extensions/unicode/errors.rs.html#5-15">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Errors related to parsing of Preferences.</p>
</div></details><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.PreferencesParseError.html" title="enum icu_locale_core::preferences::extensions::unicode::errors::PreferencesParseError">Preferences<wbr>Parse<wbr>Error</a></dt><dd>Error returned by parsers of unicode extensions as preferences.</dd></dl></section></div></main></body></html>

View File

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

View File

@@ -0,0 +1,5 @@
<!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="A set of unicode extensions which correspond to preferences."><title>icu_locale_core::preferences::extensions::unicode - 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_locale_core" 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 unicode</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../icu_locale_core/index.html">icu_<wbr>locale_<wbr>core</a><span class="version">2.1.1</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module unicode</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In icu_<wbr>locale_<wbr>core::<wbr>preferences::<wbr>extensions</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_locale_core</a>::<wbr><a href="../../index.html">preferences</a>::<wbr><a href="../index.html">extensions</a></div><h1>Module <span>unicode</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_locale_core/preferences/extensions/unicode/mod.rs.html#5-17">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A set of unicode extensions which correspond to preferences.</p>
<p>The module contains a set structs corresponding to Locale <a href="../../../extensions/unicode/index.html" title="mod icu_locale_core::extensions::unicode"><code>unicode</code></a>
extensions for which ICU4X provides implementations of preferences.</p>
<p>The macros in this module provide wrappers for creating preferences based on enums and structs.</p>
</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="errors/index.html" title="mod icu_locale_core::preferences::extensions::unicode::errors">errors</a></dt><dd>Errors related to parsing of Preferences.</dd><dt><a class="mod" href="keywords/index.html" title="mod icu_locale_core::preferences::extensions::unicode::keywords">keywords</a></dt><dd>A list of Preferences derived from Locale unicode extension keywords.</dd></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.enum_keyword.html" title="macro icu_locale_core::preferences::extensions::unicode::enum_keyword">enum_<wbr>keyword</a></dt><dd>Macro used to generate a preference keyword as an enum.</dd><dt><a class="macro" href="macro.struct_keyword.html" title="macro icu_locale_core::preferences::extensions::unicode::struct_keyword">struct_<wbr>keyword</a></dt><dd>Macro used to generate a preference keyword as a struct.</dd></dl></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_locale_core/preferences/extensions/unicode/keywords/enum.CalendarAlgorithm.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CalendarAlgorithm.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CalendarAlgorithm.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CalendarAlgorithm.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_locale_core/preferences/extensions/unicode/keywords/enum.HijriCalendarAlgorithm.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.HijriCalendarAlgorithm.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.HijriCalendarAlgorithm.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.HijriCalendarAlgorithm.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_locale_core/preferences/extensions/unicode/keywords/enum.CollationCaseFirst.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationCaseFirst.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationCaseFirst.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationCaseFirst.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_locale_core/preferences/extensions/unicode/keywords/enum.CollationNumericOrdering.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationNumericOrdering.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationNumericOrdering.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationNumericOrdering.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_locale_core/preferences/extensions/unicode/keywords/enum.CollationType.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationType.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationType.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CollationType.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_locale_core/preferences/extensions/unicode/keywords/struct.CurrencyType.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.CurrencyType.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.CurrencyType.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.CurrencyType.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_locale_core/preferences/extensions/unicode/keywords/enum.CurrencyFormatStyle.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CurrencyFormatStyle.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CurrencyFormatStyle.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.CurrencyFormatStyle.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_locale_core/preferences/extensions/unicode/keywords/enum.EmojiPresentationStyle.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.EmojiPresentationStyle.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.EmojiPresentationStyle.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.EmojiPresentationStyle.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

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

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,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.FirstDay.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.FirstDay.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.FirstDay.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.FirstDay.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_locale_core/preferences/extensions/unicode/keywords/enum.HourCycle.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.HourCycle.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.HourCycle.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.HourCycle.html" + location.search + location.hash);</script>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakStyle.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakStyle.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakStyle.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakStyle.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_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakWordHandling.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakWordHandling.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakWordHandling.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.LineBreakWordHandling.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_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementSystem.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementSystem.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementSystem.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementSystem.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_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementUnitOverride.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementUnitOverride.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementUnitOverride.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/enum.MeasurementUnitOverride.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_locale_core/preferences/extensions/unicode/keywords/struct.NumberingSystem.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.NumberingSystem.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.NumberingSystem.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.NumberingSystem.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_locale_core/preferences/extensions/unicode/keywords/struct.RegionOverride.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.RegionOverride.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.RegionOverride.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.RegionOverride.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_locale_core/preferences/extensions/unicode/keywords/struct.RegionalSubdivision.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.RegionalSubdivision.html">../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.RegionalSubdivision.html</a>...</p>
<script>location.replace("../../../../../../icu_locale_core/preferences/extensions/unicode/keywords/struct.RegionalSubdivision.html" + location.search + location.hash);</script>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More