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

View file

@ -0,0 +1,18 @@
<!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 a `Dropdown`."><title>draw in cosmic::widget::dropdown - 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>dropdown</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">dropdown</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/dropdown/widget.rs.html#863-953">Source</a> </span></div><pre class="rust item-decl"><code>pub fn draw&lt;'a, S&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;,
cursor: <a class="enum" href="../../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
gap: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
padding: <a class="struct" href="../../iced/struct.Padding.html" title="struct cosmic::iced::Padding">Padding</a>,
text_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;,
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>,
selected: <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;'a S</a>&gt;,
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 <a class="struct" href="../icon/struct.Handle.html" title="struct cosmic::widget::icon::Handle">Handle</a>&gt;,
placeholder: <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 <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;,
state: &amp;'a <a class="struct" href="struct.State.html" title="struct cosmic::widget::dropdown::State">State</a>,
viewport: &amp;<a class="struct" href="../../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
)<div class="where">where
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; + 'a,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Draws a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</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="Displays a list of options in a popover menu on select."><title>dropdown in cosmic::widget::dropdown - 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>dropdown</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">dropdown</a></div><h1>Function <span class="fn">dropdown</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/dropdown/mod.rs.html#23-33">Source</a> </span></div><pre class="rust item-decl"><code>pub fn dropdown&lt;'a, S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static, Message: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt;(
selections: 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.slice.html">[S]</a>&gt;&gt;,
selected: <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.usize.html">usize</a>&gt;,
on_selected: 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.usize.html">usize</a>) -&gt; Message + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
) -&gt; <a class="struct" href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown">Dropdown</a>&lt;'a, S, Message, Message&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Displays a list of options in a popover menu on select.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,14 @@
<!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 `Dropdown`."><title>layout in cosmic::widget::dropdown - 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>dropdown</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">dropdown</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/dropdown/widget.rs.html#454-533">Source</a> </span></div><pre class="rust item-decl"><code>pub fn layout(
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>,
gap: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
padding: <a class="struct" href="../../iced/struct.Padding.html" title="struct cosmic::iced::Padding">Padding</a>,
text_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
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="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="../../font/struct.Font.html" title="struct cosmic::font::Font">Font</a>&gt;,
selection: <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>, &amp;mut <a class="struct" href="../../iced/daemon/program/graphics/core/text/paragraph/struct.Plain.html" title="struct cosmic::iced::daemon::program::graphics::core::text::paragraph::Plain">Plain</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.Paragraph" title="type cosmic::iced::daemon::program::graphics::core::text::Renderer::Paragraph">Paragraph</a>&gt;)&gt;,
placeholder: <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;,
has_icons: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</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.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,14 @@
<!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="Returns the current menu widget of a `Dropdown`."><title>menu_widget in cosmic::widget::dropdown - 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>dropdown</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">dropdown</a></div><h1>Function <span class="fn">menu_widget</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/dropdown/widget.rs.html#732-790">Source</a> </span></div><pre class="rust item-decl"><code>pub fn menu_widget&lt;S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static, Message: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt;(
bounds: <a class="struct" href="../../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
state: &amp;<a class="struct" href="struct.State.html" title="struct cosmic::widget::dropdown::State">State</a>,
gap: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
padding: <a class="struct" href="../../iced/struct.Padding.html" title="struct cosmic::iced::Padding">Padding</a>,
text_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
selections: <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;'static, <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[S]</a>&gt;,
icons: <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;'static, [<a class="struct" href="../icon/struct.Handle.html" title="struct cosmic::widget::icon::Handle">Handle</a>]&gt;,
selected_option: <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.usize.html">usize</a>&gt;,
on_selected: <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;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.usize.html">usize</a>) -&gt; Message + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;,
close_on_selected: <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;,
) -&gt; <a class="type" href="../../type.Element.html" title="type cosmic::Element">Element</a>&lt;'static, Message&gt;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[S]</a>: <a class="trait" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::ToOwned">ToOwned</a>,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>winit</code> and crate feature <code>wayland</code> and Linux</strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the current menu widget of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</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="Returns the current `mouse::Interaction` of a `Dropdown`."><title>mouse_interaction in cosmic::widget::dropdown - 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>dropdown</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">dropdown</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/dropdown/widget.rs.html#718-727">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: <a class="enum" href="../../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</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>Returns the current <a href="../../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,18 @@
<!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="Returns the current overlay of a `Dropdown`."><title>overlay in cosmic::widget::dropdown - 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>dropdown</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">dropdown</a></div><h1>Function <span class="fn">overlay</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/dropdown/widget.rs.html#794-859">Source</a> </span></div><pre class="rust item-decl"><code>pub fn overlay&lt;'a, S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static, Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'a&gt;(
layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
_renderer: &amp;<a class="type" href="../../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
state: &amp;'a mut <a class="struct" href="struct.State.html" title="struct cosmic::widget::dropdown::State">State</a>,
gap: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
padding: <a class="struct" href="../../iced/struct.Padding.html" title="struct cosmic::iced::Padding">Padding</a>,
text_size: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
_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="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="../../font/struct.Font.html" title="struct cosmic::font::Font">Font</a>&gt;,
selections: &amp;'a <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[S]</a>,
icons: &amp;'a [<a class="struct" href="../icon/struct.Handle.html" title="struct cosmic::widget::icon::Handle">Handle</a>],
selected_option: <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.usize.html">usize</a>&gt;,
on_selected: &amp;'a 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.usize.html">usize</a>) -&gt; Message,
translation: <a class="struct" href="../../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
close_on_selected: <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;,
) -&gt; <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/daemon/program/graphics/core/overlay/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::overlay::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;<div class="where">where
<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[S]</a>: <a class="trait" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::ToOwned">ToOwned</a>,</div></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the current overlay of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,10 @@
<!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="Displays a list of options in a popover menu on select. AppMessage must be the Apps toplevel message."><title>popup_dropdown in cosmic::widget::dropdown - 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>dropdown</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">dropdown</a></div><h1>Function <span class="fn">popup_dropdown</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/dropdown/mod.rs.html#37-57">Source</a> </span></div><pre class="rust item-decl"><code>pub fn popup_dropdown&lt;'a, S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static, Message: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, AppMessage: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>&gt;(
selections: 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.slice.html">[S]</a>&gt;&gt;,
selected: <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.usize.html">usize</a>&gt;,
on_selected: 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.usize.html">usize</a>) -&gt; Message + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
_parent_id: <a class="struct" href="../../iced/window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>,
_on_surface_action: 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="enum" href="../../surface/enum.Action.html" title="enum cosmic::surface::Action">Action</a>) -&gt; Message + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
_map_action: 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>(Message) -&gt; AppMessage + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,
) -&gt; <a class="struct" href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown">Dropdown</a>&lt;'a, S, Message, AppMessage&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Displays a list of options in a popover menu on select.
AppMessage must be the Apps toplevel message.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,22 @@
<!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 `Dropdown` accordingly."><title>update in cosmic::widget::dropdown - 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>dropdown</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">dropdown</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/dropdown/widget.rs.html#538-714">Source</a> </span></div><pre class="rust item-decl"><code>pub fn update&lt;'a, S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static, Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static, AppMessage: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static&gt;(
event: &amp;<a class="enum" href="../../iced/enum.Event.html" title="enum cosmic::iced::Event">Event</a>,
layout: <a class="struct" href="../../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a>&lt;'_&gt;,
cursor: <a class="enum" href="../../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
shell: &amp;mut <a class="struct" href="../../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a>&lt;'_, Message&gt;,
positioner: <a class="struct" href="../../iced/daemon/program/runtime/platform_specific/wayland/popup/struct.SctkPositioner.html" title="struct cosmic::iced::daemon::program::runtime::platform_specific::wayland::popup::SctkPositioner">SctkPositioner</a>,
on_selected: <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;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.usize.html">usize</a>) -&gt; Message + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;,
selected: <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.usize.html">usize</a>&gt;,
selections: &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[S]</a>,
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::dropdown::State">State</a>,
_window_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="../../iced/window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>&gt;,
on_surface_action: <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="../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;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="enum" href="../../surface/enum.Action.html" title="enum cosmic::surface::Action">Action</a>) -&gt; Message + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;&gt;,
action_map: <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="../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;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>(Message) -&gt; AppMessage + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static&gt;&gt;,
icons: &amp;[<a class="struct" href="../icon/struct.Handle.html" title="struct cosmic::widget::icon::Handle">Handle</a>],
gap: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>,
padding: <a class="struct" href="../../iced/struct.Padding.html" title="struct cosmic::iced::Padding">Padding</a>,
text_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;<a class="struct" href="../../font/struct.Font.html" title="struct cosmic::font::Font">Font</a>&gt;,
selected_option: <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.usize.html">usize</a>&gt;,
)</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::dropdown::State"><code>State</code></a> of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>
accordingly.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,4 @@
<!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="Displays a list of options in a popover menu on select."><title>cosmic::widget::dropdown - 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 dropdown</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="#functions" title="Functions">Functions</a></li><li><a href="#types" title="Type Aliases">Type Aliases</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>dropdown</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/dropdown/mod.rs.html#5-57">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Displays a list of options in a popover menu on select.</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.Menu"><code>pub use menu::<a class="struct" href="menu/struct.Menu.html" title="struct cosmic::widget::dropdown::menu::Menu">Menu</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="menu/index.html" title="mod cosmic::widget::dropdown::menu">menu</a></dt><dt><a class="mod" href="multi/index.html" title="mod cosmic::widget::dropdown::multi">multi</a></dt><dt><a class="mod" href="operation/index.html" title="mod cosmic::widget::dropdown::operation">operation</a></dt><dd>Operate on dropdown widgets.</dd></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.Dropdown.html" title="struct cosmic::widget::dropdown::Dropdown">Dropdown</a></dt><dd>A widget for selecting a single value from a list of selections.</dd><dt><a class="struct" href="struct.Id.html" title="struct cosmic::widget::dropdown::Id">Id</a></dt><dd>The identifier of a generic widget.</dd><dt><a class="struct" href="struct.State.html" title="struct cosmic::widget::dropdown::State">State</a></dt><dd>The local state of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</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::dropdown::draw">draw</a></dt><dd>Draws a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</dd><dt><a class="fn" href="fn.dropdown.html" title="fn cosmic::widget::dropdown::dropdown">dropdown</a></dt><dd>Displays a list of options in a popover menu on select.</dd><dt><a class="fn" href="fn.layout.html" title="fn cosmic::widget::dropdown::layout">layout</a></dt><dd>Computes the layout of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</dd><dt><a class="fn" href="fn.menu_widget.html" title="fn cosmic::widget::dropdown::menu_widget">menu_<wbr>widget</a><wbr><span class="stab portability" title="Available on crate feature `winit` and crate feature `wayland` and Linux only"><code>winit</code> and <code>wayland</code> and Linux</span></dt><dd>Returns the current menu widget of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</dd><dt><a class="fn" href="fn.mouse_interaction.html" title="fn cosmic::widget::dropdown::mouse_interaction">mouse_<wbr>interaction</a></dt><dd>Returns the current <a href="../../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</dd><dt><a class="fn" href="fn.overlay.html" title="fn cosmic::widget::dropdown::overlay">overlay</a></dt><dd>Returns the current overlay of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>.</dd><dt><a class="fn" href="fn.popup_dropdown.html" title="fn cosmic::widget::dropdown::popup_dropdown">popup_<wbr>dropdown</a></dt><dd>Displays a list of options in a popover menu on select.
AppMessage must be the Apps toplevel message.</dd><dt><a class="fn" href="fn.update.html" title="fn cosmic::widget::dropdown::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::dropdown::State"><code>State</code></a> of a <a href="../struct.Dropdown.html" title="struct cosmic::widget::Dropdown"><code>Dropdown</code></a>
accordingly.</dd></dl><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><dl class="item-table"><dt><a class="type" href="type.DropdownView.html" title="type cosmic::widget::dropdown::DropdownView">Dropdown<wbr>View</a></dt></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/dropdown/menu/struct.Appearance.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/menu/struct.Appearance.html">../../../../../cosmic/widget/dropdown/menu/struct.Appearance.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/menu/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/dropdown/menu/trait.StyleSheet.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/menu/trait.StyleSheet.html">../../../../../cosmic/widget/dropdown/menu/trait.StyleSheet.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/menu/trait.StyleSheet.html" + location.search + location.hash);</script>
</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 `menu` mod in crate `cosmic`."><title>cosmic::widget::dropdown::menu - 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 menu</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="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget::<wbr>dropdown</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">dropdown</a></div><h1>Module <span>menu</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/dropdown/menu/mod.rs.html#5-703">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.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance">Appearance</a></dt><dd>The appearance of a menu.</dd><dt><a class="struct" href="struct.Menu.html" title="struct cosmic::widget::dropdown::menu::Menu">Menu</a></dt><dd>A list of selectable options.</dd><dt><a class="struct" href="struct.State.html" title="struct cosmic::widget::dropdown::menu::State">State</a></dt><dd>The local state of a <a href="struct.Menu.html" title="struct cosmic::widget::dropdown::menu::Menu"><code>Menu</code></a>.</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::dropdown::menu::StyleSheet">Style<wbr>Sheet</a></dt><dd>The style sheet of a menu.</dd></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"struct":["Appearance","Menu","State"],"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

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="The style sheet of a menu."><title>StyleSheet in cosmic::widget::dropdown::menu - 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.appearance" title="appearance">appearance</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>dropdown::<wbr>menu</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">dropdown</a>::<wbr><a href="index.html">menu</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/dropdown/menu/appearance.rs.html#34-40">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> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>;
// Required method
fn <a href="#tymethod.appearance" class="fn">appearance</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::dropdown::menu::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance">Appearance</a>;
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The style sheet of a menu.</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/dropdown/menu/appearance.rs.html#36">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> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a></h4></section></summary><div class="docblock"><p>The supported style of the <a href="trait.StyleSheet.html" title="trait cosmic::widget::dropdown::menu::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.appearance" class="method"><a class="src rightside" href="../../../../src/cosmic/widget/dropdown/menu/appearance.rs.html#39">Source</a><h4 class="code-header">fn <a href="#tymethod.appearance" class="fn">appearance</a>(&amp;self, style: &amp;Self::<a class="associatedtype" href="trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::dropdown::menu::StyleSheet::Style">Style</a>) -&gt; <a class="struct" href="struct.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance">Appearance</a></h4></section></summary><div class="docblock"><p>Produces the <a href="struct.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance"><code>Appearance</code></a> of a menu.</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/dropdown.rs.html#8-30">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::dropdown::menu::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/dropdown.rs.html#9">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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></div></details></div><script src="../../../../trait.impl/cosmic/widget/dropdown/menu/appearance/trait.StyleSheet.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1,4 @@
<!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 `dropdown` fn in crate `cosmic`."><title>dropdown in cosmic::widget::dropdown::multi - 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>dropdown::<wbr>multi</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">dropdown</a>::<wbr><a href="index.html">multi</a></div><h1>Function <span class="fn">dropdown</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/dropdown/multi/mod.rs.html#14-19">Source</a> </span></div><pre class="rust item-decl"><code>pub fn dropdown&lt;'a, S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>&gt;, Message: 'a, Item: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> + 'static&gt;(
model: &amp;'a <a class="struct" href="struct.Model.html" title="struct cosmic::widget::dropdown::multi::Model">Model</a>&lt;S, Item&gt;,
on_selected: 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>(Item) -&gt; Message + 'a,
) -&gt; <a class="struct" href="struct.Dropdown.html" title="struct cosmic::widget::dropdown::multi::Dropdown">Dropdown</a>&lt;'a, S, Message, Item&gt;</code></pre></section></div></main></body></html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Create a `List` for a multi-list dropdown widget."><title>list in cosmic::widget::dropdown::multi - 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>dropdown::<wbr>multi</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">dropdown</a>::<wbr><a href="index.html">multi</a></div><h1>Function <span class="fn">list</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/dropdown/multi/model.rs.html#12-17">Source</a> </span></div><pre class="rust item-decl"><code>pub fn list&lt;S, Item&gt;(
description: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;S&gt;,
options: <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/vec/struct.Vec.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(S, Item)</a>&gt;,
) -&gt; <a class="struct" href="struct.List.html" title="struct cosmic::widget::dropdown::multi::List">List</a>&lt;S, Item&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create a <a href="struct.List.html" title="struct cosmic::widget::dropdown::multi::List"><code>List</code></a> for a multi-list dropdown widget.</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="Create a `Model` for a multi-list dropdown."><title>model in cosmic::widget::dropdown::multi - 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>dropdown::<wbr>multi</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">dropdown</a>::<wbr><a href="index.html">multi</a></div><h1>Function <span class="fn">model</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/dropdown/multi/model.rs.html#4-9">Source</a> </span></div><pre class="rust item-decl"><code>pub fn model&lt;S, Item&gt;() -&gt; <a class="struct" href="struct.Model.html" title="struct cosmic::widget::dropdown::multi::Model">Model</a>&lt;S, Item&gt;</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Create a <a href="struct.Model.html" title="struct cosmic::widget::dropdown::multi::Model"><code>Model</code></a> for a multi-list dropdown.</p>
</div></details></section></div></main></body></html>

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 `menu` mod in crate `cosmic`."><title>cosmic::widget::dropdown::multi::menu - 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 menu</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="#structs" title="Structs">Structs</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget::<wbr>dropdown::<wbr>multi</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">dropdown</a>::<wbr><a href="../index.html">multi</a></div><h1>Module <span>menu</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/dropdown/multi/menu.rs.html#1-723">Source</a> </span></div><h2 id="reexports" class="section-header">Re-exports<a href="#reexports" class="anchor">§</a></h2><dl class="item-table reexports"><dt id="reexport.Appearance"><code>pub use crate::widget::dropdown::menu::<a class="struct" href="../../menu/struct.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance">Appearance</a>;</code></dt><dt id="reexport.StyleSheet"><code>pub use crate::widget::dropdown::menu::<a class="trait" href="../../menu/trait.StyleSheet.html" title="trait cosmic::widget::dropdown::menu::StyleSheet">StyleSheet</a>;</code></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.Menu.html" title="struct cosmic::widget::dropdown::multi::menu::Menu">Menu</a></dt><dd>A dropdown menu with multiple lists.</dd></dl></section></div></main></body></html>

