Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jan 12, 2024
1 parent e21044d commit 09bc2ab
Show file tree
Hide file tree
Showing 17 changed files with 89 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,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#1333">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#1341">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 @@ -10,5 +10,5 @@
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.move_cursor_to_end" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/text_input.rs.html#11">source</a><h4 class="code-header">fn <a href="#tymethod.move_cursor_to_end" class="fn">move_cursor_to_end</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Moves the cursor of the text input to the end of the input text.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.move_cursor_to" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/text_input.rs.html#13">source</a><h4 class="code-header">fn <a href="#tymethod.move_cursor_to" class="fn">move_cursor_to</a>(&amp;mut self, position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</h4></section></summary><div class="docblock"><p>Moves the cursor of the text input to an arbitrary location.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.select_all" class="method"><a class="src rightside" href="../../../../../src/iced_core/widget/operation/text_input.rs.html#15">source</a><h4 class="code-header">fn <a href="#tymethod.select_all" class="fn">select_all</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Selects all the content of the text input.</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-TextInput-for-State%3CP%3E" class="impl"><a class="src rightside" href="../../../../../src/iced_widget/text_input.rs.html#1347">source</a><a href="#impl-TextInput-for-State%3CP%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P&gt; <a class="trait" href="../trait.TextInput.html" title="trait iced::advanced::widget::operation::TextInput">TextInput</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-TextInput-for-State%3CP%3E" class="impl"><a class="src rightside" href="../../../../../src/iced_widget/text_input.rs.html#1355">source</a><a href="#impl-TextInput-for-State%3CP%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P&gt; <a class="trait" href="../trait.TextInput.html" title="trait iced::advanced::widget::operation::TextInput">TextInput</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/text_input/trait.TextInput.js" data-ignore-extern-crates="iced_widget" async></script></section></div></main></body></html>
2 changes: 1 addition & 1 deletion iced/advanced/widget/operation/trait.Focusable.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,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#1333">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#1341">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>
2 changes: 1 addition & 1 deletion iced/advanced/widget/operation/trait.TextInput.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.move_cursor_to_end" class="method"><a class="src rightside" href="../../../../src/iced_core/widget/operation/text_input.rs.html#11">source</a><h4 class="code-header">fn <a href="#tymethod.move_cursor_to_end" class="fn">move_cursor_to_end</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Moves the cursor of the text input to the end of the input text.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.move_cursor_to" class="method"><a class="src rightside" href="../../../../src/iced_core/widget/operation/text_input.rs.html#13">source</a><h4 class="code-header">fn <a href="#tymethod.move_cursor_to" class="fn">move_cursor_to</a>(&amp;mut self, position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</h4></section></summary><div class="docblock"><p>Moves the cursor of the text input to an arbitrary location.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.select_all" class="method"><a class="src rightside" href="../../../../src/iced_core/widget/operation/text_input.rs.html#15">source</a><h4 class="code-header">fn <a href="#tymethod.select_all" class="fn">select_all</a>(&amp;mut self)</h4></section></summary><div class="docblock"><p>Selects all the content of the text input.</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-TextInput-for-State%3CP%3E" class="impl"><a class="src rightside" href="../../../../src/iced_widget/text_input.rs.html#1347">source</a><a href="#impl-TextInput-for-State%3CP%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P&gt; <a class="trait" href="trait.TextInput.html" title="trait iced::advanced::widget::operation::TextInput">TextInput</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-TextInput-for-State%3CP%3E" class="impl"><a class="src rightside" href="../../../../src/iced_widget/text_input.rs.html#1355">source</a><a href="#impl-TextInput-for-State%3CP%3E" class="anchor">§</a><h3 class="code-header">impl&lt;P&gt; <a class="trait" href="trait.TextInput.html" title="trait iced::advanced::widget::operation::TextInput">TextInput</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/text_input/trait.TextInput.js" data-ignore-extern-crates="iced_widget" async></script></section></div></main></body></html>
2 changes: 1 addition & 1 deletion iced/widget/text_input/fn.mouse_interaction.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!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="Computes the current `mouse::Interaction` of the `TextInput`."><title>mouse_interaction in iced::widget::text_input - 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-4e54bb2b497cc83f.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.77.0-nightly (62d7ed4a6 2024-01-11)" data-channel="nightly" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-0b2e2def73e61cbe.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-04d5337699b92874.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 fn"><!--[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/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.12.0</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iced::widget::text_input</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../iced/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../../help.html" title="help">?</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>Function <a href="../../index.html">iced</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a>::<wbr><a class="fn" href="#">mouse_interaction</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_widget/text_input.rs.html#1225-1229">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn mouse_interaction(
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../../iced/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../../help.html" title="help">?</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>Function <a href="../../index.html">iced</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a>::<wbr><a class="fn" href="#">mouse_interaction</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_widget/text_input.rs.html#1233-1237">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn mouse_interaction(
layout: <a class="struct" href="../../advanced/struct.Layout.html" title="struct iced::advanced::Layout">Layout</a>&lt;'_&gt;,
cursor: <a class="enum" href="../../mouse/enum.Cursor.html" title="enum iced::mouse::Cursor">Cursor</a>,
is_disabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>
Expand Down
Loading

0 comments on commit 09bc2ab

Please sign in to comment.