Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Mar 8, 2024
1 parent 6b037fd commit 4c85770
Show file tree
Hide file tree
Showing 1,254 changed files with 12,855 additions and 19,827 deletions.
2 changes: 1 addition & 1 deletion crates.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

64 changes: 22 additions & 42 deletions iced/advanced/trait.Widget.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion iced/advanced/widget/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Create custom widgets and operate on them."><title>iced::advanced::widget - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-e883e87179a81222.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.76.0-nightly (d86d65bbc 2023-12-10)" data-channel="nightly" data-search-js="search-5a66c239c06b3a66.js" data-settings-js="settings-fe03fdc259827cd2.js" ><script src="../../../static.files/storage-bc37acceda91d44a.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-77dede896d6ac08e.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><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">&#9776;</button><a class="logo-container" href="../../../iced/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/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/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt="logo"></a><h2><a href="../../../iced/index.html">iced</a><span class="version">0.13.0-dev</span></h2></div><h2 class="location"><a href="#">Module widget</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In iced::advanced</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="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"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">iced</a>::<wbr><a href="../index.html">advanced</a>::<wbr><a class="mod" href="#">widget</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/iced_core/lib.rs.html#35">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advanced</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create custom widgets and operate on them.</p>
<!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="Create custom widgets and operate on them."><title>iced::advanced::widget - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../../static.files/rustdoc-e883e87179a81222.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.76.0-nightly (d86d65bbc 2023-12-10)" data-channel="nightly" data-search-js="search-5a66c239c06b3a66.js" data-settings-js="settings-fe03fdc259827cd2.js" ><script src="../../../static.files/storage-bc37acceda91d44a.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-77dede896d6ac08e.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-16x16-8b506e7a72182f1c.png"><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">&#9776;</button><a class="logo-container" href="../../../iced/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/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/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt="logo"></a><h2><a href="../../../iced/index.html">iced</a><span class="version">0.13.0-dev</span></h2></div><h2 class="location"><a href="#">Module widget</a></h2><div class="sidebar-elems"><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section><h2><a href="../index.html">In iced::advanced</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="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"><div id="help-button" title="help" tabindex="-1"><a href="../../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Module <a href="../../index.html">iced</a>::<wbr><a href="../index.html">advanced</a>::<wbr><a class="mod" href="#">widget</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../../src/iced_core/lib.rs.html#36">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advanced</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create custom widgets and operate on them.</p>
</div></details><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2><ul class="item-table"><li><div class="item-name"><a class="mod" href="operation/index.html" title="mod iced::advanced::widget::operation">operation</a></div><div class="desc docblock-short">Query or update internal widget state.</div></li><li><div class="item-name"><a class="mod" href="text/index.html" title="mod iced::advanced::widget::text">text</a></div><div class="desc docblock-short">Write some text for your users to read.</div></li><li><div class="item-name"><a class="mod" href="tree/index.html" title="mod iced::advanced::widget::tree">tree</a></div><div class="desc docblock-short">Store internal widget state in a state tree to ensure continuity.</div></li></ul><h2 id="structs" class="section-header"><a href="#structs">Structs</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.Id.html" title="struct iced::advanced::widget::Id">Id</a></div><div class="desc docblock-short">The identifier of a generic widget.</div></li><li><div class="item-name"><a class="struct" href="struct.Text.html" title="struct iced::advanced::widget::Text">Text</a></div><div class="desc docblock-short">A paragraph of text.</div></li><li><div class="item-name"><a class="struct" href="struct.Tree.html" title="struct iced::advanced::widget::Tree">Tree</a></div><div class="desc docblock-short">A persistent state widget tree.</div></li></ul><h2 id="traits" class="section-header"><a href="#traits">Traits</a></h2><ul class="item-table"><li><div class="item-name"><a class="trait" href="trait.Operation.html" title="trait iced::advanced::widget::Operation">Operation</a></div><div class="desc docblock-short">A piece of logic that can traverse the widget tree of an application in
order to query or update some widget state.</div></li><li><div class="item-name"><a class="trait" href="trait.Widget.html" title="trait iced::advanced::widget::Widget">Widget</a></div><div class="desc docblock-short">A component that displays information and allows interaction.</div></li></ul></section></div></main></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
</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.is_focused" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/focusable.rs.html#9">source</a><h4 class="code-header">fn <a href="#tymethod.is_focused" class="fn">is_focused</a>(&amp;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 whether the widget is focused or not.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.focus" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/focusable.rs.html#12">source</a><h4 class="code-header">fn <a href="#tymethod.focus" class="fn">focus</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Focuses the widget.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.unfocus" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/focusable.rs.html#15">source</a><h4 class="code-header">fn <a href="#tymethod.unfocus" class="fn">unfocus</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Unfocuses the widget.</p>
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Focusable-for-State%3CP%3E" class="impl"><a class="src rightside" href="../../../../../src/iced_widget/text_input.rs.html#1344">source</a><a href="#impl-Focusable-for-State%3CP%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P&gt; <a class="trait" href="../trait.Focusable.html" title="trait iced::advanced::widget::operation::Focusable">Focusable</a> for <a class="struct" href="../../../../widget/text_input/struct.State.html" title="struct iced::widget::text_input::State">State</a>&lt;P&gt;<div class="where">where
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Focusable-for-State%3CP%3E" class="impl"><a class="src rightside" href="../../../../../src/iced_widget/text_input.rs.html#1245">source</a><a href="#impl-Focusable-for-State%3CP%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P&gt; <a class="trait" href="../trait.Focusable.html" title="trait iced::advanced::widget::operation::Focusable">Focusable</a> for <a class="struct" href="../../../../widget/text_input/struct.State.html" title="struct iced::widget::text_input::State">State</a>&lt;P&gt;<div class="where">where
P: <a class="trait" href="../../../text/trait.Paragraph.html" title="trait iced::advanced::text::Paragraph">Paragraph</a>,</div></h3></section></div><script src="../../../../../trait.impl/iced_core/widget/operation/focusable/trait.Focusable.js" data-ignore-extern-crates="iced_widget" async></script></section></div></main></body></html>
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>advanced</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The internal state of a widget that can be scrolled.</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.snap_to" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/scrollable.rs.html#8">source</a><h4 class="code-header">fn <a href="#tymethod.snap_to" class="fn">snap_to</a>(&amp;mut self, offset: <a class="struct" href="../../../../widget/scrollable/struct.RelativeOffset.html" title="struct iced::widget::scrollable::RelativeOffset">RelativeOffset</a>)</h4></section></summary><div class="docblock"><p>Snaps the scroll of the widget to the given <code>percentage</code> along the horizontal &amp; vertical axis.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.scroll_to" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/scrollable.rs.html#11">source</a><h4 class="code-header">fn <a href="#tymethod.scroll_to" class="fn">scroll_to</a>(&amp;mut self, offset: <a class="struct" href="../../../../widget/scrollable/struct.AbsoluteOffset.html" title="struct iced::widget::scrollable::AbsoluteOffset">AbsoluteOffset</a>)</h4></section></summary><div class="docblock"><p>Scroll the widget to the given <a href="../../../../widget/scrollable/struct.AbsoluteOffset.html" title="struct iced::widget::scrollable::AbsoluteOffset"><code>AbsoluteOffset</code></a> along the horizontal &amp; vertical axis.</p>
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Scrollable-for-State" class="impl"><a class="src rightside" href="../../../../../src/iced_widget/scrollable.rs.html#1122">source</a><a href="#impl-Scrollable-for-State" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../trait.Scrollable.html" title="trait iced::advanced::widget::operation::Scrollable">Scrollable</a> for <a class="struct" href="../../../../widget/scrollable/struct.State.html" title="struct iced::widget::scrollable::State">State</a></h3></section></div><script src="../../../../../trait.impl/iced_core/widget/operation/scrollable/trait.Scrollable.js" data-ignore-extern-crates="iced_widget" async></script></section></div></main></body></html>
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../trait.impl/iced_core/widget/operation/scrollable/trait.Scrollable.js" async></script></section></div></main></body></html>
Loading

0 comments on commit 4c85770

Please sign in to comment.