View file

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

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/dropdown/multi/fn.list.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/fn.list.html">../../../../../cosmic/widget/dropdown/multi/fn.list.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/fn.list.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/dropdown/multi/fn.model.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/fn.model.html">../../../../../cosmic/widget/dropdown/multi/fn.model.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/fn.model.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/dropdown/multi/struct.List.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/struct.List.html">../../../../../cosmic/widget/dropdown/multi/struct.List.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/struct.List.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/dropdown/multi/struct.Model.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/struct.Model.html">../../../../../cosmic/widget/dropdown/multi/struct.Model.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/struct.Model.html" + location.search + location.hash);</script>
</body>
</html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["dropdown","list","model"],"mod":["menu"],"struct":["Dropdown","List","Model","Style"],"trait":["Catalog"]};

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,15 @@
<!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="The theme catalog of a `PickList`."><title>Catalog in cosmic::widget::dropdown::multi - 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="#">Catalog</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Class" title="Class">Class</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.default" title="default">default</a></li><li><a href="#tymethod.style" title="style">style</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.default_menu" title="default_menu">default_menu</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>dropdown::<wbr>multi</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">dropdown</a>::<wbr><a href="index.html">multi</a></div><h1>Trait <span class="trait">Catalog</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait Catalog: <a class="trait" href="../../../iced/overlay/menu/trait.Catalog.html" title="trait cosmic::iced::overlay::menu::Catalog">Catalog</a> {
type <a href="#associatedtype.Class" class="associatedtype">Class</a>&lt;'a&gt;;
// Required methods
fn <a href="#tymethod.default" class="fn">default</a>&lt;'a&gt;() -&gt; Self::<a class="associatedtype" href="trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::dropdown::multi::Catalog::Class">Class</a>&lt;'a&gt;;
<span class="item-spacer"></span> fn <a href="#tymethod.style" class="fn">style</a>(&amp;self, class: &amp;Self::<a class="associatedtype" href="trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::dropdown::multi::Catalog::Class">Class</a>&lt;'_&gt;, status: <a class="enum" href="../../../iced/widget/pick_list/enum.Status.html" title="enum cosmic::iced::widget::pick_list::Status">Status</a>) -&gt; <a class="struct" href="struct.Style.html" title="struct cosmic::widget::dropdown::multi::Style">Style</a>;
// Provided method
fn <a href="#method.default_menu" class="fn">default_menu</a>&lt;'a&gt;() -&gt; Self::<a class="associatedtype" href="../../../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::overlay::menu::Catalog::Class">Class</a>&lt;'a&gt; { ... }
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The theme catalog of a <a href="../../../iced/widget/struct.PickList.html" title="struct cosmic::iced::widget::PickList"><code>PickList</code></a>.</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.Class" class="method"><h4 class="code-header">type <a href="#associatedtype.Class" class="associatedtype">Class</a>&lt;'a&gt;</h4></section></summary><div class="docblock"><p>The item class of the <a href="trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog"><code>Catalog</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.default" class="method"><h4 class="code-header">fn <a href="#tymethod.default" class="fn">default</a>&lt;'a&gt;() -&gt; Self::<a class="associatedtype" href="trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::dropdown::multi::Catalog::Class">Class</a>&lt;'a&gt;</h4></section></summary><div class="docblock"><p>The default class produced by the <a href="trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog"><code>Catalog</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.style" class="method"><h4 class="code-header">fn <a href="#tymethod.style" class="fn">style</a>(&amp;self, class: &amp;Self::<a class="associatedtype" href="trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::dropdown::multi::Catalog::Class">Class</a>&lt;'_&gt;, status: <a class="enum" href="../../../iced/widget/pick_list/enum.Status.html" title="enum cosmic::iced::widget::pick_list::Status">Status</a>) -&gt; <a class="struct" href="struct.Style.html" title="struct cosmic::widget::dropdown::multi::Style">Style</a></h4></section></summary><div class="docblock"><p>The <a href="struct.Style.html" title="struct cosmic::widget::dropdown::multi::Style"><code>Style</code></a> of a class with the given status.</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.default_menu" class="method"><h4 class="code-header">fn <a href="#method.default_menu" class="fn">default_menu</a>&lt;'a&gt;() -&gt; Self::<a class="associatedtype" href="../../../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::overlay::menu::Catalog::Class">Class</a>&lt;'a&gt;</h4></section></summary><div class="docblock"><p>The default class for the menu of the <a href="../../../iced/widget/struct.PickList.html" title="struct cosmic::iced::widget::PickList"><code>PickList</code></a>.</p>
</div></details></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></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-Catalog-for-Theme" class="impl"><a href="#impl-Catalog-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog">Catalog</a> for cosmic::iced::<a class="enum" href="../../../iced/enum.Theme.html" title="enum cosmic::iced::Theme">Theme</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Class-1" class="associatedtype trait-impl"><a href="#associatedtype.Class-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Class" class="associatedtype">Class</a>&lt;'a&gt; = <a class="struct" href="../../../cctk/sctk/reexports/client/backend/smallvec/alloc/boxed/struct.Box.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::boxed::Box">Box</a>&lt;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>(&amp;<a class="enum" href="../../../iced/enum.Theme.html" title="enum cosmic::iced::Theme">Theme</a>, <a class="enum" href="../../../iced/widget/pick_list/enum.Status.html" title="enum cosmic::iced::widget::pick_list::Status">Status</a>) -&gt; <a class="struct" href="struct.Style.html" title="struct cosmic::widget::dropdown::multi::Style">Style</a> + 'a&gt;</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Catalog-for-Theme-1" class="impl"><a class="src rightside" href="../../../../src/cosmic/theme/style/iced.rs.html#812-850">Source</a><a href="#impl-Catalog-for-Theme-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog">Catalog</a> for cosmic::<a class="struct" href="../../../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><section id="associatedtype.Class-2" class="associatedtype trait-impl"><a class="src rightside" href="../../../../src/cosmic/theme/style/iced.rs.html#813">Source</a><a href="#associatedtype.Class-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Class" class="associatedtype">Class</a>&lt;'a&gt; = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></div></details></div><script src="../../../../trait.impl/iced_widget/pick_list/trait.Catalog.js" data-ignore-extern-crates="iced_core" async></script></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/dropdown/multi/struct.Dropdown.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/struct.Dropdown.html">../../../../../cosmic/widget/dropdown/multi/struct.Dropdown.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/struct.Dropdown.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/dropdown/multi/struct.Style.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/struct.Style.html">../../../../../cosmic/widget/dropdown/multi/struct.Style.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/struct.Style.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/dropdown/multi/trait.Catalog.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../../cosmic/widget/dropdown/multi/trait.Catalog.html">../../../../../cosmic/widget/dropdown/multi/trait.Catalog.html</a>...</p>
<script>location.replace("../../../../../cosmic/widget/dropdown/multi/trait.Catalog.html" + location.search + location.hash);</script>
</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="Operate on dropdown widgets."><title>cosmic::widget::dropdown::operation - 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 operation</a></h2><h3><a href="#traits">Module Items</a></h3><ul class="block"><li><a href="#traits" title="Traits">Traits</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>widget::<wbr>dropdown</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">dropdown</a></div><h1>Module <span>operation</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/dropdown/operation.rs.html#3-12">Source</a> </span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Operate on dropdown widgets.</p>
</div></details><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Dropdown.html" title="trait cosmic::widget::dropdown::operation::Dropdown">Dropdown</a></dt></dl></section></div></main></body></html>

View file

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

View file

@ -0,0 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Dropdown` trait in crate `cosmic`."><title>Dropdown in cosmic::widget::dropdown::operation - 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="#">Dropdown</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.close" title="close">close</a></li><li><a href="#tymethod.open" title="open">open</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>dropdown::<wbr>operation</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">dropdown</a>::<wbr><a href="index.html">operation</a></div><h1>Trait <span class="trait">Dropdown</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/dropdown/operation.rs.html#9-12">Source</a> </span></div><pre class="rust item-decl"><code>pub trait Dropdown {
// Required methods
fn <a href="#tymethod.close" class="fn">close</a>(&amp;mut self);
<span class="item-spacer"></span> fn <a href="#tymethod.open" class="fn">open</a>(&amp;mut self);
}</code></pre><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.close" class="method"><a class="src rightside" href="../../../../src/cosmic/widget/dropdown/operation.rs.html#10">Source</a><h4 class="code-header">fn <a href="#tymethod.close" class="fn">close</a>(&amp;mut self)</h4></section><section id="tymethod.open" class="method"><a class="src rightside" href="../../../../src/cosmic/widget/dropdown/operation.rs.html#11">Source</a><h4 class="code-header">fn <a href="#tymethod.open" class="fn">open</a>(&amp;mut self)</h4></section></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-Dropdown-for-State" class="impl"><a class="src rightside" href="../../../../src/cosmic/widget/dropdown/widget.rs.html#442-450">Source</a><a href="#impl-Dropdown-for-State" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Dropdown.html" title="trait cosmic::widget::dropdown::operation::Dropdown">Dropdown</a> for <a class="struct" href="../struct.State.html" title="struct cosmic::widget::dropdown::State">State</a></h3></section></div><script src="../../../../trait.impl/cosmic/widget/dropdown/operation/trait.Dropdown.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"fn":["draw","dropdown","layout","menu_widget","mouse_interaction","overlay","popup_dropdown","update"],"mod":["menu","multi","operation"],"struct":["Dropdown","Id","State"],"type":["DropdownView"]};

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 @@
<!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 `DropdownView` type in crate `cosmic`."><title>DropdownView in cosmic::widget::dropdown - 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 type"><!--[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="#">Dropdown<wbr>View</a></h2><h3><a href="#aliased-type">Aliased Type</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>widget::<wbr>dropdown</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">dropdown</a></div><h1>Type Alias <span class="type">DropdownView</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/dropdown/widget.rs.html#25">Source</a> </span></div><pre class="rust item-decl"><code>pub type DropdownView&lt;Message&gt; = <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::sync::Arc">Arc</a>&lt;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>() -&gt; <a class="type" href="../../type.Element.html" title="type cosmic::Element">Element</a>&lt;'static, Message&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>&gt;;</code></pre><h2 id="aliased-type" class="section-header">Aliased Type<a href="#aliased-type" class="anchor">§</a></h2><pre class="rust item-decl"><code>pub struct DropdownView&lt;Message&gt; { <span class="comment">/* private fields */</span> }</code></pre><script src="../../../type.impl/cosmic/cctk/sctk/reexports/client/backend/smallvec/alloc/sync/struct.Arc.js" data-self-path="cosmic::widget::dropdown::widget::DropdownView" async></script></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/dropdown/fn.draw.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/fn.draw.html">../../../../cosmic/widget/dropdown/fn.draw.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/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/dropdown/fn.layout.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/fn.layout.html">../../../../cosmic/widget/dropdown/fn.layout.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/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/dropdown/fn.menu_widget.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/fn.menu_widget.html">../../../../cosmic/widget/dropdown/fn.menu_widget.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/fn.menu_widget.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/dropdown/fn.mouse_interaction.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/fn.mouse_interaction.html">../../../../cosmic/widget/dropdown/fn.mouse_interaction.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/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/dropdown/fn.overlay.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/fn.overlay.html">../../../../cosmic/widget/dropdown/fn.overlay.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/fn.overlay.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/dropdown/fn.update.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/fn.update.html">../../../../cosmic/widget/dropdown/fn.update.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/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/struct.Dropdown.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/struct.Dropdown.html">../../../../cosmic/widget/struct.Dropdown.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/struct.Dropdown.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/dropdown/struct.State.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/struct.State.html">../../../../cosmic/widget/dropdown/struct.State.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/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/dropdown/type.DropdownView.html">
<title>Redirection</title>
</head>
<body>
<p>Redirecting to <a href="../../../../cosmic/widget/dropdown/type.DropdownView.html">../../../../cosmic/widget/dropdown/type.DropdownView.html</a>...</p>
<script>location.replace("../../../../cosmic/widget/dropdown/type.DropdownView.html" + location.search + location.hash);</script>
</body>
</html>