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 846d885 commit 67adb1e
Show file tree
Hide file tree
Showing 61 changed files with 123 additions and 95 deletions.
4 changes: 4 additions & 0 deletions iced/keyboard/enum.Event.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
},
KeyReleased {
key: <a class="enum" href="enum.Key.html" title="enum iced::keyboard::Key">Key</a>,
modified_key: <a class="enum" href="enum.Key.html" title="enum iced::keyboard::Key">Key</a>,
physical_key: <a class="enum" href="key/enum.Physical.html" title="enum iced::keyboard::key::Physical">Physical</a>,
location: <a class="enum" href="enum.Location.html" title="enum iced::keyboard::Location">Location</a>,
modifiers: <a class="struct" href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers">Modifiers</a>,
},
Expand All @@ -25,6 +27,8 @@
</div></div><div class="sub-variant-field"><span id="variant.KeyPressed.field.text" class="section-header"><a href="#variant.KeyPressed.field.text" class="anchor field">§</a><code>text: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SmolStr&gt;</code></span><div class="docblock"><p>The text produced by the key press, if any.</p>
</div></div></div><section id="variant.KeyReleased" class="variant"><a href="#variant.KeyReleased" class="anchor">§</a><h3 class="code-header">KeyReleased</h3></section><div class="docblock"><p>A keyboard key was released.</p>
</div><div class="sub-variant" id="variant.KeyReleased.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.KeyReleased.field.key" class="section-header"><a href="#variant.KeyReleased.field.key" class="anchor field">§</a><code>key: <a class="enum" href="enum.Key.html" title="enum iced::keyboard::Key">Key</a></code></span><div class="docblock"><p>The key released.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.modified_key" class="section-header"><a href="#variant.KeyReleased.field.modified_key" class="anchor field">§</a><code>modified_key: <a class="enum" href="enum.Key.html" title="enum iced::keyboard::Key">Key</a></code></span><div class="docblock"><p>The key released with all keyboard modifiers applied, except Ctrl.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.physical_key" class="section-header"><a href="#variant.KeyReleased.field.physical_key" class="anchor field">§</a><code>physical_key: <a class="enum" href="key/enum.Physical.html" title="enum iced::keyboard::key::Physical">Physical</a></code></span><div class="docblock"><p>The physical key released.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.location" class="section-header"><a href="#variant.KeyReleased.field.location" class="anchor field">§</a><code>location: <a class="enum" href="enum.Location.html" title="enum iced::keyboard::Location">Location</a></code></span><div class="docblock"><p>The location of the key.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.modifiers" class="section-header"><a href="#variant.KeyReleased.field.modifiers" class="anchor field">§</a><code>modifiers: <a class="struct" href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers">Modifiers</a></code></span><div class="docblock"><p>The state of the modifier keys.</p>
</div></div></div><section id="variant.ModifiersChanged" class="variant"><a href="#variant.ModifiersChanged" class="anchor">§</a><h3 class="code-header">ModifiersChanged(<a class="struct" href="struct.Modifiers.html" title="struct iced::keyboard::Modifiers">Modifiers</a>)</h3></section><div class="docblock"><p>The keyboard modifiers have changed.</p>
Expand Down
6 changes: 5 additions & 1 deletion iced_core/keyboard/enum.Event.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions iced_runtime/keyboard/enum.Event.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
},
KeyReleased {
key: <a class="enum" href="enum.Key.html" title="enum iced_runtime::keyboard::Key">Key</a>,
modified_key: <a class="enum" href="enum.Key.html" title="enum iced_runtime::keyboard::Key">Key</a>,
physical_key: <a class="enum" href="key/enum.Physical.html" title="enum iced_runtime::keyboard::key::Physical">Physical</a>,
location: <a class="enum" href="enum.Location.html" title="enum iced_runtime::keyboard::Location">Location</a>,
modifiers: <a class="struct" href="struct.Modifiers.html" title="struct iced_runtime::keyboard::Modifiers">Modifiers</a>,
},
Expand All @@ -25,6 +27,8 @@
</div></div><div class="sub-variant-field"><span id="variant.KeyPressed.field.text" class="section-header"><a href="#variant.KeyPressed.field.text" class="anchor field">§</a><code>text: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SmolStr&gt;</code></span><div class="docblock"><p>The text produced by the key press, if any.</p>
</div></div></div><section id="variant.KeyReleased" class="variant"><a href="#variant.KeyReleased" class="anchor">§</a><h3 class="code-header">KeyReleased</h3></section><div class="docblock"><p>A keyboard key was released.</p>
</div><div class="sub-variant" id="variant.KeyReleased.fields"><h4>Fields</h4><div class="sub-variant-field"><span id="variant.KeyReleased.field.key" class="section-header"><a href="#variant.KeyReleased.field.key" class="anchor field">§</a><code>key: <a class="enum" href="enum.Key.html" title="enum iced_runtime::keyboard::Key">Key</a></code></span><div class="docblock"><p>The key released.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.modified_key" class="section-header"><a href="#variant.KeyReleased.field.modified_key" class="anchor field">§</a><code>modified_key: <a class="enum" href="enum.Key.html" title="enum iced_runtime::keyboard::Key">Key</a></code></span><div class="docblock"><p>The key released with all keyboard modifiers applied, except Ctrl.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.physical_key" class="section-header"><a href="#variant.KeyReleased.field.physical_key" class="anchor field">§</a><code>physical_key: <a class="enum" href="key/enum.Physical.html" title="enum iced_runtime::keyboard::key::Physical">Physical</a></code></span><div class="docblock"><p>The physical key released.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.location" class="section-header"><a href="#variant.KeyReleased.field.location" class="anchor field">§</a><code>location: <a class="enum" href="enum.Location.html" title="enum iced_runtime::keyboard::Location">Location</a></code></span><div class="docblock"><p>The location of the key.</p>
</div></div><div class="sub-variant-field"><span id="variant.KeyReleased.field.modifiers" class="section-header"><a href="#variant.KeyReleased.field.modifiers" class="anchor field">§</a><code>modifiers: <a class="struct" href="struct.Modifiers.html" title="struct iced_runtime::keyboard::Modifiers">Modifiers</a></code></span><div class="docblock"><p>The state of the modifier keys.</p>
</div></div></div><section id="variant.ModifiersChanged" class="variant"><a href="#variant.ModifiersChanged" class="anchor">§</a><h3 class="code-header">ModifiersChanged(<a class="struct" href="struct.Modifiers.html" title="struct iced_runtime::keyboard::Modifiers">Modifiers</a>)</h3></section><div class="docblock"><p>The keyboard modifiers have changed.</p>
Expand Down
4 changes: 2 additions & 2 deletions iced_widget/button/struct.Button.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ <h2 id="example"><a class="doc-anchor" href="#example">§</a>Example</h2>
translation: Vector,
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Element&lt;'b, Message, Theme, Renderer&gt;&gt;</h4></section></summary><div class='docblock'>Returns the overlay of the [<code>Widget</code>], if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint" class="method trait-impl"><a href="#method.size_hint" class="anchor">§</a><h4 class="code-header">fn <a class="fn">size_hint</a>(&amp;self) -&gt; Size&lt;Length&gt;</h4></section></summary><div class='docblock'>Returns a [<code>Size</code>] hint for laying out the [<code>Widget</code>]. <a>Read more</a></div></details></div></details></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Freeze-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme, Renderer&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;<div class="where">where
&lt;Theme as <a class="trait" href="trait.Catalog.html" title="trait iced_widget::button::Catalog">Catalog</a>&gt;::<a class="associatedtype" href="trait.Catalog.html#associatedtype.Class" title="type iced_widget::button::Catalog::Class">Class</a>&lt;'a&gt;: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;Renderer, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section><section id="impl-Send-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Send-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;Renderer, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section><section id="impl-Sync-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Sync-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;Renderer, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section><section id="impl-Unpin-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Unpin-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme, Renderer&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;<div class="where">where
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a>,</div></h3></section><section id="impl-RefUnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-RefUnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;<a class="struct" href="../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a>, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section><section id="impl-Send-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Send-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;<a class="struct" href="../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a>, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section><section id="impl-Sync-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Sync-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;<a class="struct" href="../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a>, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section><section id="impl-Unpin-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-Unpin-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme, Renderer&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;<div class="where">where
&lt;Theme as <a class="trait" href="trait.Catalog.html" title="trait iced_widget::button::Catalog">Catalog</a>&gt;::<a class="associatedtype" href="trait.Catalog.html#associatedtype.Class" title="type iced_widget::button::Catalog::Class">Class</a>&lt;'a&gt;: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-UnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;Renderer, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#205-210">source</a><a href="#impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="anchor">§</a><h3 class="code-header">impl&lt;S, D, Swp, Dwp, T&gt; <a class="trait" href="https://docs.rs/palette/0.7.6/palette/chromatic_adaptation/trait.AdaptInto.html" title="trait palette::chromatic_adaptation::AdaptInto">AdaptInto</a>&lt;D, Swp, Dwp, T&gt; for S<div class="where">where
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a>,</div></h3></section><section id="impl-UnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="impl"><a href="#impl-UnwindSafe-for-Button%3C'a,+Message,+Theme,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl&lt;'a, Message, Theme = <a class="enum" href="../enum.Theme.html" title="enum iced_widget::Theme">Theme</a>, Renderer = <a class="enum" href="../../iced_renderer/fallback/enum.Renderer.html" title="enum iced_renderer::fallback::Renderer">Renderer</a>&lt;<a class="struct" href="../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a>, Renderer&gt;&gt; !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.Button.html" title="struct iced_widget::button::Button">Button</a>&lt;'a, Message, Theme, Renderer&gt;</h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#205-210">source</a><a href="#impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="anchor">§</a><h3 class="code-header">impl&lt;S, D, Swp, Dwp, T&gt; <a class="trait" href="https://docs.rs/palette/0.7.6/palette/chromatic_adaptation/trait.AdaptInto.html" title="trait palette::chromatic_adaptation::AdaptInto">AdaptInto</a>&lt;D, Swp, Dwp, T&gt; for S<div class="where">where
T: <a class="trait" href="https://docs.rs/palette/0.7.6/palette/num/trait.Real.html" title="trait palette::num::Real">Real</a> + <a class="trait" href="https://docs.rs/palette/0.7.6/palette/num/trait.Zero.html" title="trait palette::num::Zero">Zero</a> + <a class="trait" href="https://docs.rs/palette/0.7.6/palette/num/trait.Arithmetics.html" title="trait palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
Swp: <a class="trait" href="https://docs.rs/palette/0.7.6/palette/white_point/trait.WhitePoint.html" title="trait palette::white_point::WhitePoint">WhitePoint</a>&lt;T&gt;,
Dwp: <a class="trait" href="https://docs.rs/palette/0.7.6/palette/white_point/trait.WhitePoint.html" title="trait palette::white_point::WhitePoint">WhitePoint</a>&lt;T&gt;,
Expand Down
Loading

0 comments on commit 67adb1e

Please sign in to comment.