Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Feb 15, 2024
1 parent 9b27897 commit 95cd348
Show file tree
Hide file tree
Showing 30 changed files with 102 additions and 102 deletions.
6 changes: 3 additions & 3 deletions iced/advanced/subscription/trait.Recipe.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
by runtimes to run and identify subscriptions. You can use it to create your
own!</p>
<h2 id="examples"><a href="#examples">Examples</a></h2>
<p>The repository has a couple of <a href="https://github.com/iced-rs/iced/tree/0.10/examples">examples</a> that use a custom <a href="trait.Recipe.html" title="trait iced::advanced::subscription::Recipe"><code>Recipe</code></a>:</p>
<p>The repository has a couple of <a href="https://github.com/iced-rs/iced/tree/0.12/examples">examples</a> that use a custom <a href="trait.Recipe.html" title="trait iced::advanced::subscription::Recipe"><code>Recipe</code></a>:</p>
<ul>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/download_progress"><code>download_progress</code></a>, a basic application that asynchronously downloads
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/download_progress"><code>download_progress</code></a>, a basic application that asynchronously downloads
a dummy file of 100 MB and tracks the download progress.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/stopwatch"><code>stopwatch</code></a>, a watch with start/stop and reset buttons showcasing how
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/stopwatch"><code>stopwatch</code></a>, a watch with start/stop and reset buttons showcasing how
to listen to time.</li>
</ul>
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.Output" class="method"><a class="src rightside" href="../../../src/iced_futures/subscription.rs.html#147">source</a><h4 class="code-header">type <a href="#associatedtype.Output" class="associatedtype">Output</a></h4></section></summary><div class="docblock"><p>The events that will be produced by a <a href="../../struct.Subscription.html" title="struct iced::Subscription"><code>Subscription</code></a> with this
Expand Down
10 changes: 5 additions & 5 deletions iced/advanced/trait.Widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@
<p>If you want to build your own widgets, you will need to implement this
trait.</p>
<h2 id="examples"><a href="#examples">Examples</a></h2>
<p>The repository has some <a href="https://github.com/iced-rs/iced/tree/0.10/examples">examples</a> showcasing how to implement a custom
<p>The repository has some <a href="https://github.com/iced-rs/iced/tree/0.12/examples">examples</a> showcasing how to implement a custom
widget:</p>
<ul>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/bezier_tool"><code>bezier_tool</code></a>, a Paint-like tool for drawing Bézier curves using
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/bezier_tool"><code>bezier_tool</code></a>, a Paint-like tool for drawing Bézier curves using
<a href="https://github.com/nical/lyon"><code>lyon</code></a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/custom_widget"><code>custom_widget</code></a>, a demonstration of how to build a custom widget that
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/custom_widget"><code>custom_widget</code></a>, a demonstration of how to build a custom widget that
draws a circle.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/geometry"><code>geometry</code></a>, a custom widget showcasing how to draw geometry with the
<code>Mesh2D</code> primitive in <a href="https://github.com/iced-rs/iced/tree/0.10/wgpu"><code>iced_wgpu</code></a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/geometry"><code>geometry</code></a>, a custom widget showcasing how to draw geometry with the
<code>Mesh2D</code> primitive in <a href="https://github.com/iced-rs/iced/tree/0.12/wgpu"><code>iced_wgpu</code></a>.</li>
</ul>
</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.size" class="method"><a class="src rightside" href="../../src/iced_core/widget.rs.html#47">source</a><h4 class="code-header">fn <a href="#tymethod.size" class="fn">size</a>(&amp;self) -&gt; <a class="struct" href="../struct.Size.html" title="struct iced::Size">Size</a>&lt;<a class="enum" href="../enum.Length.html" title="enum iced::Length">Length</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the <a href="../struct.Size.html" title="struct iced::Size"><code>Size</code></a> of the <a href="trait.Widget.html" title="trait iced::advanced::Widget"><code>Widget</code></a> in lengths.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.layout" class="method"><a class="src rightside" href="../../src/iced_core/widget.rs.html#61-66">source</a><h4 class="code-header">fn <a href="#tymethod.layout" class="fn">layout</a>(&amp;self, tree: &amp;mut <a class="struct" href="widget/struct.Tree.html" title="struct iced::advanced::widget::Tree">Tree</a>, renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Renderer</a>, limits: &amp;<a class="struct" href="layout/struct.Limits.html" title="struct iced::advanced::layout::Limits">Limits</a>) -&gt; <a class="struct" href="layout/struct.Node.html" title="struct iced::advanced::layout::Node">Node</a></h4></section></summary><div class="docblock"><p>Returns the <a href="layout/struct.Node.html" title="struct iced::advanced::layout::Node"><code>layout::Node</code></a> of the <a href="trait.Widget.html" title="trait iced::advanced::Widget"><code>Widget</code></a>.</p>
Expand Down
10 changes: 5 additions & 5 deletions iced/advanced/widget/trait.Widget.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@
<p>If you want to build your own widgets, you will need to implement this
trait.</p>
<h2 id="examples"><a href="#examples">Examples</a></h2>
<p>The repository has some <a href="https://github.com/iced-rs/iced/tree/0.10/examples">examples</a> showcasing how to implement a custom
<p>The repository has some <a href="https://github.com/iced-rs/iced/tree/0.12/examples">examples</a> showcasing how to implement a custom
widget:</p>
<ul>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/bezier_tool"><code>bezier_tool</code></a>, a Paint-like tool for drawing Bézier curves using
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/bezier_tool"><code>bezier_tool</code></a>, a Paint-like tool for drawing Bézier curves using
<a href="https://github.com/nical/lyon"><code>lyon</code></a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/custom_widget"><code>custom_widget</code></a>, a demonstration of how to build a custom widget that
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/custom_widget"><code>custom_widget</code></a>, a demonstration of how to build a custom widget that
draws a circle.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/geometry"><code>geometry</code></a>, a custom widget showcasing how to draw geometry with the
<code>Mesh2D</code> primitive in <a href="https://github.com/iced-rs/iced/tree/0.10/wgpu"><code>iced_wgpu</code></a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/geometry"><code>geometry</code></a>, a custom widget showcasing how to draw geometry with the
<code>Mesh2D</code> primitive in <a href="https://github.com/iced-rs/iced/tree/0.12/wgpu"><code>iced_wgpu</code></a>.</li>
</ul>
</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.size" class="method"><a class="src rightside" href="../../../src/iced_core/widget.rs.html#47">source</a><h4 class="code-header">fn <a href="#tymethod.size" class="fn">size</a>(&amp;self) -&gt; <a class="struct" href="../../struct.Size.html" title="struct iced::Size">Size</a>&lt;<a class="enum" href="../../enum.Length.html" title="enum iced::Length">Length</a>&gt;</h4></section></summary><div class="docblock"><p>Returns the <a href="../../struct.Size.html" title="struct iced::Size"><code>Size</code></a> of the <a href="../trait.Widget.html" title="trait iced::advanced::Widget"><code>Widget</code></a> in lengths.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.layout" class="method"><a class="src rightside" href="../../../src/iced_core/widget.rs.html#61-66">source</a><h4 class="code-header">fn <a href="#tymethod.layout" class="fn">layout</a>(&amp;self, tree: &amp;mut <a class="struct" href="struct.Tree.html" title="struct iced::advanced::widget::Tree">Tree</a>, renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Renderer</a>, limits: &amp;<a class="struct" href="../layout/struct.Limits.html" title="struct iced::advanced::layout::Limits">Limits</a>) -&gt; <a class="struct" href="../layout/struct.Node.html" title="struct iced::advanced::layout::Node">Node</a></h4></section></summary><div class="docblock"><p>Returns the <a href="../layout/struct.Node.html" title="struct iced::advanced::layout::Node"><code>layout::Node</code></a> of the <a href="../trait.Widget.html" title="trait iced::advanced::Widget"><code>Widget</code></a>.</p>
Expand Down
18 changes: 9 additions & 9 deletions iced/application/trait.Application.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,23 @@
<p>When using an <a href="trait.Application.html" title="trait iced::application::Application"><code>Application</code></a> with the <code>debug</code> feature enabled, a debug view
can be toggled by pressing <code>F12</code>.</p>
<h2 id="examples"><a href="#examples">Examples</a></h2>
<p><a href="https://github.com/iced-rs/iced/tree/0.10/examples">The repository has a bunch of examples</a> that use the <a href="trait.Application.html" title="trait iced::application::Application"><code>Application</code></a> trait:</p>
<p><a href="https://github.com/iced-rs/iced/tree/0.12/examples">The repository has a bunch of examples</a> that use the <a href="trait.Application.html" title="trait iced::application::Application"><code>Application</code></a> trait:</p>
<ul>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/clock"><code>clock</code></a>, an application that uses the <a href="../widget/struct.Canvas.html" title="struct iced::widget::Canvas"><code>Canvas</code></a> widget to draw a clock
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/clock"><code>clock</code></a>, an application that uses the <a href="../widget/struct.Canvas.html" title="struct iced::widget::Canvas"><code>Canvas</code></a> widget to draw a clock
and its hands to display the current time.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/download_progress"><code>download_progress</code></a>, a basic application that asynchronously downloads
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/download_progress"><code>download_progress</code></a>, a basic application that asynchronously downloads
a dummy file of 100 MB and tracks the download progress.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/events"><code>events</code></a>, a log of native events displayed using a conditional
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/events"><code>events</code></a>, a log of native events displayed using a conditional
<a href="../struct.Subscription.html" title="struct iced::Subscription"><code>Subscription</code></a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/game_of_life"><code>game_of_life</code></a>, an interactive version of the [Game of Life], invented
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/game_of_life"><code>game_of_life</code></a>, an interactive version of the [Game of Life], invented
by [John Horton Conway].</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/pokedex"><code>pokedex</code></a>, an application that displays a random Pokédex entry (sprite
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/pokedex"><code>pokedex</code></a>, an application that displays a random Pokédex entry (sprite
included!) by using the <a href="https://pokeapi.co/">PokéAPI</a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/solar_system"><code>solar_system</code></a>, an animated solar system drawn using the <a href="../widget/struct.Canvas.html" title="struct iced::widget::Canvas"><code>Canvas</code></a> widget
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/solar_system"><code>solar_system</code></a>, an animated solar system drawn using the <a href="../widget/struct.Canvas.html" title="struct iced::widget::Canvas"><code>Canvas</code></a> widget
and showcasing how to compose different transforms.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/stopwatch"><code>stopwatch</code></a>, a watch with start/stop and reset buttons showcasing how
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/stopwatch"><code>stopwatch</code></a>, a watch with start/stop and reset buttons showcasing how
to listen to time.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.10/examples/todos"><code>todos</code></a>, a todos tracker inspired by <a href="http://todomvc.com/">TodoMVC</a>.</li>
<li><a href="https://github.com/iced-rs/iced/tree/0.12/examples/todos"><code>todos</code></a>, a todos tracker inspired by <a href="http://todomvc.com/">TodoMVC</a>.</li>
</ul>
<h3 id="a-simple-hello-world"><a href="#a-simple-hello-world">A simple “Hello, world!”</a></h3>
<p>If you just want to get started, here is a simple <a href="trait.Application.html" title="trait iced::application::Application"><code>Application</code></a> that
Expand Down
8 changes: 4 additions & 4 deletions iced/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ <h2 id="features"><a href="#features">Features</a></h2>
<li>First-class support for async actions (use futures!)</li>
<li><a href="https://github.com/iced-rs/iced/blob/master/ECOSYSTEM.md">Modular ecosystem</a> split into reusable parts:
<ul>
<li>A <a href="https://github.com/iced-rs/iced/tree/0.10/runtime">renderer-agnostic native runtime</a> enabling integration with existing
<li>A <a href="https://github.com/iced-rs/iced/tree/0.12/runtime">renderer-agnostic native runtime</a> enabling integration with existing
systems</li>
<li>A <a href="https://github.com/iced-rs/iced/tree/0.10/wgpu">built-in renderer</a> supporting Vulkan, Metal, DX11, and DX12</li>
<li>A <a href="https://github.com/iced-rs/iced/tree/0.10/winit">windowing shell</a></li>
<li>A <a href="https://github.com/iced-rs/iced/tree/0.12/wgpu">built-in renderer</a> supporting Vulkan, Metal, DX11, and DX12</li>
<li>A <a href="https://github.com/iced-rs/iced/tree/0.12/winit">windowing shell</a></li>
<li>A <a href="https://github.com/iced-rs/iced_web">web runtime</a> leveraging the DOM</li>
</ul>
</li>
</ul>
<p>Check out the <a href="https://github.com/iced-rs/iced">repository</a> and the <a href="https://github.com/iced-rs/iced/tree/0.10/examples">examples</a> for more details!</p>
<p>Check out the <a href="https://github.com/iced-rs/iced">repository</a> and the <a href="https://github.com/iced-rs/iced/tree/0.12/examples">examples</a> for more details!</p>
<h2 id="overview"><a href="#overview">Overview</a></h2>
<p>Inspired by <a href="https://guide.elm-lang.org/architecture/">The Elm Architecture</a>, Iced expects you to split user
interfaces into four different concepts:</p>
Expand Down
2 changes: 1 addition & 1 deletion iced/subscription/fn.channel.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ <h2 id="creating-an-asynchronous-worker-with-bidirectional-communication"><a hre
}
})
}</code></pre></div>
<p>Check out the <a href="https://github.com/iced-rs/iced/tree/0.10/examples/websocket"><code>websocket</code></a> example, which showcases this pattern to maintain a <code>WebSocket</code>
<p>Check out the <a href="https://github.com/iced-rs/iced/tree/0.12/examples/websocket"><code>websocket</code></a> example, which showcases this pattern to maintain a <code>WebSocket</code>
connection open.</p>
</div></details></section></div></main></body></html>
Loading

0 comments on commit 95cd348

Please sign in to comment.