<main><divclass="width-limiter"><navclass="sub"><formclass="search-form"><span></span><divid="sidebar-button"tabindex="-1"><ahref="../unicode_normalization/all.html"title="show sidebar"></a></div><inputclass="search-input"name="search"aria-label="Run search in the documentation"autocomplete="off"spellcheck="false"placeholder="Click or press ‘S’ to search, ‘?’ for more options…"type="search"><divid="help-button"tabindex="-1"><ahref="../help.html"title="help">?</a></div><divid="settings-menu"tabindex="-1"><ahref="../settings.html"title="settings"><imgwidth="22"height="22"alt="Change settings"src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><sectionid="main-content"class="content"><divclass="main-heading"><h1>Crate <aclass="mod"href="#">unicode_normalization</a><buttonid="copy-path"title="Copy item path to clipboard"><imgsrc="../static.files/clipboard-7571035ce49a181d.svg"width="19"height="18"alt="Copy item path"></button></h1><spanclass="out-of-band"><aclass="src"href="../src/unicode_normalization/lib.rs.html#11-235">source</a> · <buttonid="toggle-all-docs"title="collapse all docs">[<span>−</span>]</button></span></div><detailsclass="toggle top-doc"open><summaryclass="hideme"><span>Expand description</span></summary><divclass="docblock"><p>Unicode character composition and decomposition utilities
as described in
<ahref="http://www.unicode.org/reports/tr15/">Unicode Standard Annex #15</a>.</p>
</code></pre></div></div></details><h2id="modules"class="section-header">Modules<ahref="#modules"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="mod"href="char/index.html"title="mod unicode_normalization::char">char</a></div><divclass="desc docblock-short">Methods for composing and decomposing characters.</div></li></ul><h2id="structs"class="section-header">Structs<ahref="#structs"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="struct"href="struct.Decompositions.html"title="struct unicode_normalization::Decompositions">Decompositions</a></div><divclass="desc docblock-short">External iterator for a string decomposition’s characters.</div></li><li><divclass="item-name"><aclass="struct"href="struct.Recompositions.html"title="struct unicode_normalization::Recompositions">Recompositions</a></div><divclass="desc docblock-short">External iterator for a string recomposition’s characters.</div></li><li><divclass="item-name"><aclass="struct"href="struct.Replacements.html"title="struct unicode_normalization::Replacements">Replacements</a></div><divclass="desc docblock-short">External iterator for replacements for a string’s characters.</div></li><li><divclass="item-name"><aclass="struct"href="struct.StreamSafe.html"title="struct unicode_normalization::StreamSafe">StreamSafe</a></div><divclass="desc docblock-short">UAX15-D4: This iterator keeps track of how many non-starters there have been
(U+034F) if the count exceeds 30.</div></li></ul><h2id="enums"class="section-header">Enums<ahref="#enums"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="enum"href="enum.IsNormalized.html"title="enum unicode_normalization::IsNormalized">IsNormalized</a></div><divclass="desc docblock-short">The QuickCheck algorithm can quickly determine if a text is or isn’t
return <code>Maybe</code> when a full decomposition and recomposition is necessary.</div></li></ul><h2id="constants"class="section-header">Constants<ahref="#constants"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="constant"href="constant.UNICODE_VERSION.html"title="constant unicode_normalization::UNICODE_VERSION">UNICODE_VERSION</a></div></li></ul><h2id="traits"class="section-header">Traits<ahref="#traits"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="trait"href="trait.UnicodeNormalization.html"title="trait unicode_normalization::UnicodeNormalization">UnicodeNormalization</a></div><divclass="desc docblock-short">Methods for iterating over strings while applying Unicode normalizations
<ahref="http://www.unicode.org/reports/tr15/">Unicode Standard Annex #15</a>.</div></li></ul><h2id="functions"class="section-header">Functions<ahref="#functions"class="anchor">§</a></h2><ulclass="item-table"><li><divclass="item-name"><aclass="fn"href="fn.is_nfc.html"title="fn unicode_normalization::is_nfc">is_nfc</a></div><divclass="desc docblock-short">Authoritatively check if a string is in NFC.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfc_quick.html"title="fn unicode_normalization::is_nfc_quick">is_nfc_quick</a></div><divclass="desc docblock-short">Quickly check if a string is in NFC, potentially returning
<code>IsNormalized::Maybe</code> if further checks are necessary. In this case a check
like <code>s.chars().nfc().eq(s.chars())</code> should suffice.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfc_stream_safe.html"title="fn unicode_normalization::is_nfc_stream_safe">is_nfc_stream_safe</a></div><divclass="desc docblock-short">Authoritatively check if a string is Stream-Safe NFC.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfc_stream_safe_quick.html"title="fn unicode_normalization::is_nfc_stream_safe_quick">is_nfc_stream_safe_quick</a></div><divclass="desc docblock-short">Quickly check if a string is Stream-Safe NFC.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfd.html"title="fn unicode_normalization::is_nfd">is_nfd</a></div><divclass="desc docblock-short">Authoritatively check if a string is in NFD.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfd_quick.html"title="fn unicode_normalization::is_nfd_quick">is_nfd_quick</a></div><divclass="desc docblock-short">Quickly check if a string is in NFD.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfd_stream_safe.html"title="fn unicode_normalization::is_nfd_stream_safe">is_nfd_stream_safe</a></div><divclass="desc docblock-short">Authoritatively check if a string is Stream-Safe NFD.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfd_stream_safe_quick.html"title="fn unicode_normalization::is_nfd_stream_safe_quick">is_nfd_stream_safe_quick</a></div><divclass="desc docblock-short">Quickly check if a string is Stream-Safe NFD.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfkc.html"title="fn unicode_normalization::is_nfkc">is_nfkc</a></div><divclass="desc docblock-short">Authoritatively check if a string is in NFKC.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfkc_quick.html"title="fn unicode_normalization::is_nfkc_quick">is_nfkc_quick</a></div><divclass="desc docblock-short">Quickly check if a string is in NFKC.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfkd.html"title="fn unicode_normalization::is_nfkd">is_nfkd</a></div><divclass="desc docblock-short">Authoritatively check if a string is in NFKD.</div></li><li><divclass="item-name"><aclass="fn"href="fn.is_nfkd_quick.html"title="fn unicode_normalization::is_nfkd_quick">is_nfkd_quick</a></div><divclass="desc docblock-short">Quickly check if a string is in NFKD.</div></li></ul></section></div></main></body></html>