This commit is contained in:
wash2 2026-04-18 20:11:25 +00:00
commit 0fa87f2b35
16382 changed files with 734838 additions and 0 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +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="Track the cursor of a text input."><title>cosmic::widget::text_input::cursor - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module cursor</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="#enums" title="Enums">Enums</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">cosmic</a>::<wbr><a href="../../index.html">widget</a>::<wbr><a href="../index.html">text_input</a></div><h1>Module <span>cursor</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/cosmic/widget/text_input/cursor.rs.html#5-233">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Track the cursor of a text input.</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Cursor.html" title="struct cosmic::widget::text_input::cursor::Cursor">Cursor</a></dt><dd>The cursor of a text input.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.State.html" title="enum cosmic::widget::text_input::cursor::State">State</a></dt><dd>The state of a <a href="struct.Cursor.html" title="struct cosmic::widget::text_input::cursor::Cursor"><code>Cursor</code></a>.</dd></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["State"],"struct":["Cursor"]};

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
<!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="API documentation for the Rust `editor` mod in crate `cosmic`."><title>cosmic::widget::text_input::editor - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module editor</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">cosmic</a>::<wbr><a href="../../index.html">widget</a>::<wbr><a href="../index.html">text_input</a></div><h1>Module <span>editor</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/cosmic/widget/text_input/editor.rs.html#5-71">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Editor.html" title="struct cosmic::widget::text_input::editor::Editor">Editor</a></dt></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["Editor"]};

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,28 @@
<!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="Draws the `TextInput` with the given `Renderer`, overriding its `Value` if provided."><title>draw in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">draw</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/cosmic/widget/text_input/input.rs.html#2413-2838">Source</a> </span></div><pre class="rust item-decl"><code>pub fn draw&lt;'a, Message&gt;(
renderer: &amp;mut <a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
theme: &amp;<a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
text_layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
cursor_position: <a class="enum" href="../../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
tree: &amp;<a class="struct" href="../../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
value: &amp;<a class="struct" href="value/struct.Value.html" title="struct cosmic::widget::text_input::value::Value">Value</a>,
placeholder: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
size: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;,
font: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&lt;<a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a> as <a class="trait" href="../../iced/daemon/program/graphics/core/text/trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::core::text::Renderer">Renderer</a>&gt;::<a class="associatedtype" href="../../iced/daemon/program/graphics/core/text/trait.Renderer.html#associatedtype.Font" title="type cosmic::iced::daemon::program::graphics::core::text::Renderer::Font">Font</a>&gt;,
is_disabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
is_secure: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
icon: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../../iced/daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element">Element</a>&lt;'a, Message, <a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, <a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>&gt;&gt;,
trailing_icon: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="../../iced/daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element">Element</a>&lt;'a, Message, <a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, <a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>&gt;&gt;,
style: &amp;&lt;<a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a> as <a class="trait" href="trait.StyleSheet.html" title="trait cosmic::widget::text_input::StyleSheet">StyleSheet</a>&gt;::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>,
dnd_icon: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
line_height: <a class="enum" href="../../iced/widget/text/enum.LineHeight.html" title="enum cosmic::iced::widget::text::LineHeight">LineHeight</a>,
error: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;,
label: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;,
helper_text: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;,
helper_text_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
helper_line_height: <a class="enum" href="../../iced/widget/text/enum.LineHeight.html" title="enum cosmic::iced::widget::text::LineHeight">LineHeight</a>,
viewport: &amp;<a class="struct" href="../../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
renderer_style: &amp;<a class="struct" href="../../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Draws the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../../iced/daemon/program/graphics/core/text/trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::core::text::Renderer"><code>Renderer</code></a>, overriding its
<a href="value/struct.Value.html" title="struct cosmic::widget::text_input::value::Value"><code>Value</code></a> if provided.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,7 @@
<!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="A text label which can transform into a text input on activation."><title>editable_input in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">editable_input</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/cosmic/widget/text_input/input.rs.html#64-84">Source</a> </span></div><pre class="rust item-decl"><code>pub fn editable_input&lt;'a, Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static&gt;(
placeholder: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
text: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
editing: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
on_toggle_edit: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Message + 'a,
) -&gt; <a class="struct" href="../struct.TextInput.html" title="struct cosmic::widget::TextInput">TextInput</a>&lt;'a, Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A text label which can transform into a text input on activation.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +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="Produces a `Task` that focuses the `TextInput` with the given `Id`."><title>focus in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">focus</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/cosmic/widget/text_input/input.rs.html#1156-1158">Source</a> </span></div><pre class="rust item-decl"><code>pub fn focus&lt;Message: 'static&gt;(id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that focuses the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,6 @@
<!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="Creates a new inline `TextInput`."><title>inline_input in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">inline_input</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/cosmic/widget/text_input/input.rs.html#157-169">Source</a> </span></div><pre class="rust item-decl"><code>pub fn inline_input&lt;'a, Message&gt;(
placeholder: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
value: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
) -&gt; <a class="struct" href="../struct.TextInput.html" title="struct cosmic::widget::TextInput">TextInput</a>&lt;'a, Message&gt;<div class="where">where
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a new inline <a href="widget::TextInput"><code>TextInput</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,17 @@
<!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 layout of a `TextInput`."><title>layout in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">layout</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/cosmic/widget/text_input/input.rs.html#1209-1402">Source</a> </span></div><pre class="rust item-decl"><code>pub fn layout&lt;Message&gt;(
renderer: &amp;<a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
limits: &amp;<a class="struct" href="../../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
width: <a class="enum" href="../../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>,
padding: <a class="struct" href="../../iced/struct.Padding.html" title="struct cosmic::iced::Padding">Padding</a>,
size: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>&gt;,
leading_icon: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="struct" href="../../iced/daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element">Element</a>&lt;'_, Message, <a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, <a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>&gt;&gt;,
trailing_icon: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;mut <a class="struct" href="../../iced/daemon/program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element">Element</a>&lt;'_, Message, <a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, <a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>&gt;&gt;,
line_height: <a class="enum" href="../../iced/widget/text/enum.LineHeight.html" title="enum cosmic::iced::widget::text::LineHeight">LineHeight</a>,
label: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;,
helper_text: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;,
helper_text_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
helper_text_line_height: <a class="enum" href="../../iced/widget/text/enum.LineHeight.html" title="enum cosmic::iced::widget::text::LineHeight">LineHeight</a>,
font: <a class="struct" href="../../font/struct.Font.html" title="struct cosmic::font::Font">Font</a>,
tree: &amp;mut <a class="struct" href="../../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
) -&gt; <a class="struct" href="../../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node">Node</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Computes the layout of a <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,6 @@
<!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 cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">mouse_interaction</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/cosmic/widget/text_input/input.rs.html#2842-2856">Source</a> </span></div><pre class="rust item-decl"><code>pub fn mouse_interaction(
layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
cursor_position: <a class="enum" href="../../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
is_disabled: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
) -&gt; <a class="enum" href="../../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Computes the current <a href="../../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,6 @@
<!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="Produces a `Task` that moves the cursor of the `TextInput` with the given `Id` to the provided position."><title>move_cursor_to in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">move_cursor_to</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/cosmic/widget/text_input/input.rs.html#1178-1182">Source</a> </span></div><pre class="rust item-decl"><code>pub fn move_cursor_to&lt;Message: 'static&gt;(
id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>,
position: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,
) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that moves the cursor of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a> to the
provided position.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +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="Produces a `Task` that moves the cursor of the `TextInput` with the given `Id` to the end."><title>move_cursor_to_end in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">move_cursor_to_end</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/cosmic/widget/text_input/input.rs.html#1162-1166">Source</a> </span></div><pre class="rust item-decl"><code>pub fn move_cursor_to_end&lt;Message: 'static&gt;(id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that moves the cursor of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a> to the
end.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +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="Produces a `Task` that moves the cursor of the `TextInput` with the given `Id` to the front."><title>move_cursor_to_front in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">move_cursor_to_front</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/cosmic/widget/text_input/input.rs.html#1170-1174">Source</a> </span></div><pre class="rust item-decl"><code>pub fn move_cursor_to_front&lt;Message: 'static&gt;(id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that moves the cursor of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a> to the
front.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,6 @@
<!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="Creates a new search `TextInput`."><title>search_input in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">search_input</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/cosmic/widget/text_input/input.rs.html#89-108">Source</a> </span></div><pre class="rust item-decl"><code>pub fn search_input&lt;'a, Message&gt;(
placeholder: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
value: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
) -&gt; <a class="struct" href="../struct.TextInput.html" title="struct cosmic::widget::TextInput">TextInput</a>&lt;'a, Message&gt;<div class="where">where
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a new search <a href="widget::TextInput"><code>TextInput</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,8 @@
<!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="Creates a new secure `TextInput`."><title>secure_input in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">secure_input</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/cosmic/widget/text_input/input.rs.html#112-152">Source</a> </span></div><pre class="rust item-decl"><code>pub fn secure_input&lt;'a, Message&gt;(
placeholder: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
value: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
on_visible_toggle: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Message&gt;,
hidden: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
) -&gt; <a class="struct" href="../struct.TextInput.html" title="struct cosmic::widget::TextInput">TextInput</a>&lt;'a, Message&gt;<div class="where">where
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a new secure <a href="widget::TextInput"><code>TextInput</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +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="Produces a `Task` that selects all the content of the `TextInput` with the given `Id`."><title>select_all in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">select_all</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/cosmic/widget/text_input/input.rs.html#1185-1187">Source</a> </span></div><pre class="rust item-decl"><code>pub fn select_all&lt;Message: 'static&gt;(id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that selects all the content of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,7 @@
<!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="Produces a `Task` that selects a range of the content of the `TextInput` with the given `Id`."><title>select_range in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">select_range</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/cosmic/widget/text_input/input.rs.html#1191-1195">Source</a> </span></div><pre class="rust item-decl"><code>pub fn select_range&lt;Message: 'static&gt;(
id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>,
start: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,
end: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,
) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that selects a range of the content of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given
<a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,7 @@
<!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="Produces a `Task` that selects from the front to the last occurrence of the given character in the `TextInput` with the given `Id`, or selects all if not found."><title>select_until_last in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">select_until_last</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/cosmic/widget/text_input/input.rs.html#1199-1203">Source</a> </span></div><pre class="rust item-decl"><code>pub fn select_until_last&lt;Message: 'static&gt;(
id: <a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>,
value: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>,
ch: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.char.html">char</a>,
) -&gt; <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a>&lt;Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that selects from the front to the last occurrence of the given character
in the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>, or selects all if not found.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,6 @@
<!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="Creates a new `TextInput`."><title>text_input in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">text_input</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/cosmic/widget/text_input/input.rs.html#53-61">Source</a> </span></div><pre class="rust item-decl"><code>pub fn text_input&lt;'a, Message&gt;(
placeholder: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
value: 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="enum" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/enum.Cow.html" title="enum cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Cow">Cow</a>&lt;'a, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;&gt;,
) -&gt; <a class="struct" href="../struct.TextInput.html" title="struct cosmic::widget::TextInput">TextInput</a>&lt;'a, Message&gt;<div class="where">where
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Creates a new <a href="widget::TextInput"><code>TextInput</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,31 @@
<!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="Processes an `Event` and updates the `State` of a `TextInput` accordingly."><title>update in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Function <span class="fn">update</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/cosmic/widget/text_input/input.rs.html#1412-2368">Source</a> </span></div><pre class="rust item-decl"><code>pub fn update&lt;'a, Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static&gt;(
id: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../struct.Id.html" title="struct cosmic::widget::Id">Id</a>&gt;,
event: &amp;<a class="enum" href="../../iced/enum.Event.html" title="enum cosmic::iced::Event">Event</a>,
text_layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
edit_button_layout: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;&gt;,
cursor: <a class="enum" href="../../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
clipboard: &amp;mut dyn <a class="trait" href="../../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
shell: &amp;mut <a class="struct" href="../../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a>&lt;'_, Message&gt;,
value: &amp;mut <a class="struct" href="value/struct.Value.html" title="struct cosmic::widget::text_input::value::Value">Value</a>,
size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
font: &lt;<a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a> as <a class="trait" href="../../iced/daemon/program/graphics/core/text/trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::core::text::Renderer">Renderer</a>&gt;::<a class="associatedtype" href="../../iced/daemon/program/graphics/core/text/trait.Renderer.html#associatedtype.Font" title="type cosmic::iced::daemon::program::graphics::core::text::Renderer::Font">Font</a>,
is_editable_variant: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
is_secure: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
on_focus: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Message</a>&gt;,
on_unfocus: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Message</a>&gt;,
on_input: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/string/struct.String.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::string::String">String</a>) -&gt; Message&gt;,
on_paste: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/string/struct.String.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::string::String">String</a>) -&gt; Message&gt;,
on_submit: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/string/struct.String.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::string::String">String</a>) -&gt; Message&gt;,
on_tab: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;Message</a>&gt;,
on_toggle_edit: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -&gt; Message&gt;,
state: impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>() -&gt; &amp;'a mut <a class="struct" href="struct.State.html" title="struct cosmic::widget::text_input::State">State</a>,
on_start_dnd_source: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(<a class="struct" href="struct.State.html" title="struct cosmic::widget::text_input::State">State</a>) -&gt; Message&gt;,
dnd_id: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u128.html">u128</a>,
line_height: <a class="enum" href="../../iced/widget/text/enum.LineHeight.html" title="enum cosmic::iced::widget::text::LineHeight">LineHeight</a>,
layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
manage_value: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
drag_threshold: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
always_active: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
)</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Processes an <a href="../../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a> and updates the <a href="struct.State.html" title="struct cosmic::widget::text_input::State"><code>State</code></a> of a <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>
accordingly.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,9 @@
<!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="A text input widget from iced widgets plus some added details."><title>cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module text_<wbr>input</a></h2><h3><a href="#reexports">Module Items</a></h3><ul class="block"><li><a href="#reexports" title="Re-exports">Re-exports</a></li><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a></div><h1>Module <span>text_input</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/cosmic/widget/text_input/mod.rs.html#5-15">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A text input widget from iced widgets plus some added details.</p>
</div></details><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.Style"><code>pub use crate::theme::<a class="enum" href="../../style/enum.TextInput.html" title="enum cosmic::style::TextInput">TextInput</a> as Style;</code></dt><dt id="reexport.Cursor"><code>pub use super::cursor::<a class="struct" href="cursor/struct.Cursor.html" title="struct cosmic::widget::text_input::cursor::Cursor">Cursor</a>;</code></dt><dt id="reexport.Value"><code>pub use super::value::<a class="struct" href="value/struct.Value.html" title="struct cosmic::widget::text_input::value::Value">Value</a>;</code></dt></dl><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="cursor/index.html" title="mod cosmic::widget::text_input::cursor">cursor</a></dt><dd>Track the cursor of a text input.</dd><dt><a class="mod" href="editor/index.html" title="mod cosmic::widget::text_input::editor">editor</a></dt><dt><a class="mod" href="value/index.html" title="mod cosmic::widget::text_input::value">value</a></dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></dt><dd>The appearance of a text input.</dd><dt><a class="struct" href="struct.State.html" title="struct cosmic::widget::text_input::State">State</a></dt><dd>The state of a <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="struct" href="struct.TextInput.html" title="struct cosmic::widget::text_input::TextInput">Text<wbr>Input</a></dt><dd>A field that can be filled with text.</dd><dt><a class="struct" href="struct.TextInputString.html" title="struct cosmic::widget::text_input::TextInputString">Text<wbr>Input<wbr>String</a></dt><dd>A string which can be sent to the clipboard or drag-and-dropped.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.StyleSheet.html" title="trait cosmic::widget::text_input::StyleSheet">Style<wbr>Sheet</a></dt><dd>A set of rules that dictate the style of a text input.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.draw.html" title="fn cosmic::widget::text_input::draw">draw</a></dt><dd>Draws the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../../iced/daemon/program/graphics/core/text/trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::core::text::Renderer"><code>Renderer</code></a>, overriding its
<a href="value/struct.Value.html" title="struct cosmic::widget::text_input::value::Value"><code>Value</code></a> if provided.</dd><dt><a class="fn" href="fn.editable_input.html" title="fn cosmic::widget::text_input::editable_input">editable_<wbr>input</a></dt><dd>A text label which can transform into a text input on activation.</dd><dt><a class="fn" href="fn.focus.html" title="fn cosmic::widget::text_input::focus">focus</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that focuses the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>.</dd><dt><a class="fn" href="fn.inline_input.html" title="fn cosmic::widget::text_input::inline_input">inline_<wbr>input</a></dt><dd>Creates a new inline <a href="widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.layout.html" title="fn cosmic::widget::text_input::layout">layout</a></dt><dd>Computes the layout of a <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.mouse_interaction.html" title="fn cosmic::widget::text_input::mouse_interaction">mouse_<wbr>interaction</a></dt><dd>Computes the current <a href="../../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.move_cursor_to.html" title="fn cosmic::widget::text_input::move_cursor_to">move_<wbr>cursor_<wbr>to</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that moves the cursor of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a> to the
provided position.</dd><dt><a class="fn" href="fn.move_cursor_to_end.html" title="fn cosmic::widget::text_input::move_cursor_to_end">move_<wbr>cursor_<wbr>to_<wbr>end</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that moves the cursor of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a> to the
end.</dd><dt><a class="fn" href="fn.move_cursor_to_front.html" title="fn cosmic::widget::text_input::move_cursor_to_front">move_<wbr>cursor_<wbr>to_<wbr>front</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that moves the cursor of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a> to the
front.</dd><dt><a class="fn" href="fn.search_input.html" title="fn cosmic::widget::text_input::search_input">search_<wbr>input</a></dt><dd>Creates a new search <a href="widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.secure_input.html" title="fn cosmic::widget::text_input::secure_input">secure_<wbr>input</a></dt><dd>Creates a new secure <a href="widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.select_all.html" title="fn cosmic::widget::text_input::select_all">select_<wbr>all</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that selects all the content of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>.</dd><dt><a class="fn" href="fn.select_range.html" title="fn cosmic::widget::text_input::select_range">select_<wbr>range</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that selects a range of the content of the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given
<a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>.</dd><dt><a class="fn" href="fn.select_until_last.html" title="fn cosmic::widget::text_input::select_until_last">select_<wbr>until_<wbr>last</a></dt><dd>Produces a <a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that selects from the front to the last occurrence of the given character
in the <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a> with the given <a href="../struct.Id.html" title="struct cosmic::widget::Id"><code>Id</code></a>, or selects all if not found.</dd><dt><a class="fn" href="fn.text_input.html" title="fn cosmic::widget::text_input::text_input">text_<wbr>input</a></dt><dd>Creates a new <a href="widget::TextInput"><code>TextInput</code></a>.</dd><dt><a class="fn" href="fn.update.html" title="fn cosmic::widget::text_input::update">update</a></dt><dd>Processes an <a href="../../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a> and updates the <a href="struct.State.html" title="struct cosmic::widget::text_input::State"><code>State</code></a> of a <a href="../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>
accordingly.</dd></dl></section></div></main></body></html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.draw.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.draw.html">../../../../cosmic/widget/text_input/fn.draw.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.draw.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/fn.editable_input.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/fn.editable_input.html">../../../../cosmic/widget/fn.editable_input.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/fn.editable_input.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.focus.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.focus.html">../../../../cosmic/widget/text_input/fn.focus.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.focus.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/fn.inline_input.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/fn.inline_input.html">../../../../cosmic/widget/fn.inline_input.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/fn.inline_input.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.layout.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.layout.html">../../../../cosmic/widget/text_input/fn.layout.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.layout.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.mouse_interaction.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.mouse_interaction.html">../../../../cosmic/widget/text_input/fn.mouse_interaction.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.mouse_interaction.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.move_cursor_to.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.move_cursor_to.html">../../../../cosmic/widget/text_input/fn.move_cursor_to.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.move_cursor_to.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.move_cursor_to_end.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.move_cursor_to_end.html">../../../../cosmic/widget/text_input/fn.move_cursor_to_end.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.move_cursor_to_end.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.move_cursor_to_front.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.move_cursor_to_front.html">../../../../cosmic/widget/text_input/fn.move_cursor_to_front.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.move_cursor_to_front.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/fn.search_input.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/fn.search_input.html">../../../../cosmic/widget/fn.search_input.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/fn.search_input.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/fn.secure_input.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/fn.secure_input.html">../../../../cosmic/widget/fn.secure_input.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/fn.secure_input.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.select_all.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.select_all.html">../../../../cosmic/widget/text_input/fn.select_all.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.select_all.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.select_range.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.select_range.html">../../../../cosmic/widget/text_input/fn.select_range.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.select_range.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.select_until_last.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.select_until_last.html">../../../../cosmic/widget/text_input/fn.select_until_last.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.select_until_last.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/fn.text_input.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/fn.text_input.html">../../../../cosmic/widget/fn.text_input.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/fn.text_input.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/fn.update.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/fn.update.html">../../../../cosmic/widget/text_input/fn.update.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/fn.update.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/struct.State.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/struct.State.html">../../../../cosmic/widget/text_input/struct.State.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/struct.State.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/struct.TextInput.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/struct.TextInput.html">../../../../cosmic/widget/struct.TextInput.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/struct.TextInput.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/struct.TextInputString.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/struct.TextInputString.html">../../../../cosmic/widget/text_input/struct.TextInputString.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/struct.TextInputString.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["draw","editable_input","focus","inline_input","layout","mouse_interaction","move_cursor_to","move_cursor_to_end","move_cursor_to_front","search_input","secure_input","select_all","select_range","select_until_last","text_input","update"],"mod":["cursor","editor","value"],"struct":["Appearance","State","TextInput","TextInputString"],"trait":["StyleSheet"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/struct.Appearance.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/struct.Appearance.html">../../../../cosmic/widget/text_input/struct.Appearance.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/struct.Appearance.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../../cosmic/widget/text_input/trait.StyleSheet.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/text_input/trait.StyleSheet.html">../../../../cosmic/widget/text_input/trait.StyleSheet.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/text_input/trait.StyleSheet.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1,19 @@
<!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="A set of rules that dictate the style of a text input."><title>StyleSheet in cosmic::widget::text_input - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Style<wbr>Sheet</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Style" title="Style">Style</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.active" title="active">active</a></li><li><a href="#tymethod.disabled" title="disabled">disabled</a></li><li><a href="#tymethod.error" title="error">error</a></li><li><a href="#tymethod.focused" title="focused">focused</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.hovered" title="hovered">hovered</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../index.html">cosmic</a>::<wbr><a href="../index.html">widget</a>::<wbr><a href="index.html">text_input</a></div><h1>Trait <span class="trait">StyleSheet</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/cosmic/widget/text_input/style.rs.html#37-57">Source</a> </span></div><pre class="rust item-decl"><code>pub trait StyleSheet {
type <a href="#associatedtype.Style" class="associatedtype">Style</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>;
// Required methods
fn <a href="#tymethod.active" class="fn">active</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.error" class="fn">error</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.focused" class="fn">focused</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.disabled" class="fn">disabled</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a>;
// Provided method
fn <a href="#method.hovered" class="fn">hovered</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a> { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A set of rules that dictate the style of a text input.</p>
</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.Style" class="method"><a class="src rightside" href="../../../src/cosmic/widget/text_input/style.rs.html#39">Source</a><h4 class="code-header">type <a href="#associatedtype.Style" class="associatedtype">Style</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a></h4></section></summary><div class="docblock"><p>The supported style of the <a href="trait.StyleSheet.html" title="trait cosmic::widget::text_input::StyleSheet"><code>StyleSheet</code></a>.</p>
</div></details></div><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.active" class="method"><a class="src rightside" href="../../../src/cosmic/widget/text_input/style.rs.html#42">Source</a><h4 class="code-header">fn <a href="#tymethod.active" class="fn">active</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Produces the style of an active text input.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.error" class="method"><a class="src rightside" href="../../../src/cosmic/widget/text_input/style.rs.html#45">Source</a><h4 class="code-header">fn <a href="#tymethod.error" class="fn">error</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Produces the style of an errored text input.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.focused" class="method"><a class="src rightside" href="../../../src/cosmic/widget/text_input/style.rs.html#48">Source</a><h4 class="code-header">fn <a href="#tymethod.focused" class="fn">focused</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Produces the style of a focused text input.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.disabled" class="method"><a class="src rightside" href="../../../src/cosmic/widget/text_input/style.rs.html#56">Source</a><h4 class="code-header">fn <a href="#tymethod.disabled" class="fn">disabled</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Produces the style of a disabled text input.</p>
</div></details></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="method.hovered" class="method"><a class="src rightside" href="../../../src/cosmic/widget/text_input/style.rs.html#51-53">Source</a><h4 class="code-header">fn <a href="#method.hovered" class="fn">hovered</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Produces the style of an hovered text input.</p>
</div></details></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-StyleSheet-for-Theme" class="impl"><a class="src rightside" href="../../../src/cosmic/theme/style/text_input.rs.html#28-368">Source</a><a href="#impl-StyleSheet-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.StyleSheet.html" title="trait cosmic::widget::text_input::StyleSheet">StyleSheet</a> for <a class="struct" href="../../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Style-1" class="associatedtype trait-impl"><a class="src rightside" href="../../../src/cosmic/theme/style/text_input.rs.html#29">Source</a><a href="#associatedtype.Style-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Style" class="associatedtype">Style</a> = <a class="enum" href="../../style/enum.TextInput.html" title="enum cosmic::style::TextInput">TextInput</a></h4></section></div></details></div><script src="../../../trait.impl/cosmic/widget/text_input/style/trait.StyleSheet.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1 @@
<!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="API documentation for the Rust `value` mod in crate `cosmic`."><title>cosmic::widget::text_input::value - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.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-9960930a.css"><link rel="stylesheet" href="../../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../../" data-static-root-path="../../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../../static.files/storage-68b7e25d.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.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></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module value</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget::<wbr>text_<wbr>input</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../../../index.html">cosmic</a>::<wbr><a href="../../index.html">widget</a>::<wbr><a href="../index.html">text_input</a></div><h1>Module <span>value</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/cosmic/widget/text_input/value.rs.html#5-173">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Value.html" title="struct cosmic::widget::text_input::value::Value">Value</a></dt><dd>The value of a <a href="../../struct.TextInput.html" title="struct cosmic::widget::TextInput"><code>TextInput</code></a>.</dd></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["Value"]};

File diff suppressed because one or more lines are too long