Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Oct 2, 2024
1 parent 3697f70 commit 3929aaf
Show file tree
Hide file tree
Showing 53 changed files with 113 additions and 65 deletions.
4 changes: 2 additions & 2 deletions iced/advanced/text/struct.Span.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
</div></details><details class="toggle method-toggle" open><summary><section id="method.padding" class="method"><h4 class="code-header">pub fn <a href="#method.padding" class="fn">padding</a>(self, padding: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;<a class="struct" href="../../struct.Padding.html" title="struct iced::Padding">Padding</a>&gt;) -&gt; <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'a, Link, Font&gt;</h4></section></summary><div class="docblock"><p>Sets the <a href="../../struct.Padding.html" title="struct iced::Padding"><code>Padding</code></a> of the <a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a>.</p>
<p>It only affects the <a href="../../widget/text/struct.Span.html#method.background" title="method iced::widget::text::Span::background"><code>background</code></a> and <a href="../../widget/text/struct.Span.html#method.border" title="method iced::widget::text::Span::border"><code>border</code></a> of the
<a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a>, currently.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.underline" class="method"><h4 class="code-header">pub fn <a href="#method.underline" class="fn">underline</a>(self, underline: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'a, Link, Font&gt;</h4></section></summary><div class="docblock"><p>Sets whether the <a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a> shoud be underlined or not.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.strikethrough" class="method"><h4 class="code-header">pub fn <a href="#method.strikethrough" class="fn">strikethrough</a>(self, strikethrough: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'a, Link, Font&gt;</h4></section></summary><div class="docblock"><p>Sets whether the <a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a> shoud be struck through or not.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.underline" class="method"><h4 class="code-header">pub fn <a href="#method.underline" class="fn">underline</a>(self, underline: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'a, Link, Font&gt;</h4></section></summary><div class="docblock"><p>Sets whether the <a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a> should be underlined or not.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.strikethrough" class="method"><h4 class="code-header">pub fn <a href="#method.strikethrough" class="fn">strikethrough</a>(self, strikethrough: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'a, Link, Font&gt;</h4></section></summary><div class="docblock"><p>Sets whether the <a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a> should be struck through or not.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.to_static" class="method"><h4 class="code-header">pub fn <a href="#method.to_static" class="fn">to_static</a>(self) -&gt; <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'static, Link, Font&gt;</h4></section></summary><div class="docblock"><p>Turns the <a href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span"><code>Span</code></a> into a static one.</p>
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Span%3C'a,+Link,+Font%3E" class="impl"><a href="#impl-Clone-for-Span%3C'a,+Link,+Font%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Link, Font&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../widget/text/struct.Span.html" title="struct iced::widget::text::Span">Span</a>&lt;'a, Link, Font&gt;<div class="where">where
Link: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
Expand Down
2 changes: 1 addition & 1 deletion iced/keyboard/key/enum.Named.html
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@
mode without completely shutting down. It is sometimes labelled <code>Suspend</code> or <code>Sleep</code> key.
(<code>KEYCODE_SLEEP</code>)</p>
</div><section id="variant.WakeUp" class="variant"><a href="#variant.WakeUp" class="anchor">§</a><h3 class="code-header">WakeUp</h3></section><div class="docblock"><p>The WakeUp key. (<code>KEYCODE_WAKEUP</code>)</p>
</div><section id="variant.AllCandidates" class="variant"><a href="#variant.AllCandidates" class="anchor">§</a><h3 class="code-header">AllCandidates</h3></section><div class="docblock"><p>Initate the multi-candidate mode.</p>
</div><section id="variant.AllCandidates" class="variant"><a href="#variant.AllCandidates" class="anchor">§</a><h3 class="code-header">AllCandidates</h3></section><div class="docblock"><p>Initiate the multi-candidate mode.</p>
</div><section id="variant.Alphanumeric" class="variant"><a href="#variant.Alphanumeric" class="anchor">§</a><h3 class="code-header">Alphanumeric</h3></section><section id="variant.CodeInput" class="variant"><a href="#variant.CodeInput" class="anchor">§</a><h3 class="code-header">CodeInput</h3></section><div class="docblock"><p>Initiate the Code Input mode to allow characters to be entered by
their code points.</p>
</div><section id="variant.Compose" class="variant"><a href="#variant.Compose" class="anchor">§</a><h3 class="code-header">Compose</h3></section><div class="docblock"><p>The Compose key, also known as “Multi_key” on the X Window System. This key acts in a
Expand Down
2 changes: 1 addition & 1 deletion iced/keyboard/struct.Modifiers.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Modifiers-3" class="impl"><a href="#impl-Modifiers-3" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers">Modifiers</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedconstant.COMMAND" class="associatedconstant"><h4 class="code-header">pub const <a href="#associatedconstant.COMMAND" class="constant">COMMAND</a>: <a class="struct" href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers">Modifiers</a> = _</h4></section></summary><div class="docblock"><p>The “command” key.</p>
<p>This is normally the main modifier to be used for hotkeys.</p>
<p>On macOS, this is equivalent to <code>Self::LOGO</code>.
Ohterwise, this is equivalent to <code>Self::CTRL</code>.</p>
Otherwise, this is equivalent to <code>Self::CTRL</code>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.shift" class="method"><h4 class="code-header">pub fn <a href="#method.shift" class="fn">shift</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <a href="struct.Modifiers.html#associatedconstant.SHIFT" title="associated constant iced::keyboard::Modifiers::SHIFT"><code>SHIFT</code></a> key is pressed in the <a href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers"><code>Modifiers</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.control" class="method"><h4 class="code-header">pub fn <a href="#method.control" class="fn">control</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <a href="struct.Modifiers.html#associatedconstant.CTRL" title="associated constant iced::keyboard::Modifiers::CTRL"><code>CTRL</code></a> key is pressed in the <a href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers"><code>Modifiers</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.alt" class="method"><h4 class="code-header">pub fn <a href="#method.alt" class="fn">alt</a>(self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class="docblock"><p>Returns true if the <a href="struct.Modifiers.html#associatedconstant.ALT" title="associated constant iced::keyboard::Modifiers::ALT"><code>ALT</code></a> key is pressed in the <a href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers"><code>Modifiers</code></a>.</p>
Expand Down
2 changes: 1 addition & 1 deletion iced/system/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +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="Retrieve system information."><title>iced::system - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-d5c83a227aeda803.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iced" data-themes="" data-resource-suffix="" data-rustdoc-version="1.83.0-nightly (06bb8364a 2024-10-01)" data-channel="nightly" data-search-js="search-e056c65ede92db13.js" data-settings-js="settings-805db61a62df4bd2.js" ><script src="../../static.files/storage-1d39b6787ed640ff.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-f070b9041d14864c.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-0111fcff984fae8f.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button><a class="logo-container" href="../../iced/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/bdf0430880f5c29443f5f0a0ae4895866dfef4c6/docs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../iced/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/bdf0430880f5c29443f5f0a0ae4895866dfef4c6/docs/logo.svg" alt="logo"></a><h2><a href="../../iced/index.html">iced</a><span class="version">0.14.0-dev</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module system</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate iced</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">iced</a></span><h1>Module <span>system</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/iced/lib.rs.html#578">source</a> </span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>system</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Retrieve system information.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Information.html" title="struct iced::system::Information">Information</a></div><div class="desc docblock-short">Contains informations about the system (e.g. system name, processor, memory, graphics adapter).</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.fetch_information.html" title="fn iced::system::fetch_information">fetch_<wbr>information</a></div><div class="desc docblock-short">Query for available system information.</div></li></ul></section></div></main></body></html>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Information.html" title="struct iced::system::Information">Information</a></div><div class="desc docblock-short">Contains information about the system (e.g. system name, processor, memory, graphics adapter).</div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.fetch_information.html" title="fn iced::system::fetch_information">fetch_<wbr>information</a></div><div class="desc docblock-short">Query for available system information.</div></li></ul></section></div></main></body></html>
Loading

0 comments on commit 3929aaf

Please sign in to comment.