46 lines
26 KiB
HTML
46 lines
26 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Trait that exposes Unicode properties for the `char` type."><title>Codepoint in swash::text - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Regular-0fe48ade.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" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-42caa33d.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="swash" data-themes="" data-resource-suffix="" data-rustdoc-version="1.84.0 (9fc6b4312 2025-01-07)" data-channel="1.84.0" data-search-js="search-92e6798f.js" data-settings-js="settings-0f613d39.js" ><script src="../../static.files/storage-59e33391.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-5f194d8c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-893ab5e7.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../swash/index.html">swash</a><span class="version">0.1.19</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Codepoint</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.bracket_type" title="bracket_type">bracket_type</a></li><li><a href="#tymethod.closing_bracket" title="closing_bracket">closing_bracket</a></li><li><a href="#tymethod.compose" title="compose">compose</a></li><li><a href="#tymethod.decompose" title="decompose">decompose</a></li><li><a href="#tymethod.decompose_compatible" title="decompose_compatible">decompose_compatible</a></li><li><a href="#tymethod.mirror" title="mirror">mirror</a></li><li><a href="#tymethod.opening_bracket" title="opening_bracket">opening_bracket</a></li><li><a href="#tymethod.properties" title="properties">properties</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.bidi_class" title="bidi_class">bidi_class</a></li><li><a href="#method.block" title="block">block</a></li><li><a href="#method.category" title="category">category</a></li><li><a href="#method.cluster_break" title="cluster_break">cluster_break</a></li><li><a href="#method.combining_class" title="combining_class">combining_class</a></li><li><a href="#method.is_emoji" title="is_emoji">is_emoji</a></li><li><a href="#method.is_extended_pictographic" title="is_extended_pictographic">is_extended_pictographic</a></li><li><a href="#method.joining_type" title="joining_type">joining_type</a></li><li><a href="#method.line_break" title="line_break">line_break</a></li><li><a href="#method.script" title="script">script</a></li><li><a href="#method.word_break" title="word_break">word_break</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Codepoint-for-char" title="char">char</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In swash::<wbr>text</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">swash</a>::<wbr><a href="index.html">text</a></span><h1>Trait <span class="trait">Codepoint</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/swash/text/unicode.rs.html#175-256">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Codepoint: <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> + <a class="trait" href="https://doc.rust-lang.org/1.84.0/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> {
|
|
<details class="toggle type-contents-toggle"><summary class="hideme"><span>Show 19 methods</span></summary> // Required methods
|
|
fn <a href="#tymethod.properties" class="fn">properties</a>(self) -> <a class="struct" href="struct.Properties.html" title="struct swash::text::Properties">Properties</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.bracket_type" class="fn">bracket_type</a>(self) -> <a class="enum" href="enum.BracketType.html" title="enum swash::text::BracketType">BracketType</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.opening_bracket" class="fn">opening_bracket</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.closing_bracket" class="fn">closing_bracket</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.mirror" class="fn">mirror</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.compose" class="fn">compose</a>(a: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>, b: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.decompose" class="fn">decompose</a>(self) -> <a class="struct" href="struct.Decompose.html" title="struct swash::text::Decompose">Decompose</a> <a href="#" class="tooltip" data-notable-ty="Decompose">ⓘ</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.decompose_compatible" class="fn">decompose_compatible</a>(self) -> <a class="struct" href="struct.Decompose.html" title="struct swash::text::Decompose">Decompose</a> <a href="#" class="tooltip" data-notable-ty="Decompose">ⓘ</a>;
|
|
|
|
// Provided methods
|
|
fn <a href="#method.category" class="fn">category</a>(self) -> <a class="enum" href="enum.Category.html" title="enum swash::text::Category">Category</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.block" class="fn">block</a>(self) -> <a class="enum" href="enum.Block.html" title="enum swash::text::Block">Block</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.script" class="fn">script</a>(self) -> <a class="enum" href="enum.Script.html" title="enum swash::text::Script">Script</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.combining_class" class="fn">combining_class</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.bidi_class" class="fn">bidi_class</a>(self) -> <a class="enum" href="enum.BidiClass.html" title="enum swash::text::BidiClass">BidiClass</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.joining_type" class="fn">joining_type</a>(self) -> <a class="enum" href="enum.JoiningType.html" title="enum swash::text::JoiningType">JoiningType</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.cluster_break" class="fn">cluster_break</a>(self) -> <a class="enum" href="enum.ClusterBreak.html" title="enum swash::text::ClusterBreak">ClusterBreak</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.word_break" class="fn">word_break</a>(self) -> <a class="enum" href="enum.WordBreak.html" title="enum swash::text::WordBreak">WordBreak</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.line_break" class="fn">line_break</a>(self) -> <a class="enum" href="enum.LineBreak.html" title="enum swash::text::LineBreak">LineBreak</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.is_emoji" class="fn">is_emoji</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.is_extended_pictographic" class="fn">is_extended_pictographic</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a> { ... }
|
|
</details>}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Trait that exposes Unicode properties for the <code>char</code> type.</p>
|
|
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.properties" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#177">Source</a><h4 class="code-header">fn <a href="#tymethod.properties" class="fn">properties</a>(self) -> <a class="struct" href="struct.Properties.html" title="struct swash::text::Properties">Properties</a></h4></section></summary><div class="docblock"><p>Returns the codepoint properties.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.bracket_type" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#235">Source</a><h4 class="code-header">fn <a href="#tymethod.bracket_type" class="fn">bracket_type</a>(self) -> <a class="enum" href="enum.BracketType.html" title="enum swash::text::BracketType">BracketType</a></h4></section></summary><div class="docblock"><p>Returns the bracket type of the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.opening_bracket" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#239">Source</a><h4 class="code-header">fn <a href="#tymethod.opening_bracket" class="fn">opening_bracket</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section></summary><div class="docblock"><p>If the character is a closing bracket, returns its opening bracket
|
|
pair.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.closing_bracket" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#243">Source</a><h4 class="code-header">fn <a href="#tymethod.closing_bracket" class="fn">closing_bracket</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section></summary><div class="docblock"><p>If the character is an opening bracket, returns its closing bracket
|
|
pair.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.mirror" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#246">Source</a><h4 class="code-header">fn <a href="#tymethod.mirror" class="fn">mirror</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section></summary><div class="docblock"><p>Returns the mirror of the character, if any.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.compose" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#249">Source</a><h4 class="code-header">fn <a href="#tymethod.compose" class="fn">compose</a>(a: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>, b: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section></summary><div class="docblock"><p>Returns the composition of two characters, if any.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.decompose" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#252">Source</a><h4 class="code-header">fn <a href="#tymethod.decompose" class="fn">decompose</a>(self) -> <a class="struct" href="struct.Decompose.html" title="struct swash::text::Decompose">Decompose</a> <a href="#" class="tooltip" data-notable-ty="Decompose">ⓘ</a></h4></section></summary><div class="docblock"><p>Returns the canonical decomposition of the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.decompose_compatible" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#255">Source</a><h4 class="code-header">fn <a href="#tymethod.decompose_compatible" class="fn">decompose_compatible</a>(self) -> <a class="struct" href="struct.Decompose.html" title="struct swash::text::Decompose">Decompose</a> <a href="#" class="tooltip" data-notable-ty="Decompose">ⓘ</a></h4></section></summary><div class="docblock"><p>Returns the compatibility decomposition of the character.</p>
|
|
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.category" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#180-182">Source</a><h4 class="code-header">fn <a href="#method.category" class="fn">category</a>(self) -> <a class="enum" href="enum.Category.html" title="enum swash::text::Category">Category</a></h4></section></summary><div class="docblock"><p>Returns the category of the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.block" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#185-187">Source</a><h4 class="code-header">fn <a href="#method.block" class="fn">block</a>(self) -> <a class="enum" href="enum.Block.html" title="enum swash::text::Block">Block</a></h4></section></summary><div class="docblock"><p>Returns the unicode block that contains the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.script" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#190-192">Source</a><h4 class="code-header">fn <a href="#method.script" class="fn">script</a>(self) -> <a class="enum" href="enum.Script.html" title="enum swash::text::Script">Script</a></h4></section></summary><div class="docblock"><p>Returns the script to which the character belongs.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.combining_class" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#195-197">Source</a><h4 class="code-header">fn <a href="#method.combining_class" class="fn">combining_class</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.u8.html">u8</a></h4></section></summary><div class="docblock"><p>Returns the canonical combining class of the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.bidi_class" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#200-202">Source</a><h4 class="code-header">fn <a href="#method.bidi_class" class="fn">bidi_class</a>(self) -> <a class="enum" href="enum.BidiClass.html" title="enum swash::text::BidiClass">BidiClass</a></h4></section></summary><div class="docblock"><p>Returns the bidirectional type of the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.joining_type" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#205-207">Source</a><h4 class="code-header">fn <a href="#method.joining_type" class="fn">joining_type</a>(self) -> <a class="enum" href="enum.JoiningType.html" title="enum swash::text::JoiningType">JoiningType</a></h4></section></summary><div class="docblock"><p>Returns the joining type of the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.cluster_break" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#210-212">Source</a><h4 class="code-header">fn <a href="#method.cluster_break" class="fn">cluster_break</a>(self) -> <a class="enum" href="enum.ClusterBreak.html" title="enum swash::text::ClusterBreak">ClusterBreak</a></h4></section></summary><div class="docblock"><p>Returns the cluster break property for the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.word_break" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#215-217">Source</a><h4 class="code-header">fn <a href="#method.word_break" class="fn">word_break</a>(self) -> <a class="enum" href="enum.WordBreak.html" title="enum swash::text::WordBreak">WordBreak</a></h4></section></summary><div class="docblock"><p>Returns the word break property for the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.line_break" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#220-222">Source</a><h4 class="code-header">fn <a href="#method.line_break" class="fn">line_break</a>(self) -> <a class="enum" href="enum.LineBreak.html" title="enum swash::text::LineBreak">LineBreak</a></h4></section></summary><div class="docblock"><p>Returns the line break property for the character.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_emoji" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#225-227">Source</a><h4 class="code-header">fn <a href="#method.is_emoji" class="fn">is_emoji</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the character is an emoji.</p>
|
|
</div></details><details class="toggle method-toggle" open><summary><section id="method.is_extended_pictographic" class="method"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#230-232">Source</a><h4 class="code-header">fn <a href="#method.is_extended_pictographic" class="fn">is_extended_pictographic</a>(self) -> <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the character is an extended pictographic symbol.</p>
|
|
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/1.84.0/reference/items/traits.html#object-safety">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Codepoint-for-char" class="impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#258-308">Source</a><a href="#impl-Codepoint-for-char" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Codepoint.html" title="trait swash::text::Codepoint">Codepoint</a> for <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a></h3></section></summary><div class="impl-items"><section id="method.properties" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#259-261">Source</a><a href="#method.properties" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.properties" class="fn">properties</a>(self) -> <a class="struct" href="struct.Properties.html" title="struct swash::text::Properties">Properties</a></h4></section><section id="method.bracket_type" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#263-271">Source</a><a href="#method.bracket_type" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.bracket_type" class="fn">bracket_type</a>(self) -> <a class="enum" href="enum.BracketType.html" title="enum swash::text::BracketType">BracketType</a></h4></section><section id="method.opening_bracket" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#273-279">Source</a><a href="#method.opening_bracket" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.opening_bracket" class="fn">opening_bracket</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section><section id="method.closing_bracket" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#281-287">Source</a><a href="#method.closing_bracket" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.closing_bracket" class="fn">closing_bracket</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section><section id="method.mirror" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#289-295">Source</a><a href="#method.mirror" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.mirror" class="fn">mirror</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section><section id="method.compose" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#297-299">Source</a><a href="#method.compose" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.compose" class="fn">compose</a>(a: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>, b: <a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>) -> <a class="enum" href="https://doc.rust-lang.org/1.84.0/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/1.84.0/std/primitive.char.html">char</a>></h4></section><section id="method.decompose" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#301-303">Source</a><a href="#method.decompose" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.decompose" class="fn">decompose</a>(self) -> <a class="struct" href="struct.Decompose.html" title="struct swash::text::Decompose">Decompose</a> <a href="#" class="tooltip" data-notable-ty="Decompose">ⓘ</a></h4></section><section id="method.decompose_compatible" class="method trait-impl"><a class="src rightside" href="../../src/swash/text/unicode.rs.html#305-307">Source</a><a href="#method.decompose_compatible" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.decompose_compatible" class="fn">decompose_compatible</a>(self) -> <a class="struct" href="struct.Decompose.html" title="struct swash::text::Decompose">Decompose</a> <a href="#" class="tooltip" data-notable-ty="Decompose">ⓘ</a></h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../trait.impl/swash/text/unicode/trait.Codepoint.js" data-ignore-extern-crates="std" async></script><script type="text/json" id="notable-traits-data">{"Decompose":"<h3>Notable traits for <code><a class=\"struct\" href=\"struct.Decompose.html\" title=\"struct swash::text::Decompose\">Decompose</a></code></h3><pre><code><div class=\"where\">impl <a class=\"trait\" href=\"https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html\" title=\"trait core::iter::traits::iterator::Iterator\">Iterator</a> for <a class=\"struct\" href=\"struct.Decompose.html\" title=\"struct swash::text::Decompose\">Decompose</a></div><div class=\"where\"> type <a href=\"https://doc.rust-lang.org/1.84.0/core/iter/traits/iterator/trait.Iterator.html#associatedtype.Item\" class=\"associatedtype\">Item</a> = <a class=\"primitive\" href=\"https://doc.rust-lang.org/1.84.0/std/primitive.char.html\">char</a>;</div>"}</script></section></div></main></body></html> |