1276 lines
No EOL
578 KiB
HTML
1276 lines
No EOL
578 KiB
HTML
<!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 `Theme` struct in crate `cosmic`."><title>Theme in cosmic::theme - 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 struct"><!--[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="#">Theme</a></h2><h3><a href="#fields">Fields</a></h3><ul class="block structfield"><li><a href="#structfield.layer" title="layer">layer</a></li><li><a href="#structfield.theme_type" title="theme_type">theme_type</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.cosmic" title="cosmic">cosmic</a></li><li><a href="#method.current_container" title="current_container">current_container</a></li><li><a href="#method.custom" title="custom">custom</a></li><li><a href="#method.dark" title="dark">dark</a></li><li><a href="#method.dark_hc" title="dark_hc">dark_hc</a></li><li><a href="#method.light" title="light">light</a></li><li><a href="#method.light_hc" title="light_hc">light_hc</a></li><li><a href="#method.set_theme" title="set_theme">set_theme</a></li><li><a href="#method.system" title="system">system</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block trait-implementation"><li><a href="#impl-Base-for-Theme" title="Base">Base</a></li><li><a href="#impl-Catalog-for-Theme" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-1" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-10" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-11" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-12" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-13" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-14" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-15" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-16" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-17" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-18" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-19" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-2" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-20" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-3" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-4" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-5" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-6" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-7" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-8" title="Catalog">Catalog</a></li><li><a href="#impl-Catalog-for-Theme-9" title="Catalog">Catalog</a></li><li><a href="#impl-Clone-for-Theme" title="Clone">Clone</a></li><li><a href="#impl-Debug-for-Theme" title="Debug">Debug</a></li><li><a href="#impl-Default-for-Theme" title="Default">Default</a></li><li><a href="#impl-DefaultStyle-for-Theme" title="DefaultStyle">DefaultStyle</a></li><li><a href="#impl-LayeredTheme-for-Theme" title="LayeredTheme">LayeredTheme</a></li><li><a href="#impl-Overlay%3CMessage,+Theme,+Renderer%3E-for-Overlay%3C'_,+'_,+Message,+Renderer%3E" title="Overlay<Message, Theme, Renderer>">Overlay<Message, Theme, Renderer></a></li><li><a href="#impl-PartialEq-for-Theme" title="PartialEq">PartialEq</a></li><li><a href="#impl-StructuralPartialEq-for-Theme" title="StructuralPartialEq">StructuralPartialEq</a></li><li><a href="#impl-StyleSheet-for-Theme" title="StyleSheet">StyleSheet</a></li><li><a href="#impl-StyleSheet-for-Theme-1" title="StyleSheet">StyleSheet</a></li><li><a href="#impl-StyleSheet-for-Theme-2" title="StyleSheet">StyleSheet</a></li><li><a href="#impl-StyleSheet-for-Theme-3" title="StyleSheet">StyleSheet</a></li><li><a href="#impl-StyleSheet-for-Theme-4" title="StyleSheet">StyleSheet</a></li><li><a href="#impl-Widget%3CM,+Theme,+Renderer%3E-for-RcElementWrapper%3CM%3E" title="Widget<M, Theme, Renderer>">Widget<M, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-AspectRatio%3C'_,+Message,+Renderer%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Button%3C'a,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ColorPicker%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ContextDrawer%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ContextMenu%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-DndDestination%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-DndSource%3C'_,+Message,+D%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Dropdown%3C'_,+S,+Message,+AppMessage%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Dropdown%3C'a,+S,+Message,+Item%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-FlexRow%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Grid%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-LayerContainer%3C'_,+Message,+Renderer%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-MenuBar%3CMessage%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Popover%3C'_,+Message,+Renderer%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Radio%3C'_,+Message,+Renderer%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-RectangleTrackingContainer%3C'a,+Message,+Renderer,+I%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-SegmentedButton%3C'_,+Variant,+SelectionMode,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-TextInput%3C'_,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Toggler%3C'a,+Message%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li><li><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Tooltip%3C'a,+Message,+TopLevelMessage%3E" title="Widget<Message, Theme, Renderer>">Widget<Message, Theme, Renderer></a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-Freeze-for-Theme" title="Freeze">Freeze</a></li><li><a href="#impl-RefUnwindSafe-for-Theme" title="RefUnwindSafe">RefUnwindSafe</a></li><li><a href="#impl-Send-for-Theme" title="Send">Send</a></li><li><a href="#impl-Sync-for-Theme" title="Sync">Sync</a></li><li><a href="#impl-Unpin-for-Theme" title="Unpin">Unpin</a></li><li><a href="#impl-UnwindSafe-for-Theme" title="UnwindSafe">UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" title="AdaptInto<D, Swp, Dwp, T>">AdaptInto<D, Swp, Dwp, T></a></li><li><a href="#impl-Also-for-T" title="Also">Also</a></li><li><a href="#impl-Any-for-T" title="Any">Any</a></li><li><a href="#impl-AnyEq-for-T" title="AnyEq">AnyEq</a></li><li><a href="#impl-Apply%3CRes%3E-for-T" title="Apply<Res>">Apply<Res></a></li><li><a href="#impl-ArraysFrom%3CC%3E-for-T" title="ArraysFrom<C>">ArraysFrom<C></a></li><li><a href="#impl-ArraysInto%3CC%3E-for-T" title="ArraysInto<C>">ArraysInto<C></a></li><li><a href="#impl-Borrow%3CT%3E-for-T" title="Borrow<T>">Borrow<T></a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T" title="BorrowMut<T>">BorrowMut<T></a></li><li><a href="#impl-Cam16IntoUnclamped%3CWpParam,+T%3E-for-U" title="Cam16IntoUnclamped<WpParam, T>">Cam16IntoUnclamped<WpParam, T></a></li><li><a href="#impl-CloneToUninit-for-T" title="CloneToUninit">CloneToUninit</a></li><li><a href="#impl-ComponentsFrom%3CC%3E-for-T" title="ComponentsFrom<C>">ComponentsFrom<C></a></li><li><a href="#impl-Downcast-for-T" title="Downcast">Downcast</a></li><li><a href="#impl-DowncastSync-for-T" title="DowncastSync">DowncastSync</a></li><li><a href="#impl-From%3CT%3E-for-T" title="From<T>">From<T></a></li><li><a href="#impl-FromAngle%3CT%3E-for-T" title="FromAngle<T>">FromAngle<T></a></li><li><a href="#impl-FromStimulus%3CU%3E-for-T" title="FromStimulus<U>">FromStimulus<U></a></li><li><a href="#impl-Instrument-for-T" title="Instrument">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T" title="Into<U>">Into<U></a></li><li><a href="#impl-IntoAngle%3CU%3E-for-T" title="IntoAngle<U>">IntoAngle<U></a></li><li><a href="#impl-IntoBoot%3CState,+Message%3E-for-State" title="IntoBoot<State, Message>">IntoBoot<State, Message></a></li><li><a href="#impl-IntoCam16Unclamped%3CWpParam,+T%3E-for-U" title="IntoCam16Unclamped<WpParam, T>">IntoCam16Unclamped<WpParam, T></a></li><li><a href="#impl-IntoColor%3CU%3E-for-T" title="IntoColor<U>">IntoColor<U></a></li><li><a href="#impl-IntoColorUnclamped%3CU%3E-for-T" title="IntoColorUnclamped<U>">IntoColorUnclamped<U></a></li><li><a href="#impl-IntoStimulus%3CT%3E-for-T" title="IntoStimulus<T>">IntoStimulus<T></a></li><li><a href="#impl-MaybeClone-for-T" title="MaybeClone">MaybeClone</a></li><li><a href="#impl-MaybeDebug-for-T" title="MaybeDebug">MaybeDebug</a></li><li><a href="#impl-MaybeSend-for-T" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-MaybeSend-for-T-1" title="MaybeSend">MaybeSend</a></li><li><a href="#impl-MaybeSync-for-T" title="MaybeSync">MaybeSync</a></li><li><a href="#impl-MaybeSync-for-T-1" title="MaybeSync">MaybeSync</a></li><li><a href="#impl-NoneValue-for-T" title="NoneValue">NoneValue</a></li><li><a href="#impl-Same-for-T" title="Same">Same</a></li><li><a href="#impl-ToOwned-for-T" title="ToOwned">ToOwned</a></li><li><a href="#impl-TryComponentsInto%3CC%3E-for-T" title="TryComponentsInto<C>">TryComponentsInto<C></a></li><li><a href="#impl-TryFrom%3CU%3E-for-T" title="TryFrom<U>">TryFrom<U></a></li><li><a href="#impl-TryInto%3CU%3E-for-T" title="TryInto<U>">TryInto<U></a></li><li><a href="#impl-TryIntoColor%3CU%3E-for-T" title="TryIntoColor<U>">TryIntoColor<U></a></li><li><a href="#impl-UintsFrom%3CC%3E-for-U" title="UintsFrom<C>">UintsFrom<C></a></li><li><a href="#impl-UintsInto%3CC%3E-for-U" title="UintsInto<C>">UintsInto<C></a></li><li><a href="#impl-VZip%3CV%3E-for-T" title="VZip<V>">VZip<V></a></li><li><a href="#impl-WithSubscriber-for-T" title="WithSubscriber">WithSubscriber</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>theme</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">theme</a></div><h1>Struct <span class="struct">Theme</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/theme/mod.rs.html#213-216">Source</a> </span></div><pre class="rust item-decl"><code>pub struct Theme {
|
||
pub theme_type: <a class="enum" href="enum.ThemeType.html" title="enum cosmic::theme::ThemeType">ThemeType</a>,
|
||
pub layer: <a class="enum" href="../cosmic_theme/enum.Layer.html" title="enum cosmic::cosmic_theme::Layer">Layer</a>,
|
||
}</code></pre><h2 id="fields" class="fields section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.theme_type" class="structfield section-header"><a href="#structfield.theme_type" class="anchor field">§</a><code>theme_type: <a class="enum" href="enum.ThemeType.html" title="enum cosmic::theme::ThemeType">ThemeType</a></code></span><span id="structfield.layer" class="structfield section-header"><a href="#structfield.layer" class="anchor field">§</a><code>layer: <a class="enum" href="../cosmic_theme/enum.Layer.html" title="enum cosmic::cosmic_theme::Layer">Layer</a></code></span><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#218-297">Source</a><a href="#impl-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><section id="method.cosmic" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#220-228">Source</a><h4 class="code-header">pub fn <a href="#method.cosmic" class="fn">cosmic</a>(&self) -> &<a class="struct" href="../cosmic_theme/struct.Theme.html" title="struct cosmic::cosmic_theme::Theme">Theme</a></h4></section><section id="method.dark" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#231-236">Source</a><h4 class="code-header">pub fn <a href="#method.dark" class="fn">dark</a>() -> Self</h4></section><section id="method.light" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#239-244">Source</a><h4 class="code-header">pub fn <a href="#method.light" class="fn">light</a>() -> Self</h4></section><section id="method.dark_hc" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#247-252">Source</a><h4 class="code-header">pub fn <a href="#method.dark_hc" class="fn">dark_hc</a>() -> Self</h4></section><section id="method.light_hc" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#255-260">Source</a><h4 class="code-header">pub fn <a href="#method.light_hc" class="fn">light_hc</a>() -> Self</h4></section><section id="method.custom" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#263-268">Source</a><h4 class="code-header">pub fn <a href="#method.custom" class="fn">custom</a>(theme: <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><<a class="type" href="type.CosmicTheme.html" title="type cosmic::theme::CosmicTheme">CosmicTheme</a>>) -> Self</h4></section><section id="method.system" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#271-279">Source</a><h4 class="code-header">pub fn <a href="#method.system" class="fn">system</a>(theme: <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><<a class="type" href="type.CosmicTheme.html" title="type cosmic::theme::CosmicTheme">CosmicTheme</a>>) -> Self</h4></section><details class="toggle method-toggle" open><summary><section id="method.current_container" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#284-290">Source</a><h4 class="code-header">pub fn <a href="#method.current_container" class="fn">current_container</a>(&self) -> &<a class="struct" href="../cosmic_theme/struct.Container.html" title="struct cosmic::cosmic_theme::Container">Container</a></h4></section></summary><div class="docblock"><p>get current container
|
||
can be used in a component that is intended to be a child of a <code>CosmicContainer</code></p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.set_theme" class="method"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#294-296">Source</a><h4 class="code-header">pub fn <a href="#method.set_theme" class="fn">set_theme</a>(&mut self, theme: <a class="enum" href="enum.ThemeType.html" title="enum cosmic::theme::ThemeType">ThemeType</a>)</h4></section></summary><div class="docblock"><p>set the theme</p>
|
||
</div></details></div></details></div><h2 id="trait-implementations" class="section-header">Trait Implementations<a href="#trait-implementations" class="anchor">§</a></h2><div id="trait-implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Base-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1592-1637">Source</a><a href="#impl-Base-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/daemon/program/graphics/core/theme/trait.Base.html" title="trait cosmic::iced::daemon::program::graphics::core::theme::Base">Base</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1593-1598">Source</a><a href="#method.default-17" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.default" class="fn">default</a>(preference: <a class="enum" href="../iced/daemon/program/graphics/core/theme/enum.Mode.html" title="enum cosmic::iced::daemon::program::graphics::core::theme::Mode">Mode</a>) -> Self</h4></section></summary><div class='docblock'>Returns the default theme for the preferred <a href="../iced/daemon/program/graphics/core/theme/enum.Mode.html" title="enum cosmic::iced::daemon::program::graphics::core::theme::Mode"><code>Mode</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mode" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1600-1606">Source</a><a href="#method.mode" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.mode" class="fn">mode</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/theme/enum.Mode.html" title="enum cosmic::iced::daemon::program::graphics::core::theme::Mode">Mode</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/theme/enum.Mode.html" title="enum cosmic::iced::daemon::program::graphics::core::theme::Mode"><code>Mode</code></a> of the theme.</div></details><details class="toggle method-toggle" open><summary><section id="method.base" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1608-1614">Source</a><a href="#method.base" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.base" class="fn">base</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/theme/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::theme::Style">Style</a></h4></section></summary><div class='docblock'>Returns the default base <a href="../iced/daemon/program/graphics/core/theme/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::theme::Style"><code>Style</code></a> of the theme.</div></details><details class="toggle method-toggle" open><summary><section id="method.palette" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1616-1625">Source</a><a href="#method.palette" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.palette" class="fn">palette</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../iced/daemon/program/graphics/core/theme/struct.Palette.html" title="struct cosmic::iced::daemon::program::graphics::core::theme::Palette">Palette</a>></h4></section></summary><div class='docblock'>Returns the color <a href="../iced/daemon/program/graphics/core/theme/struct.Palette.html" title="struct cosmic::iced::daemon::program::graphics::core::theme::Palette"><code>Palette</code></a> of the theme. <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.palette">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.name" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1627-1636">Source</a><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.name" class="fn">name</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section></summary><div class='docblock'>Returns the unique name of the theme. <a href="../iced/daemon/program/graphics/core/theme/trait.Base.html#tymethod.name">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#192-301">Source</a><a href="#impl-Catalog-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/button/trait.Catalog.html" title="trait cosmic::widget::button::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#193">Source</a><a href="#associatedtype.Class" class="anchor">§</a><h4 class="code-header">type <a href="../widget/button/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a> = <a class="enum" href="../style/enum.Button.html" title="enum cosmic::style::Button">Button</a></h4></section></summary><div class='docblock'>The supported style of the [<code>StyleSheet</code>].</div></details><details class="toggle method-toggle" open><summary><section id="method.active" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#195-221">Source</a><a href="#method.active" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/button/trait.Catalog.html#tymethod.active" class="fn">active</a>(&self, focused: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, selected: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, style: &Self::<a class="associatedtype" href="../widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::button::Catalog::Class">Class</a>) -> <a class="struct" href="../widget/button/struct.Style.html" title="struct cosmic::widget::button::Style">Style</a></h4></section></summary><div class='docblock'>Produces the active [<code>Appearance</code>] of a button.</div></details><details class="toggle method-toggle" open><summary><section id="method.disabled" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#223-237">Source</a><a href="#method.disabled" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/button/trait.Catalog.html#tymethod.disabled" class="fn">disabled</a>(&self, style: &Self::<a class="associatedtype" href="../widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::button::Catalog::Class">Class</a>) -> <a class="struct" href="../widget/button/struct.Style.html" title="struct cosmic::widget::button::Style">Style</a></h4></section></summary><div class='docblock'>Produces the disabled [<code>Appearance</code>] of a button.</div></details><details class="toggle method-toggle" open><summary><section id="method.drop_target" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#239-241">Source</a><a href="#method.drop_target" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/button/trait.Catalog.html#method.drop_target" class="fn">drop_target</a>(&self, style: &Self::<a class="associatedtype" href="../widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::button::Catalog::Class">Class</a>) -> <a class="struct" href="../widget/button/struct.Style.html" title="struct cosmic::widget::button::Style">Style</a></h4></section></summary><div class='docblock'>[<code>Appearance</code>] when the button is the target of a DND operation.</div></details><details class="toggle method-toggle" open><summary><section id="method.hovered" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#243-276">Source</a><a href="#method.hovered" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/button/trait.Catalog.html#tymethod.hovered" class="fn">hovered</a>(&self, focused: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, selected: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, style: &Self::<a class="associatedtype" href="../widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::button::Catalog::Class">Class</a>) -> <a class="struct" href="../widget/button/struct.Style.html" title="struct cosmic::widget::button::Style">Style</a></h4></section></summary><div class='docblock'>Produces the hovered [<code>Appearance</code>] of a button.</div></details><details class="toggle method-toggle" open><summary><section id="method.pressed" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#278-296">Source</a><a href="#method.pressed" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/button/trait.Catalog.html#tymethod.pressed" class="fn">pressed</a>(&self, focused: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, selected: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, style: &Self::<a class="associatedtype" href="../widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::button::Catalog::Class">Class</a>) -> <a class="struct" href="../widget/button/struct.Style.html" title="struct cosmic::widget::button::Style">Style</a></h4></section></summary><div class='docblock'>Produces the pressed [<code>Appearance</code>] of a button.</div></details><details class="toggle method-toggle" open><summary><section id="method.selection_background" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/button.rs.html#298-300">Source</a><a href="#method.selection_background" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/button/trait.Catalog.html#tymethod.selection_background" class="fn">selection_background</a>(&self) -> <a class="enum" href="../iced/enum.Background.html" title="enum cosmic::iced::Background">Background</a></h4></section></summary><div class='docblock'>Background color of the selection indicator</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-1" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#68-147">Source</a><a href="#impl-Catalog-for-Theme-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/button/trait.Catalog.html" title="trait cosmic::iced::widget::button::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#69">Source</a><a href="#associatedtype.Class-1" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/button/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/iced/enum.Button.html" title="enum cosmic::style::iced::Button">Button</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/button/trait.Catalog.html" title="trait cosmic::iced::widget::button::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#71-73">Source</a><a href="#method.default" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/button/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::button::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/button/trait.Catalog.html" title="trait cosmic::iced::widget::button::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#75-146">Source</a><a href="#method.style" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/button/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/button/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::button::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../iced/widget/button/enum.Status.html" title="enum cosmic::iced::widget::button::Status">Status</a>) -> <a class="struct" href="../iced/widget/button/struct.Style.html" title="struct cosmic::iced::widget::button::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/button/struct.Style.html" title="struct cosmic::iced::widget::button::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-10" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1020-1074">Source</a><a href="#impl-Catalog-for-Theme-10" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/progress_bar/trait.Catalog.html" title="trait cosmic::iced::widget::progress_bar::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-10" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1021">Source</a><a href="#associatedtype.Class-10" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/progress_bar/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/enum.ProgressBar.html" title="enum cosmic::style::ProgressBar">ProgressBar</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/progress_bar/trait.Catalog.html" title="trait cosmic::iced::widget::progress_bar::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1023-1025">Source</a><a href="#method.default-9" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/progress_bar/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/progress_bar/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::progress_bar::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/progress_bar/trait.Catalog.html" title="trait cosmic::iced::widget::progress_bar::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1027-1073">Source</a><a href="#method.style-9" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/progress_bar/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/progress_bar/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::progress_bar::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../iced/widget/progress_bar/struct.Style.html" title="struct cosmic::iced::widget::progress_bar::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/progress_bar/struct.Style.html" title="struct cosmic::iced::widget::progress_bar::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-11" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1094-1124">Source</a><a href="#impl-Catalog-for-Theme-11" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/rule/trait.Catalog.html" title="trait cosmic::iced::widget::rule::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-11" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1095">Source</a><a href="#associatedtype.Class-11" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/rule/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/enum.Rule.html" title="enum cosmic::style::Rule">Rule</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/rule/trait.Catalog.html" title="trait cosmic::iced::widget::rule::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1097-1099">Source</a><a href="#method.default-10" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/rule/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/rule/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::rule::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/rule/trait.Catalog.html" title="trait cosmic::iced::widget::rule::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1101-1123">Source</a><a href="#method.style-10" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/rule/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/rule/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::rule::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../iced/widget/rule/struct.Style.html" title="struct cosmic::iced::widget::rule::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/rule/struct.Style.html" title="struct cosmic::iced::widget::rule::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-12" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1136-1282">Source</a><a href="#impl-Catalog-for-Theme-12" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/scrollable/trait.Catalog.html" title="trait cosmic::iced::widget::scrollable::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-12" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1137">Source</a><a href="#associatedtype.Class-12" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/scrollable/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/iced/enum.Scrollable.html" title="enum cosmic::style::iced::Scrollable">Scrollable</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/scrollable/trait.Catalog.html" title="trait cosmic::iced::widget::scrollable::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1139-1141">Source</a><a href="#method.default-11" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/scrollable/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/scrollable/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::scrollable::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/scrollable/trait.Catalog.html" title="trait cosmic::iced::widget::scrollable::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1143-1281">Source</a><a href="#method.style-11" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/scrollable/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/scrollable/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::scrollable::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../iced/widget/scrollable/enum.Status.html" title="enum cosmic::iced::widget::scrollable::Status">Status</a>) -> <a class="struct" href="../iced/widget/scrollable/struct.Style.html" title="struct cosmic::iced::widget::scrollable::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/scrollable/struct.Style.html" title="struct cosmic::iced::widget::scrollable::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-13" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1299-1313">Source</a><a href="#impl-Catalog-for-Theme-13" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/svg/trait.Catalog.html" title="trait cosmic::widget::svg::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-13" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1300">Source</a><a href="#associatedtype.Class-13" class="anchor">§</a><h4 class="code-header">type <a href="../widget/svg/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/enum.Svg.html" title="enum cosmic::style::Svg">Svg</a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/svg/trait.Catalog.html" title="trait cosmic::widget::svg::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1302-1304">Source</a><a href="#method.default-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/svg/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../widget/svg/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::svg::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/svg/trait.Catalog.html" title="trait cosmic::widget::svg::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1306-1312">Source</a><a href="#method.style-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/svg/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../widget/svg/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::svg::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../widget/svg/enum.Status.html" title="enum cosmic::widget::svg::Status">Status</a>) -> <a class="struct" href="../widget/svg/struct.Style.html" title="struct cosmic::widget::svg::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/svg/struct.Style.html" title="struct cosmic::widget::svg::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-14" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1334-1351">Source</a><a href="#impl-Catalog-for-Theme-14" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/text/trait.Catalog.html" title="trait cosmic::iced::widget::text::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-14" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1335">Source</a><a href="#associatedtype.Class-14" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/text/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/enum.Text.html" title="enum cosmic::style::Text">Text</a></h4></section></summary><div class='docblock'>The item class of this <a href="../iced/widget/text/trait.Catalog.html" title="trait cosmic::iced::widget::text::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1337-1339">Source</a><a href="#method.default-13" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/text/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/text/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::text::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by this <a href="../iced/widget/text/trait.Catalog.html" title="trait cosmic::iced::widget::text::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1341-1350">Source</a><a href="#method.style-13" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/text/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/text/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::text::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../iced/widget/text/struct.Style.html" title="struct cosmic::iced::widget::text::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/text/struct.Style.html" title="struct cosmic::iced::widget::text::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-15" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1363-1483">Source</a><a href="#impl-Catalog-for-Theme-15" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/text_input/trait.Catalog.html" title="trait cosmic::iced::widget::text_input::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-15" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1364">Source</a><a href="#associatedtype.Class-15" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/text_input/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/iced/enum.TextInput.html" title="enum cosmic::style::iced::TextInput">TextInput</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/text_input/trait.Catalog.html" title="trait cosmic::iced::widget::text_input::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1366-1368">Source</a><a href="#method.default-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/text_input/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/text_input/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::text_input::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/text_input/trait.Catalog.html" title="trait cosmic::iced::widget::text_input::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1370-1482">Source</a><a href="#method.style-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/text_input/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/text_input/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::text_input::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../iced/widget/text_input/enum.Status.html" title="enum cosmic::iced::widget::text_input::Status">Status</a>) -> <a class="struct" href="../iced/widget/text_input/struct.Style.html" title="struct cosmic::iced::widget::text_input::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/text_input/struct.Style.html" title="struct cosmic::iced::widget::text_input::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-16" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1492-1545">Source</a><a href="#impl-Catalog-for-Theme-16" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/text_editor/trait.Catalog.html" title="trait cosmic::widget::text_editor::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-16" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1493">Source</a><a href="#associatedtype.Class-16" class="anchor">§</a><h4 class="code-header">type <a href="../widget/text_editor/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/iced/enum.TextEditor.html" title="enum cosmic::style::iced::TextEditor">TextEditor</a><'a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/text_editor/trait.Catalog.html" title="trait cosmic::widget::text_editor::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1495-1497">Source</a><a href="#method.default-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_editor/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../widget/text_editor/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::text_editor::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/text_editor/trait.Catalog.html" title="trait cosmic::widget::text_editor::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1499-1544">Source</a><a href="#method.style-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_editor/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../widget/text_editor/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::text_editor::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../widget/text_editor/enum.Status.html" title="enum cosmic::widget::text_editor::Status">Status</a>) -> <a class="struct" href="../widget/text_editor/struct.Style.html" title="struct cosmic::widget::text_editor::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/text_editor/struct.Style.html" title="struct cosmic::widget::text_editor::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-17" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1559-1572">Source</a><a href="#impl-Catalog-for-Theme-17" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/table/trait.Catalog.html" title="trait cosmic::iced::widget::table::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-17" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1560">Source</a><a href="#associatedtype.Class-17" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/table/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <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><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.Fn.html" title="trait core::ops::function::Fn">Fn</a>(&<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>) -> <a class="struct" href="../iced/widget/table/struct.Style.html" title="struct cosmic::iced::widget::table::Style">Style</a> + 'a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/table/trait.Catalog.html" title="trait cosmic::iced::widget::table::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1562-1567">Source</a><a href="#method.default-16" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/table/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/table/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::table::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/table/trait.Catalog.html" title="trait cosmic::iced::widget::table::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1569-1571">Source</a><a href="#method.style-16" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/table/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/table/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::table::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../iced/widget/table/struct.Style.html" title="struct cosmic::iced::widget::table::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/table/struct.Style.html" title="struct cosmic::iced::widget::table::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-18" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#1590">Source</a><a href="#impl-Catalog-for-Theme-18" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/combo_box/trait.Catalog.html" title="trait cosmic::widget::combo_box::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default_input" class="method trait-impl"><a href="#method.default_input" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/combo_box/trait.Catalog.html#method.default_input" class="fn">default_input</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/text_input/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::text_input::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class for the text input of the <a href="../widget/struct.ComboBox.html" title="struct cosmic::widget::ComboBox"><code>ComboBox</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default_menu-1" class="method trait-impl"><a href="#method.default_menu-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/combo_box/trait.Catalog.html#method.default_menu" class="fn">default_menu</a><'a>() -> Self::<a class="associatedtype" href="../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::overlay::menu::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class for the menu of the <a href="../widget/struct.ComboBox.html" title="struct cosmic::widget::ComboBox"><code>ComboBox</code></a>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-19" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/tooltip.rs.html#11-31">Source</a><a href="#impl-Catalog-for-Theme-19" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/wayland/tooltip/trait.Catalog.html" title="trait cosmic::widget::wayland::tooltip::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux and crate feature <code>winit</code></strong> only.</div></span></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-18" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/tooltip.rs.html#12">Source</a><a href="#associatedtype.Class-18" class="anchor">§</a><h4 class="code-header">type <a href="../widget/wayland/tooltip/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a> = <a class="enum" href="../style/tooltip/enum.Tooltip.html" title="enum cosmic::style::tooltip::Tooltip">Tooltip</a></h4></section></summary><div class='docblock'>The supported style of the [<code>StyleSheet</code>].</div></details><details class="toggle method-toggle" open><summary><section id="method.style-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/tooltip.rs.html#14-30">Source</a><a href="#method.style-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/wayland/tooltip/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, style: &Self::<a class="associatedtype" href="../widget/wayland/tooltip/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::wayland::tooltip::Catalog::Class">Class</a>) -> <a class="struct" href="../widget/wayland/tooltip/struct.Style.html" title="struct cosmic::widget::wayland::tooltip::Style">Style</a></h4></section></summary><div class='docblock'>Produces the active [<code>Appearance</code>] of a tooltip.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-2" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#187-383">Source</a><a href="#impl-Catalog-for-Theme-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/checkbox/trait.Catalog.html" title="trait cosmic::widget::checkbox::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#188">Source</a><a href="#associatedtype.Class-2" class="anchor">§</a><h4 class="code-header">type <a href="../widget/checkbox/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/enum.Checkbox.html" title="enum cosmic::style::Checkbox">Checkbox</a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/checkbox/trait.Catalog.html" title="trait cosmic::widget::checkbox::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#190-192">Source</a><a href="#method.default-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/checkbox/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../widget/checkbox/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::checkbox::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/checkbox/trait.Catalog.html" title="trait cosmic::widget::checkbox::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#195-382">Source</a><a href="#method.style-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/checkbox/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../widget/checkbox/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::checkbox::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../widget/checkbox/enum.Status.html" title="enum cosmic::widget::checkbox::Status">Status</a>) -> <a class="struct" href="../widget/checkbox/struct.Style.html" title="struct cosmic::widget::checkbox::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/checkbox/struct.Style.html" title="struct cosmic::widget::checkbox::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-20" class="impl"><a class="src rightside" href="../../src/cosmic/widget/card/style.rs.html#28-47">Source</a><a href="#impl-Catalog-for-Theme-20" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/card/style/trait.Catalog.html" title="trait cosmic::widget::card::style::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/card/style.rs.html#29-46">Source</a><a href="#method.default-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/card/style/trait.Catalog.html#tymethod.default" class="fn">default</a>(&self) -> <a class="struct" href="../widget/card/style/struct.Style.html" title="struct cosmic::widget::card::style::Style">Style</a></h4></section></summary><div class='docblock'>The default [<code>Appearance</code>] of the cards.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-3" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#467-671">Source</a><a href="#impl-Catalog-for-Theme-3" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/aspect_ratio/trait.Catalog.html" title="trait cosmic::widget::aspect_ratio::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#468">Source</a><a href="#associatedtype.Class-3" class="anchor">§</a><h4 class="code-header">type <a href="../widget/aspect_ratio/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/enum.Container.html" title="enum cosmic::style::Container">Container</a><'a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/aspect_ratio/trait.Catalog.html" title="trait cosmic::widget::aspect_ratio::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#470-472">Source</a><a href="#method.default-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/aspect_ratio/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../widget/aspect_ratio/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::aspect_ratio::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/aspect_ratio/trait.Catalog.html" title="trait cosmic::widget::aspect_ratio::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#474-670">Source</a><a href="#method.style-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/aspect_ratio/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../widget/aspect_ratio/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::aspect_ratio::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../widget/aspect_ratio/struct.Style.html" title="struct cosmic::widget::aspect_ratio::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/aspect_ratio/struct.Style.html" title="struct cosmic::widget::aspect_ratio::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-4" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#687-788">Source</a><a href="#impl-Catalog-for-Theme-4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/slider/trait.Catalog.html" title="trait cosmic::widget::slider::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#688">Source</a><a href="#associatedtype.Class-4" class="anchor">§</a><h4 class="code-header">type <a href="../widget/slider/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="enum" href="../style/iced/enum.Slider.html" title="enum cosmic::style::iced::Slider">Slider</a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/slider/trait.Catalog.html" title="trait cosmic::widget::slider::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#690-692">Source</a><a href="#method.default-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/slider/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../widget/slider/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::slider::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/slider/trait.Catalog.html" title="trait cosmic::widget::slider::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#694-787">Source</a><a href="#method.style-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/slider/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../widget/slider/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::slider::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../widget/slider/enum.Status.html" title="enum cosmic::widget::slider::Status">Status</a>) -> <a class="struct" href="../widget/slider/struct.Style.html" title="struct cosmic::widget::slider::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/slider/struct.Style.html" title="struct cosmic::widget::slider::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-5" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#790-810">Source</a><a href="#impl-Catalog-for-Theme-5" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/overlay/menu/trait.Catalog.html" title="trait cosmic::iced::overlay::menu::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-5" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#791">Source</a><a href="#associatedtype.Class-5" class="anchor">§</a><h4 class="code-header">type <a href="../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/overlay/menu/trait.Catalog.html" title="trait cosmic::iced::overlay::menu::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#793">Source</a><a href="#method.default-4" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/overlay/menu/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> <Self as <a class="trait" href="../iced/overlay/menu/trait.Catalog.html" title="trait cosmic::iced::overlay::menu::Catalog">Catalog</a>>::<a class="associatedtype" href="../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::overlay::menu::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/overlay/menu/trait.Catalog.html" title="trait cosmic::iced::overlay::menu::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#795-809">Source</a><a href="#method.style-4" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/overlay/menu/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &<Self as <a class="trait" href="../iced/overlay/menu/trait.Catalog.html" title="trait cosmic::iced::overlay::menu::Catalog">Catalog</a>>::<a class="associatedtype" href="../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::overlay::menu::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../iced/overlay/menu/struct.Style.html" title="struct cosmic::iced::overlay::menu::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/overlay/menu/struct.Style.html" title="struct cosmic::iced::overlay::menu::Style"><code>Style</code></a> of a class with the given status.</div></details><details class="toggle method-toggle" open><summary><section id="method.default_scrollable" class="method trait-impl"><a href="#method.default_scrollable" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/overlay/menu/trait.Catalog.html#method.default_scrollable" class="fn">default_scrollable</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/scrollable/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::scrollable::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class for the scrollable of the <a href="../iced/overlay/menu/struct.Menu.html" title="struct cosmic::iced::overlay::menu::Menu"><code>Menu</code></a>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-6" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#812-850">Source</a><a href="#impl-Catalog-for-Theme-6" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/dropdown/multi/trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-6" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#813">Source</a><a href="#associatedtype.Class-6" class="anchor">§</a><h4 class="code-header">type <a href="../widget/dropdown/multi/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/dropdown/multi/trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#815">Source</a><a href="#method.default-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/dropdown/multi/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> <Self as <a class="trait" href="../widget/dropdown/multi/trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog">Catalog</a>>::<a class="associatedtype" href="../widget/dropdown/multi/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::dropdown::multi::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/dropdown/multi/trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#817-849">Source</a><a href="#method.style-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/dropdown/multi/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &<Self as <a class="trait" href="../widget/dropdown/multi/trait.Catalog.html" title="trait cosmic::widget::dropdown::multi::Catalog">Catalog</a>>::<a class="associatedtype" href="../widget/dropdown/multi/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::dropdown::multi::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../iced/widget/pick_list/enum.Status.html" title="enum cosmic::iced::widget::pick_list::Status">Status</a>) -> <a class="struct" href="../widget/dropdown/multi/struct.Style.html" title="struct cosmic::widget::dropdown::multi::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/dropdown/multi/struct.Style.html" title="struct cosmic::widget::dropdown::multi::Style"><code>Style</code></a> of a class with the given status.</div></details><details class="toggle method-toggle" open><summary><section id="method.default_menu" class="method trait-impl"><a href="#method.default_menu" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/dropdown/multi/trait.Catalog.html#method.default_menu" class="fn">default_menu</a><'a>() -> Self::<a class="associatedtype" href="../iced/overlay/menu/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::overlay::menu::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>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>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-7" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#855-903">Source</a><a href="#impl-Catalog-for-Theme-7" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/radio/trait.Catalog.html" title="trait cosmic::widget::radio::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-7" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#856">Source</a><a href="#associatedtype.Class-7" class="anchor">§</a><h4 class="code-header">type <a href="../widget/radio/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The item class of the <a href="../widget/radio/trait.Catalog.html" title="trait cosmic::widget::radio::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#858">Source</a><a href="#method.default-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/radio/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../widget/radio/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::radio::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../widget/radio/trait.Catalog.html" title="trait cosmic::widget::radio::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#860-902">Source</a><a href="#method.style-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/radio/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../widget/radio/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::radio::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../iced/widget/radio/enum.Status.html" title="enum cosmic::iced::widget::radio::Status">Status</a>) -> <a class="struct" href="../iced/widget/radio/struct.Style.html" title="struct cosmic::iced::widget::radio::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/radio/struct.Style.html" title="struct cosmic::iced::widget::radio::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-8" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#908-968">Source</a><a href="#impl-Catalog-for-Theme-8" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/widget/toggler/trait.Catalog.html" title="trait cosmic::iced::widget::toggler::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-8" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#909">Source</a><a href="#associatedtype.Class-8" class="anchor">§</a><h4 class="code-header">type <a href="../iced/widget/toggler/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The item class of the <a href="../iced/widget/toggler/trait.Catalog.html" title="trait cosmic::iced::widget::toggler::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#911">Source</a><a href="#method.default-7" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/toggler/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> Self::<a class="associatedtype" href="../iced/widget/toggler/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::toggler::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by the <a href="../iced/widget/toggler/trait.Catalog.html" title="trait cosmic::iced::widget::toggler::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#913-967">Source</a><a href="#method.style-7" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/widget/toggler/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &Self::<a class="associatedtype" href="../iced/widget/toggler/trait.Catalog.html#associatedtype.Class" title="type cosmic::iced::widget::toggler::Catalog::Class">Class</a><'_>, status: <a class="enum" href="../iced/widget/toggler/enum.Status.html" title="enum cosmic::iced::widget::toggler::Status">Status</a>) -> <a class="struct" href="../iced/widget/toggler/struct.Style.html" title="struct cosmic::iced::widget::toggler::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../iced/widget/toggler/struct.Style.html" title="struct cosmic::iced::widget::toggler::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Catalog-for-Theme-9" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#973-1000">Source</a><a href="#impl-Catalog-for-Theme-9" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/pane_grid/trait.Catalog.html" title="trait cosmic::widget::pane_grid::Catalog">Catalog</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Class-9" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#974">Source</a><a href="#associatedtype.Class-9" class="anchor">§</a><h4 class="code-header">type <a href="../widget/pane_grid/trait.Catalog.html#associatedtype.Class" class="associatedtype">Class</a><'a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The item class of this <a href="../widget/pane_grid/trait.Catalog.html" title="trait cosmic::widget::pane_grid::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.default-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#976">Source</a><a href="#method.default-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/pane_grid/trait.Catalog.html#tymethod.default" class="fn">default</a><'a>() -> <Self as <a class="trait" href="../widget/pane_grid/trait.Catalog.html" title="trait cosmic::widget::pane_grid::Catalog">Catalog</a>>::<a class="associatedtype" href="../widget/pane_grid/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::pane_grid::Catalog::Class">Class</a><'a></h4></section></summary><div class='docblock'>The default class produced by this <a href="../widget/pane_grid/trait.Catalog.html" title="trait cosmic::widget::pane_grid::Catalog"><code>Catalog</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.style-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/iced.rs.html#978-999">Source</a><a href="#method.style-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/pane_grid/trait.Catalog.html#tymethod.style" class="fn">style</a>(&self, class: &<Self as <a class="trait" href="../widget/pane_grid/trait.Catalog.html" title="trait cosmic::widget::pane_grid::Catalog">Catalog</a>>::<a class="associatedtype" href="../widget/pane_grid/trait.Catalog.html#associatedtype.Class" title="type cosmic::widget::pane_grid::Catalog::Class">Class</a><'_>) -> <a class="struct" href="../widget/pane_grid/struct.Style.html" title="struct cosmic::widget::pane_grid::Style">Style</a></h4></section></summary><div class='docblock'>The <a href="../widget/pane_grid/struct.Style.html" title="struct cosmic::widget::pane_grid::Style"><code>Style</code></a> of a class with the given status.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Clone-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#impl-Clone-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#method.clone" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fn">clone</a>(&self) -> <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h4></section></summary><div class='docblock'>Returns a duplicate of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_from" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#213-215">Source</a></span><a href="#method.clone_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fn">clone_from</a>(&mut self, source: &Self)</h4></section></summary><div class='docblock'>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Debug-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#impl-Debug-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Debug">Debug</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fmt" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#method.fmt" class="anchor">§</a><h4 class="code-header">fn <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html#tymethod.fmt" class="fn">fmt</a>(&self, f: &mut <a class="struct" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/struct.Formatter.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/type.Result.html" title="type cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Result">Result</a></h4></section></summary><div class='docblock'>Formats the value using the given formatter. <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html#tymethod.fmt">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Default-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#impl-Default-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#method.default-18" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fn">default</a>() -> <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h4></section></summary><div class='docblock'>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-DefaultStyle-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#306-315">Source</a><a href="#impl-DefaultStyle-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../iced/daemon/program/runtime/trait.DefaultStyle.html" title="trait cosmic::iced::daemon::program::runtime::DefaultStyle">DefaultStyle</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.default_style" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#307-314">Source</a><a href="#method.default_style" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/daemon/program/runtime/trait.DefaultStyle.html#tymethod.default_style" class="fn">default_style</a>(&self) -> <a class="struct" href="../iced/daemon/program/runtime/struct.Appearance.html" title="struct cosmic::iced::daemon::program::runtime::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Returns the default style of a [<code>Program</code>].</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-LayeredTheme-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#299-304">Source</a><a href="#impl-LayeredTheme-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../cosmic_theme/trait.LayeredTheme.html" title="trait cosmic::cosmic_theme::LayeredTheme">LayeredTheme</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.set_layer" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#301-303">Source</a><a href="#method.set_layer" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/trait.LayeredTheme.html#tymethod.set_layer" class="fn">set_layer</a>(&mut self, layer: <a class="enum" href="../cosmic_theme/enum.Layer.html" title="enum cosmic::cosmic_theme::Layer">Layer</a>)</h4></section></summary><div class='docblock'>Set the layer of the theme</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Overlay%3CMessage,+Theme,+Renderer%3E-for-Overlay%3C'_,+'_,+Message,+Renderer%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#340-477">Source</a><a href="#impl-Overlay%3CMessage,+Theme,+Renderer%3E-for-Overlay%3C'_,+'_,+Message,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl<Message, Renderer> <a class="trait" href="../iced/advanced/trait.Overlay.html" title="trait cosmic::iced::advanced::Overlay">Overlay</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/popover/struct.Overlay.html" title="struct cosmic::widget::popover::Overlay">Overlay</a><'_, '_, Message, Renderer><div class="where">where
|
||
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
|
||
Renderer: <a class="trait" href="../iced/advanced/trait.Renderer.html" title="trait cosmic::iced::advanced::Renderer">Renderer</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.layout-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#346-383">Source</a><a href="#method.layout-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#tymethod.layout" class="fn">layout</a>(&mut self, renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>, bounds: <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a>) -> <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></h4></section></summary><div class='docblock'>Returns the layout <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>Node</code></a> of the <a href="../iced/advanced/trait.Overlay.html" title="trait cosmic::iced::advanced::Overlay"><code>Overlay</code></a>. <a href="../iced/advanced/trait.Overlay.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#385-394">Source</a><a href="#method.operate-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>crate::widget::Operation</code></a> to the <a href="../iced/advanced/trait.Overlay.html" title="trait cosmic::iced::advanced::Overlay"><code>Overlay</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#396-423">Source</a><a href="#method.update-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../iced/advanced/trait.Overlay.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#425-442">Source</a><a href="#method.mouse_interaction-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../iced/advanced/trait.Overlay.html" title="trait cosmic::iced::advanced::Overlay"><code>Overlay</code></a>. <a href="../iced/advanced/trait.Overlay.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#444-462">Source</a><a href="#method.draw-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../iced/advanced/trait.Overlay.html" title="trait cosmic::iced::advanced::Overlay"><code>Overlay</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#464-476">Source</a><a href="#method.overlay-14" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#method.overlay" class="fn">overlay</a><'c>(
|
||
&'c mut self,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'c>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'c, Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer>></h4></section></summary><div class='docblock'>Returns the nested overlay of the <a href="../iced/advanced/trait.Overlay.html" title="trait cosmic::iced::advanced::Overlay"><code>Overlay</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.index" class="method trait-impl"><a href="#method.index" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/advanced/trait.Overlay.html#method.index" class="fn">index</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h4></section></summary><div class='docblock'>The index of the overlay. <a href="../iced/advanced/trait.Overlay.html#method.index">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-PartialEq-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#impl-PartialEq-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.eq" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#method.eq" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq" class="fn">eq</a>(&self, other: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.ne" class="method trait-impl"><span class="rightside"><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span> · <a class="src" href="https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#265">Source</a></span><a href="#method.ne" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne" class="fn">ne</a>(&self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Rhs</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section></summary><div class='docblock'>Tests for <code>!=</code>. The default implementation is almost always sufficient,
|
||
and should not be overridden without very good reason.</div></details></div></details><details class="toggle implementors-toggle" open><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="../widget/dropdown/menu/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"><details class="toggle" open><summary><section id="associatedtype.Style" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/dropdown.rs.html#9">Source</a><a href="#associatedtype.Style" class="anchor">§</a><h4 class="code-header">type <a href="../widget/dropdown/menu/trait.StyleSheet.html#associatedtype.Style" class="associatedtype">Style</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The supported style of the <a href="../widget/dropdown/menu/trait.StyleSheet.html" title="trait cosmic::widget::dropdown::menu::StyleSheet"><code>StyleSheet</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.appearance" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/dropdown.rs.html#11-29">Source</a><a href="#method.appearance" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/dropdown/menu/trait.StyleSheet.html#tymethod.appearance" class="fn">appearance</a>(&self, _style: &Self::<a class="associatedtype" href="../widget/dropdown/menu/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::dropdown::menu::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/dropdown/menu/struct.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the <a href="../widget/dropdown/menu/struct.Appearance.html" title="struct cosmic::widget::dropdown::menu::Appearance"><code>Appearance</code></a> of a menu.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-StyleSheet-for-Theme-1" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/menu_bar.rs.html#62-82">Source</a><a href="#impl-StyleSheet-for-Theme-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../style/menu_bar/trait.StyleSheet.html" title="trait cosmic::style::menu_bar::StyleSheet">StyleSheet</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Style-1" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/menu_bar.rs.html#63">Source</a><a href="#associatedtype.Style-1" class="anchor">§</a><h4 class="code-header">type <a href="../style/menu_bar/trait.StyleSheet.html#associatedtype.Style" class="associatedtype">Style</a> = <a class="enum" href="../style/menu_bar/enum.MenuBarStyle.html" title="enum cosmic::style::menu_bar::MenuBarStyle">MenuBarStyle</a></h4></section></summary><div class='docblock'>The supported style of the <a href="../style/menu_bar/trait.StyleSheet.html" title="trait cosmic::style::menu_bar::StyleSheet"><code>StyleSheet</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.appearance-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/menu_bar.rs.html#65-81">Source</a><a href="#method.appearance-1" class="anchor">§</a><h4 class="code-header">fn <a href="../style/menu_bar/trait.StyleSheet.html#tymethod.appearance" class="fn">appearance</a>(&self, style: &Self::<a class="associatedtype" href="../style/menu_bar/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::style::menu_bar::StyleSheet::Style">Style</a>) -> <a class="struct" href="../style/menu_bar/struct.Appearance.html" title="struct cosmic::style::menu_bar::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the <a href="../style/menu_bar/struct.Appearance.html" title="struct cosmic::style::menu_bar::Appearance"><code>Appearance</code></a> of a menu bar and its menus.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-StyleSheet-for-Theme-2" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/segmented_button.rs.html#27-139">Source</a><a href="#impl-StyleSheet-for-Theme-2" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/segmented_button/trait.StyleSheet.html" title="trait cosmic::widget::segmented_button::StyleSheet">StyleSheet</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Style-2" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/segmented_button.rs.html#28">Source</a><a href="#associatedtype.Style-2" class="anchor">§</a><h4 class="code-header">type <a href="../widget/segmented_button/trait.StyleSheet.html#associatedtype.Style" class="associatedtype">Style</a> = <a class="enum" href="../style/enum.SegmentedButton.html" title="enum cosmic::style::SegmentedButton">SegmentedButton</a></h4></section></summary><div class='docblock'>The supported style of the <a href="../widget/segmented_button/trait.StyleSheet.html" title="trait cosmic::widget::segmented_button::StyleSheet"><code>StyleSheet</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.horizontal" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/segmented_button.rs.html#31-83">Source</a><a href="#method.horizontal" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/segmented_button/trait.StyleSheet.html#tymethod.horizontal" class="fn">horizontal</a>(&self, style: &Self::<a class="associatedtype" href="../widget/segmented_button/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::segmented_button::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/segmented_button/struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a></h4></section></summary><div class='docblock'>The horizontal <a href="../widget/segmented_button/struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance"><code>Appearance</code></a> of the segmented button.</div></details><details class="toggle method-toggle" open><summary><section id="method.vertical" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/segmented_button.rs.html#86-138">Source</a><a href="#method.vertical" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/segmented_button/trait.StyleSheet.html#tymethod.vertical" class="fn">vertical</a>(&self, style: &Self::<a class="associatedtype" href="../widget/segmented_button/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::segmented_button::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/segmented_button/struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance">Appearance</a></h4></section></summary><div class='docblock'>The vertical <a href="../widget/segmented_button/struct.Appearance.html" title="struct cosmic::widget::segmented_button::Appearance"><code>Appearance</code></a> of the segmented button.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-StyleSheet-for-Theme-3" class="impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#28-368">Source</a><a href="#impl-StyleSheet-for-Theme-3" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/text_input/trait.StyleSheet.html" title="trait cosmic::widget::text_input::StyleSheet">StyleSheet</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Style-3" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#29">Source</a><a href="#associatedtype.Style-3" class="anchor">§</a><h4 class="code-header">type <a href="../widget/text_input/trait.StyleSheet.html#associatedtype.Style" class="associatedtype">Style</a> = <a class="enum" href="../style/enum.TextInput.html" title="enum cosmic::style::TextInput">TextInput</a></h4></section></summary><div class='docblock'>The supported style of the <a href="../widget/text_input/trait.StyleSheet.html" title="trait cosmic::widget::text_input::StyleSheet"><code>StyleSheet</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.active-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#31-122">Source</a><a href="#method.active-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_input/trait.StyleSheet.html#tymethod.active" class="fn">active</a>(&self, style: &Self::<a class="associatedtype" href="../widget/text_input/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/text_input/struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the style of an active text input.</div></details><details class="toggle method-toggle" open><summary><section id="method.error" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#124-185">Source</a><a href="#method.error" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_input/trait.StyleSheet.html#tymethod.error" class="fn">error</a>(&self, style: &Self::<a class="associatedtype" href="../widget/text_input/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/text_input/struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the style of an errored text input.</div></details><details class="toggle method-toggle" open><summary><section id="method.hovered-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#187-280">Source</a><a href="#method.hovered-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_input/trait.StyleSheet.html#method.hovered" class="fn">hovered</a>(&self, style: &Self::<a class="associatedtype" href="../widget/text_input/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/text_input/struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the style of an hovered text input.</div></details><details class="toggle method-toggle" open><summary><section id="method.focused" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#282-359">Source</a><a href="#method.focused" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_input/trait.StyleSheet.html#tymethod.focused" class="fn">focused</a>(&self, style: &Self::<a class="associatedtype" href="../widget/text_input/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/text_input/struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the style of a focused text input.</div></details><details class="toggle method-toggle" open><summary><section id="method.disabled-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/theme/style/text_input.rs.html#361-367">Source</a><a href="#method.disabled-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/text_input/trait.StyleSheet.html#tymethod.disabled" class="fn">disabled</a>(&self, style: &Self::<a class="associatedtype" href="../widget/text_input/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::text_input::StyleSheet::Style">Style</a>) -> <a class="struct" href="../widget/text_input/struct.Appearance.html" title="struct cosmic::widget::text_input::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the style of a disabled text input.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-StyleSheet-for-Theme-4" class="impl"><a class="src rightside" href="../../src/cosmic/widget/progress_bar/style.rs.html#60-105">Source</a><a href="#impl-StyleSheet-for-Theme-4" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="../widget/style/trait.StyleSheet.html" title="trait cosmic::widget::style::StyleSheet">StyleSheet</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Style-4" class="associatedtype trait-impl"><a class="src rightside" href="../../src/cosmic/widget/progress_bar/style.rs.html#61">Source</a><a href="#associatedtype.Style-4" class="anchor">§</a><h4 class="code-header">type <a href="../widget/style/trait.StyleSheet.html#associatedtype.Style" class="associatedtype">Style</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></h4></section></summary><div class='docblock'>The supported style of the <a href="../widget/style/trait.StyleSheet.html" title="trait cosmic::widget::style::StyleSheet"><code>StyleSheet</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.appearance-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/progress_bar/style.rs.html#63-104">Source</a><a href="#method.appearance-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/style/trait.StyleSheet.html#tymethod.appearance" class="fn">appearance</a>(
|
||
&self,
|
||
_style: &Self::<a class="associatedtype" href="../widget/style/trait.StyleSheet.html#associatedtype.Style" title="type cosmic::widget::style::StyleSheet::Style">Style</a>,
|
||
is_determinate: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
is_circular: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>,
|
||
) -> <a class="struct" href="../widget/style/struct.Appearance.html" title="struct cosmic::widget::style::Appearance">Appearance</a></h4></section></summary><div class='docblock'>Produces the active <a href="../widget/style/struct.Appearance.html" title="struct cosmic::widget::style::Appearance"><code>Appearance</code></a> of a indicator.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CM,+Theme,+Renderer%3E-for-RcElementWrapper%3CM%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#83-215">Source</a><a href="#impl-Widget%3CM,+Theme,+Renderer%3E-for-RcElementWrapper%3CM%3E" class="anchor">§</a><h3 class="code-header">impl<M> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><M, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.RcElementWrapper.html" title="struct cosmic::widget::RcElementWrapper">RcElementWrapper</a><M></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.size-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#84-86">Source</a><a href="#method.size-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#88-90">Source</a><a href="#method.size_hint-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.layout-21" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#92-100">Source</a><a href="#method.layout-21" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-21" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#102-116">Source</a><a href="#method.draw-21" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#118-120">Source</a><a href="#method.tag-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#122-124">Source</a><a href="#method.state-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#126-128">Source</a><a href="#method.children-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#130-132">Source</a><a href="#method.diff-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.operate-21" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#134-145">Source</a><a href="#method.operate-21" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
state: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-21" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#147-163">Source</a><a href="#method.update-21" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
state: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, M>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-21" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#165-177">Source</a><a href="#method.mouse_interaction-21" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-21" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#179-193">Source</a><a href="#method.overlay-21" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'a>(
|
||
&'a mut self,
|
||
state: &'a mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'a, M, <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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#195-197">Source</a><a href="#method.id-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#199-201">Source</a><a href="#method.set_id-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wrapper.rs.html#203-214">Source</a><a href="#method.drag_destinations-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-20" class="method trait-impl"><a href="#method.a11y_nodes-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-AspectRatio%3C'_,+Message,+Renderer%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#157-276">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-AspectRatio%3C'_,+Message,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl<Message, Renderer> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/aspect_ratio/struct.AspectRatio.html" title="struct cosmic::widget::aspect_ratio::AspectRatio">AspectRatio</a><'_, Message, Renderer><div class="where">where
|
||
Renderer: <a class="trait" href="../iced/advanced/trait.Renderer.html" title="trait cosmic::iced::advanced::Renderer">Renderer</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#268-275">Source</a><a href="#method.a11y_nodes" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#162-164">Source</a><a href="#method.children" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#166-168">Source</a><a href="#method.diff" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#170-172">Source</a><a href="#method.size" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#174-186">Source</a><a href="#method.layout" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#188-196">Source</a><a href="#method.operate" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#198-219">Source</a><a href="#method.update" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#221-231">Source</a><a href="#method.mouse_interaction" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#233-252">Source</a><a href="#method.draw" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/aspect_ratio.rs.html#254-264">Source</a><a href="#method.overlay" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint" class="method trait-impl"><a href="#method.size_hint" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag" class="method trait-impl"><a href="#method.tag" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state" class="method trait-impl"><a href="#method.state" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.id" class="method trait-impl"><a href="#method.id" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id" class="method trait-impl"><a href="#method.set_id" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations" class="method trait-impl"><a href="#method.drag_destinations" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Button%3C'a,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#297-721">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Button%3C'a,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<'a, Message: 'a + <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.Button.html" title="struct cosmic::widget::Button">Button</a><'a, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#644-712">Source</a><a href="#method.a11y_nodes-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#300-302">Source</a><a href="#method.tag-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#304-306">Source</a><a href="#method.state-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#308-310">Source</a><a href="#method.children-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#312-314">Source</a><a href="#method.diff-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#316-318">Source</a><a href="#method.size-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#320-338">Source</a><a href="#method.layout-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#340-362">Source</a><a href="#method.operate-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#364-424">Source</a><a href="#method.update-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#427-601">Source</a><a href="#method.draw-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#603-616">Source</a><a href="#method.mouse_interaction-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#618-640">Source</a><a href="#method.overlay-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#714-716">Source</a><a href="#method.id-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-1" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/button/widget.rs.html#718-720">Source</a><a href="#method.set_id-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-1" class="method trait-impl"><a href="#method.size_hint-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-1" class="method trait-impl"><a href="#method.drag_destinations-1" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ColorPicker%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#525-781">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ColorPicker%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.ColorPicker.html" title="struct cosmic::widget::ColorPicker">ColorPicker</a><'_, Message><div class="where">where
|
||
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tag-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#529-531">Source</a><a href="#method.tag-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#533-535">Source</a><a href="#method.state-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#537-539">Source</a><a href="#method.diff-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#541-543">Source</a><a href="#method.children-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#545-554">Source</a><a href="#method.layout-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#557-679">Source</a><a href="#method.draw-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#681-696">Source</a><a href="#method.overlay-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
state: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#698-776">Source</a><a href="#method.update-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.size-2" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/color_picker/mod.rs.html#778-780">Source</a><a href="#method.size-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-2" class="method trait-impl"><a href="#method.size_hint-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-2" class="method trait-impl"><a href="#method.operate-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
_tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-2" class="method trait-impl"><a href="#method.mouse_interaction-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-2" class="method trait-impl"><a href="#method.a11y_nodes-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details><details class="toggle method-toggle" open><summary><section id="method.id-2" class="method trait-impl"><a href="#method.id-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-2" class="method trait-impl"><a href="#method.set_id-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-2" class="method trait-impl"><a href="#method.drag_destinations-2" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ContextDrawer%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#185-338">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ContextDrawer%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message: <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.ContextDrawer.html" title="struct cosmic::widget::ContextDrawer">ContextDrawer</a><'_, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#306-314">Source</a><a href="#method.a11y_nodes-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#186-188">Source</a><a href="#method.children-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#190-192">Source</a><a href="#method.diff-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#194-196">Source</a><a href="#method.size-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#198-207">Source</a><a href="#method.layout-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#209-219">Source</a><a href="#method.operate-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#221-242">Source</a><a href="#method.update-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#244-259">Source</a><a href="#method.mouse_interaction-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#261-280">Source</a><a href="#method.draw-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#282-302">Source</a><a href="#method.overlay-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#316-329">Source</a><a href="#method.drag_destinations-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#331-333">Source</a><a href="#method.id-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-3" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_drawer/widget.rs.html#335-337">Source</a><a href="#method.set_id-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-3" class="method trait-impl"><a href="#method.size_hint-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag-3" class="method trait-impl"><a href="#method.tag-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-3" class="method trait-impl"><a href="#method.state-3" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ContextMenu%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#218-546">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-ContextMenu%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message: 'static + <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.ContextMenu.html" title="struct cosmic::widget::ContextMenu">ContextMenu</a><'_, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#537-545">Source</a><a href="#method.a11y_nodes-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#221-223">Source</a><a href="#method.tag-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#225-232">Source</a><a href="#method.state-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#234-260">Source</a><a href="#method.children-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#262-277">Source</a><a href="#method.diff-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#279-281">Source</a><a href="#method.size-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#283-292">Source</a><a href="#method.layout-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#294-313">Source</a><a href="#method.draw-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.operate-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#315-325">Source</a><a href="#method.operate-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#328-472">Source</a><a href="#method.update-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-5" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/context_menu.rs.html#474-533">Source</a><a href="#method.overlay-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-5" class="method trait-impl"><a href="#method.size_hint-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-5" class="method trait-impl"><a href="#method.mouse_interaction-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.id-5" class="method trait-impl"><a href="#method.id-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-5" class="method trait-impl"><a href="#method.set_id-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-5" class="method trait-impl"><a href="#method.drag_destinations-5" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-DndDestination%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#283-679">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-DndDestination%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message: 'static> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.DndDestination.html" title="struct cosmic::widget::DndDestination">DndDestination</a><'_, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#670-678">Source</a><a href="#method.a11y_nodes-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#286-288">Source</a><a href="#method.children-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#290-292">Source</a><a href="#method.tag-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#294-296">Source</a><a href="#method.diff-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#298-300">Source</a><a href="#method.state-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#302-304">Source</a><a href="#method.size-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#306-315">Source</a><a href="#method.layout-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#317-327">Source</a><a href="#method.operate-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#330-562">Source</a><a href="#method.update-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#564-579">Source</a><a href="#method.mouse_interaction-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#581-600">Source</a><a href="#method.draw-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#602-617">Source</a><a href="#method.overlay-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="type" href="../iced/overlay/type.Element.html" title="type cosmic::iced::overlay::Element">Element</a><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#619-658">Source</a><a href="#method.drag_destinations-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#660-662">Source</a><a href="#method.id-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-6" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_destination.rs.html#664-666">Source</a><a href="#method.set_id-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-6" class="method trait-impl"><a href="#method.size_hint-6" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-DndSource%3C'_,+Message,+D%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#159-401">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-DndSource%3C'_,+Message,+D%3E" class="anchor">§</a><h3 class="code-header">impl<Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static, D: <a class="trait" href="../iced/clipboard/mime/trait.AsMimeTypes.html" title="trait cosmic::iced::clipboard::mime::AsMimeTypes">AsMimeTypes</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.DndSource.html" title="struct cosmic::widget::DndSource">DndSource</a><'_, Message, D></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#392-400">Source</a><a href="#method.a11y_nodes-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#162-164">Source</a><a href="#method.children-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#166-168">Source</a><a href="#method.tag-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#170-172">Source</a><a href="#method.diff-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#174-176">Source</a><a href="#method.state-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#178-180">Source</a><a href="#method.size-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#182-195">Source</a><a href="#method.layout-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#197-213">Source</a><a href="#method.operate-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#215-306">Source</a><a href="#method.update-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#308-327">Source</a><a href="#method.mouse_interaction-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#329-348">Source</a><a href="#method.draw-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#350-365">Source</a><a href="#method.overlay-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="type" href="../iced/overlay/type.Element.html" title="type cosmic::iced::overlay::Element">Element</a><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#367-380">Source</a><a href="#method.drag_destinations-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#382-384">Source</a><a href="#method.id-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-7" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dnd_source.rs.html#386-388">Source</a><a href="#method.set_id-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-7" class="method trait-impl"><a href="#method.size_hint-7" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Dropdown%3C'_,+S,+Message,+AppMessage%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#167-384">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Dropdown%3C'_,+S,+Message,+AppMessage%3E" class="anchor">§</a><h3 class="code-header">impl<S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</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> + <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>, AppMessage: 'static + <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.Dropdown.html" title="struct cosmic::widget::Dropdown">Dropdown</a><'_, S, Message, AppMessage><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></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tag-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#175-177">Source</a><a href="#method.tag-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#179-181">Source</a><a href="#method.state-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#183-223">Source</a><a href="#method.diff-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#225-227">Source</a><a href="#method.size-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#229-253">Source</a><a href="#method.layout-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#255-287">Source</a><a href="#method.update-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#289-298">Source</a><a href="#method.mouse_interaction-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#300-327">Source</a><a href="#method.draw-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.operate-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#329-339">Source</a><a href="#method.operate-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-9" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/widget.rs.html#341-372">Source</a><a href="#method.overlay-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-9" class="method trait-impl"><a href="#method.size_hint-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.children-9" class="method trait-impl"><a href="#method.children-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-9" class="method trait-impl"><a href="#method.a11y_nodes-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details><details class="toggle method-toggle" open><summary><section id="method.id-9" class="method trait-impl"><a href="#method.id-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-9" class="method trait-impl"><a href="#method.set_id-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-9" class="method trait-impl"><a href="#method.drag_destinations-9" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Dropdown%3C'a,+S,+Message,+Item%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#65-207">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Dropdown%3C'a,+S,+Message,+Item%3E" class="anchor">§</a><h3 class="code-header">impl<'a, S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, 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> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/dropdown/multi/struct.Dropdown.html" title="struct cosmic::widget::dropdown::multi::Dropdown">Dropdown</a><'a, S, Message, Item></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tag-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#68-70">Source</a><a href="#method.tag-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#72-74">Source</a><a href="#method.state-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#76-78">Source</a><a href="#method.size-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#80-117">Source</a><a href="#method.layout-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#119-139">Source</a><a href="#method.update-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#141-150">Source</a><a href="#method.mouse_interaction-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#152-181">Source</a><a href="#method.draw-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-8" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/dropdown/multi/widget.rs.html#183-206">Source</a><a href="#method.overlay-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-8" class="method trait-impl"><a href="#method.size_hint-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.children-8" class="method trait-impl"><a href="#method.children-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-8" class="method trait-impl"><a href="#method.diff-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.operate-8" class="method trait-impl"><a href="#method.operate-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
_tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-8" class="method trait-impl"><a href="#method.a11y_nodes-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details><details class="toggle method-toggle" open><summary><section id="method.id-8" class="method trait-impl"><a href="#method.id-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-8" class="method trait-impl"><a href="#method.set_id-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-8" class="method trait-impl"><a href="#method.drag_destinations-8" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-FlexRow%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#89-288">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-FlexRow%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message: 'static + <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.FlexRow.html" title="struct cosmic::widget::FlexRow">FlexRow</a><'_, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#255-269">Source</a><a href="#method.a11y_nodes-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#90-92">Source</a><a href="#method.children-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#94-96">Source</a><a href="#method.diff-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#98-100">Source</a><a href="#method.size-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#102-127">Source</a><a href="#method.layout-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#129-150">Source</a><a href="#method.operate-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#152-180">Source</a><a href="#method.update-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#182-205">Source</a><a href="#method.mouse_interaction-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#207-233">Source</a><a href="#method.draw-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#235-251">Source</a><a href="#method.overlay-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-10" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/flex_row/widget.rs.html#271-287">Source</a><a href="#method.drag_destinations-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-10" class="method trait-impl"><a href="#method.size_hint-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag-10" class="method trait-impl"><a href="#method.tag-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-10" class="method trait-impl"><a href="#method.state-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-10" class="method trait-impl"><a href="#method.id-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-10" class="method trait-impl"><a href="#method.set_id-10" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Grid%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#116-327">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Grid%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message: 'static + <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.Grid.html" title="struct cosmic::widget::Grid">Grid</a><'_, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#284-304">Source</a><a href="#method.a11y_nodes-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#117-119">Source</a><a href="#method.children-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#121-123">Source</a><a href="#method.diff-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#125-127">Source</a><a href="#method.size-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#129-156">Source</a><a href="#method.layout-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#158-179">Source</a><a href="#method.operate-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#181-209">Source</a><a href="#method.update-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#211-234">Source</a><a href="#method.mouse_interaction-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#236-262">Source</a><a href="#method.draw-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#264-280">Source</a><a href="#method.overlay-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-11" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/grid/widget.rs.html#306-326">Source</a><a href="#method.drag_destinations-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-11" class="method trait-impl"><a href="#method.size_hint-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag-11" class="method trait-impl"><a href="#method.tag-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-11" class="method trait-impl"><a href="#method.state-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-11" class="method trait-impl"><a href="#method.id-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-11" class="method trait-impl"><a href="#method.set_id-11" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-LayerContainer%3C'_,+Message,+Renderer%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#150-298">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-LayerContainer%3C'_,+Message,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl<Message, Renderer> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.LayerContainer.html" title="struct cosmic::widget::LayerContainer">LayerContainer</a><'_, Message, Renderer><div class="where">where
|
||
Renderer: <a class="trait" href="../iced/advanced/trait.Renderer.html" title="trait cosmic::iced::advanced::Renderer">Renderer</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#290-297">Source</a><a href="#method.a11y_nodes-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#154-156">Source</a><a href="#method.children-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#158-160">Source</a><a href="#method.tag-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#162-164">Source</a><a href="#method.diff-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#166-168">Source</a><a href="#method.state-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#170-172">Source</a><a href="#method.size-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#174-181">Source</a><a href="#method.layout-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#183-191">Source</a><a href="#method.operate-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#193-214">Source</a><a href="#method.update-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#216-226">Source</a><a href="#method.mouse_interaction-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#228-255">Source</a><a href="#method.draw-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#257-267">Source</a><a href="#method.overlay-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#269-278">Source</a><a href="#method.drag_destinations-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#280-282">Source</a><a href="#method.id-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-4" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/layer_container.rs.html#284-286">Source</a><a href="#method.set_id-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-4" class="method trait-impl"><a href="#method.size_hint-4" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-MenuBar%3CMessage%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#526-811">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-MenuBar%3CMessage%3E" class="anchor">§</a><h3 class="code-header">impl<Message> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/menu/struct.MenuBar.html" title="struct cosmic::widget::menu::MenuBar">MenuBar</a><Message><div class="where">where
|
||
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.size-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#530-532">Source</a><a href="#method.size-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#534-539">Source</a><a href="#method.diff-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#541-543">Source</a><a href="#method.tag-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#545-547">Source</a><a href="#method.state-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#549-551">Source</a><a href="#method.children-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#553-578">Source</a><a href="#method.layout-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#581-698">Source</a><a href="#method.update-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
view_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#700-758">Source</a><a href="#method.draw-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
view_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-12" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/menu/menu_bar.rs.html#760-810">Source</a><a href="#method.overlay-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-12" class="method trait-impl"><a href="#method.size_hint-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-12" class="method trait-impl"><a href="#method.operate-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
_tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-12" class="method trait-impl"><a href="#method.mouse_interaction-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-12" class="method trait-impl"><a href="#method.a11y_nodes-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details><details class="toggle method-toggle" open><summary><section id="method.id-12" class="method trait-impl"><a href="#method.id-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-12" class="method trait-impl"><a href="#method.set_id-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-12" class="method trait-impl"><a href="#method.drag_destinations-12" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Popover%3C'_,+Message,+Renderer%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#91-319">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Popover%3C'_,+Message,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl<Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, Renderer> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.Popover.html" title="struct cosmic::widget::Popover">Popover</a><'_, Message, Renderer><div class="where">where
|
||
Renderer: <a class="trait" href="../iced/advanced/trait.Renderer.html" title="trait cosmic::iced::advanced::Renderer">Renderer</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#309-318">Source</a><a href="#method.a11y_nodes-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.id-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#96-98">Source</a><a href="#method.id-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#100-102">Source</a><a href="#method.set_id-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.children-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#104-110">Source</a><a href="#method.children-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#112-118">Source</a><a href="#method.diff-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#120-122">Source</a><a href="#method.size-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#124-132">Source</a><a href="#method.layout-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#134-148">Source</a><a href="#method.operate-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#150-195">Source</a><a href="#method.update-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#197-215">Source</a><a href="#method.mouse_interaction-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#217-242">Source</a><a href="#method.draw-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#244-290">Source</a><a href="#method.overlay-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-13" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/popover.rs.html#292-305">Source</a><a href="#method.drag_destinations-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-13" class="method trait-impl"><a href="#method.size_hint-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag-13" class="method trait-impl"><a href="#method.tag-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-13" class="method trait-impl"><a href="#method.state-13" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Radio%3C'_,+Message,+Renderer%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#174-424">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Radio%3C'_,+Message,+Renderer%3E" class="anchor">§</a><h3 class="code-header">impl<Message, Renderer> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.Radio.html" title="struct cosmic::widget::Radio">Radio</a><'_, Message, Renderer><div class="where">where
|
||
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
|
||
Renderer: <a class="trait" href="../iced/advanced/trait.Renderer.html" title="trait cosmic::iced::advanced::Renderer">Renderer</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.children-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#179-185">Source</a><a href="#method.children-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#187-191">Source</a><a href="#method.diff-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#192-197">Source</a><a href="#method.size-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#199-219">Source</a><a href="#method.layout-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#221-236">Source</a><a href="#method.operate-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#238-275">Source</a><a href="#method.update-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#277-306">Source</a><a href="#method.mouse_interaction-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#308-389">Source</a><a href="#method.draw-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#391-406">Source</a><a href="#method.overlay-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-14" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/radio.rs.html#408-423">Source</a><a href="#method.drag_destinations-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-14" class="method trait-impl"><a href="#method.size_hint-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag-14" class="method trait-impl"><a href="#method.tag-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-14" class="method trait-impl"><a href="#method.state-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-14" class="method trait-impl"><a href="#method.a11y_nodes-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details><details class="toggle method-toggle" open><summary><section id="method.id-14" class="method trait-impl"><a href="#method.id-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-14" class="method trait-impl"><a href="#method.set_id-14" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-RectangleTrackingContainer%3C'a,+Message,+Renderer,+I%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#184-323">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-RectangleTrackingContainer%3C'a,+Message,+Renderer,+I%3E" class="anchor">§</a><h3 class="code-header">impl<'a, Message, Renderer, I> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/rectangle_tracker/struct.RectangleTrackingContainer.html" title="struct cosmic::widget::rectangle_tracker::RectangleTrackingContainer">RectangleTrackingContainer</a><'a, Message, Renderer, I><div class="where">where
|
||
Renderer: <a class="trait" href="../iced/advanced/trait.Renderer.html" title="trait cosmic::iced::advanced::Renderer">Renderer</a>,
|
||
I: 'a + <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</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> + <a class="trait" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/fmt/trait.Debug.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::fmt::Debug">Debug</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#315-322">Source</a><a href="#method.a11y_nodes-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.children-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#190-192">Source</a><a href="#method.children-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#194-196">Source</a><a href="#method.state-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#198-200">Source</a><a href="#method.diff-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#202-204">Source</a><a href="#method.size-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#206-221">Source</a><a href="#method.layout-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#223-231">Source</a><a href="#method.operate-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#233-254">Source</a><a href="#method.update-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#256-266">Source</a><a href="#method.mouse_interaction-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#268-288">Source</a><a href="#method.draw-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#290-300">Source</a><a href="#method.overlay-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-15" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/rectangle_tracker/mod.rs.html#302-311">Source</a><a href="#method.drag_destinations-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-15" class="method trait-impl"><a href="#method.size_hint-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.tag-15" class="method trait-impl"><a href="#method.tag-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-15" class="method trait-impl"><a href="#method.id-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-15" class="method trait-impl"><a href="#method.set_id-15" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, _id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-SegmentedButton%3C'_,+Variant,+SelectionMode,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#866-2296">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-SegmentedButton%3C'_,+Variant,+SelectionMode,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Variant, SelectionMode, Message> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/segmented_button/struct.SegmentedButton.html" title="struct cosmic::widget::segmented_button::SegmentedButton">SegmentedButton</a><'_, Variant, SelectionMode, Message><div class="where">where
|
||
Self: <a class="trait" href="../widget/segmented_button/trait.SegmentedVariant.html" title="trait cosmic::widget::segmented_button::SegmentedVariant">SegmentedVariant</a>,
|
||
<a class="struct" href="../widget/segmented_button/struct.Model.html" title="struct cosmic::widget::segmented_button::Model">Model</a><SelectionMode>: <a class="trait" href="../widget/segmented_button/trait.Selectable.html" title="trait cosmic::widget::segmented_button::Selectable">Selectable</a>,
|
||
SelectionMode: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,
|
||
Message: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.id-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#874-876">Source</a><a href="#method.id-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#878-880">Source</a><a href="#method.set_id-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.children-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#882-894">Source</a><a href="#method.children-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#896-898">Source</a><a href="#method.tag-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#900-927">Source</a><a href="#method.state-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#929-948">Source</a><a href="#method.diff-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#950-952">Source</a><a href="#method.size-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#954-966">Source</a><a href="#method.layout-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#969-1592">Source</a><a href="#method.update-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#1594-1612">Source</a><a href="#method.operate-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#1614-1647">Source</a><a href="#method.mouse_interaction-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#1650-2135">Source</a><a href="#method.draw-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#2137-2199">Source</a><a href="#method.overlay-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-16" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/segmented_button/widget.rs.html#2201-2295">Source</a><a href="#method.drag_destinations-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-16" class="method trait-impl"><a href="#method.size_hint-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-16" class="method trait-impl"><a href="#method.a11y_nodes-16" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-TextInput%3C'_,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#586-1141">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-TextInput%3C'_,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<Message> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.TextInput.html" title="struct cosmic::widget::TextInput">TextInput</a><'_, Message><div class="where">where
|
||
Message: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> + 'static,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.tag-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#591-593">Source</a><a href="#method.tag-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#596-603">Source</a><a href="#method.state-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#605-729">Source</a><a href="#method.diff-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#731-737">Source</a><a href="#method.children-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#740-745">Source</a><a href="#method.size-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#747-826">Source</a><a href="#method.layout-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#828-840">Source</a><a href="#method.operate-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#842-878">Source</a><a href="#method.overlay-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#880-995">Source</a><a href="#method.update-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#998-1035">Source</a><a href="#method.draw-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#1037-1098">Source</a><a href="#method.mouse_interaction-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.id-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#1101-1103">Source</a><a href="#method.id-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#1106-1108">Source</a><a href="#method.set_id-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-17" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/text_input/input.rs.html#1110-1140">Source</a><a href="#method.drag_destinations-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-17" class="method trait-impl"><a href="#method.size_hint-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-17" class="method trait-impl"><a href="#method.a11y_nodes-17" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Toggler%3C'a,+Message%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#154-401">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Toggler%3C'a,+Message%3E" class="anchor">§</a><h3 class="code-header">impl<'a, Message> <a class="trait" href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/struct.Toggler.html" title="struct cosmic::widget::Toggler">Toggler</a><'a, Message></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.size-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#155-157">Source</a><a href="#method.size-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#159-161">Source</a><a href="#method.tag-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#163-168">Source</a><a href="#method.state-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#170-172">Source</a><a href="#method.id-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-18" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#174-176">Source</a><a href="#method.set_id-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#178-227">Source</a><a href="#method.layout-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.update-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#229-272">Source</a><a href="#method.update-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
_clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#274-287">Source</a><a href="#method.mouse_interaction-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/toggler.rs.html#289-400">Source</a><a href="#method.draw-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor_position: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-18" class="method trait-impl"><a href="#method.size_hint-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.children-18" class="method trait-impl"><a href="#method.children-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-18" class="method trait-impl"><a href="#method.diff-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.operate-19" class="method trait-impl"><a href="#method.operate-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
_tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-19" class="method trait-impl"><a href="#method.overlay-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'a>(
|
||
&'a mut self,
|
||
_tree: &'a mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'a>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
_translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'a, Message, Theme, Renderer>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-18" class="method trait-impl"><a href="#method.a11y_nodes-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(
|
||
&self,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
) -> A11yTree</h4></section></summary><div class='docblock'>get the a11y nodes for the widget and its children</div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-18" class="method trait-impl"><a href="#method.drag_destinations-18" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Tooltip%3C'a,+Message,+TopLevelMessage%3E" class="impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#190-407">Source</a><a href="#impl-Widget%3CMessage,+Theme,+Renderer%3E-for-Tooltip%3C'a,+Message,+TopLevelMessage%3E" class="anchor">§</a><h3 class="code-header">impl<'a, Message: 'static + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, TopLevelMessage: 'static + <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="../widget/trait.Widget.html" title="trait cosmic::widget::Widget">Widget</a><Message, <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>, Renderer> for <a class="struct" href="../widget/wayland/tooltip/widget/struct.Tooltip.html" title="struct cosmic::widget::wayland::tooltip::widget::Tooltip">Tooltip</a><'a, Message, TopLevelMessage></h3><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wayland</code> and Linux and crate feature <code>winit</code></strong> only.</div></span></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.a11y_nodes-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#385-398">Source</a><a href="#method.a11y_nodes-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.a11y_nodes" class="fn">a11y_nodes</a>(&self, layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>, state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>, p: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>) -> A11yTree</h4></section></summary><div class="docblock"><p>get the a11y nodes for the widget</p>
|
||
</div></details><details class="toggle method-toggle" open><summary><section id="method.tag-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#193-195">Source</a><a href="#method.tag-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.tag" class="fn">tag</a>(&self) -> <a class="struct" href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag">Tag</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/struct.Tag.html" title="struct cosmic::iced::daemon::program::graphics::core::widget::tree::Tag"><code>Tag</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.state-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#197-199">Source</a><a href="#method.state-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.state" class="fn">state</a>(&self) -> <a class="enum" href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State">State</a></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/widget/tree/enum.State.html" title="enum cosmic::iced::daemon::program::graphics::core::widget::tree::State"><code>State</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.children-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#201-203">Source</a><a href="#method.children-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.children" class="fn">children</a>(&self) -> <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><<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>></h4></section></summary><div class='docblock'>Returns the state <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a> of the children of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.diff-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#205-207">Source</a><a href="#method.diff-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.diff" class="fn">diff</a>(&mut self, tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>)</h4></section></summary><div class='docblock'>Reconciles the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> with the provided <a href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree"><code>Tree</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.size-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#209-211">Source</a><a href="#method.size-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.size" class="fn">size</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns the <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> in lengths.</div></details><details class="toggle method-toggle" open><summary><section id="method.layout-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#213-231">Source</a><a href="#method.layout-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.layout" class="fn">layout</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
limits: &<a class="struct" href="../iced/struct.Limits.html" title="struct cosmic::iced::Limits">Limits</a>,
|
||
) -> <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></h4></section></summary><div class='docblock'>Returns the <a href="../iced/daemon/program/graphics/core/layout/struct.Node.html" title="struct cosmic::iced::daemon::program::graphics::core::layout::Node"><code>layout::Node</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#tymethod.layout">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.operate-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#233-253">Source</a><a href="#method.operate-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.operate" class="fn">operate</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
operation: &mut dyn <a class="trait" href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation">Operation</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>>,
|
||
)</h4></section></summary><div class='docblock'>Applies an <a href="../widget/trait.Operation.html" title="trait cosmic::widget::Operation"><code>Operation</code></a> to the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.update-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#255-294">Source</a><a href="#method.update-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.update" class="fn">update</a>(
|
||
&mut self,
|
||
tree: &mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
event: &<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><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
clipboard: &mut dyn <a class="trait" href="../iced/advanced/trait.Clipboard.html" title="trait cosmic::iced::advanced::Clipboard">Clipboard</a>,
|
||
shell: &mut <a class="struct" href="../iced/advanced/struct.Shell.html" title="struct cosmic::iced::advanced::Shell">Shell</a><'_, Message>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Processes a runtime <a href="../iced/enum.Event.html" title="enum cosmic::iced::Event"><code>Event</code></a>. <a href="../widget/trait.Widget.html#method.update">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.draw-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#297-340">Source</a><a href="#method.draw-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#tymethod.draw" class="fn">draw</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
renderer: &mut <a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
theme: &<a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a>,
|
||
renderer_style: &<a class="struct" href="../iced/daemon/program/graphics/core/renderer/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::renderer::Style">Style</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
)</h4></section></summary><div class='docblock'>Draws the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a> using the associated <code>Renderer</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.mouse_interaction-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#342-357">Source</a><a href="#method.mouse_interaction-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.mouse_interaction" class="fn">mouse_interaction</a>(
|
||
&self,
|
||
tree: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
cursor: <a class="enum" href="../iced/mouse/enum.Cursor.html" title="enum cosmic::iced::mouse::Cursor">Cursor</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
) -> <a class="enum" href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction">Interaction</a></h4></section></summary><div class='docblock'>Returns the current <a href="../iced/mouse/enum.Interaction.html" title="enum cosmic::iced::mouse::Interaction"><code>mouse::Interaction</code></a> of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.mouse_interaction">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.overlay-20" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#359-381">Source</a><a href="#method.overlay-20" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.overlay" class="fn">overlay</a><'b>(
|
||
&'b mut self,
|
||
tree: &'b mut <a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'b>,
|
||
renderer: &<a class="type" href="../type.Renderer.html" title="type cosmic::Renderer">Renderer</a>,
|
||
viewport: &<a class="struct" href="../iced/struct.Rectangle.html" title="struct cosmic::iced::Rectangle">Rectangle</a>,
|
||
translation: <a class="struct" href="../iced/struct.Vector.html" title="struct cosmic::iced::Vector">Vector</a>,
|
||
) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<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><'b, 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>>></h4></section></summary><div class='docblock'>Returns the overlay of the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>, if there is any.</div></details><details class="toggle method-toggle" open><summary><section id="method.id-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#400-402">Source</a><a href="#method.id-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.id" class="fn">id</a>(&self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>></h4></section></summary><div class='docblock'>Returns the id of the widget</div></details><details class="toggle method-toggle" open><summary><section id="method.set_id-19" class="method trait-impl"><a class="src rightside" href="../../src/cosmic/widget/wayland/tooltip/widget.rs.html#404-406">Source</a><a href="#method.set_id-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.set_id" class="fn">set_id</a>(&mut self, id: <a class="struct" href="../widget/struct.Id.html" title="struct cosmic::widget::Id">Id</a>)</h4></section></summary><div class='docblock'>Sets the id of the widget
|
||
This may be called while diffing the widget tree</div></details><details class="toggle method-toggle" open><summary><section id="method.size_hint-19" class="method trait-impl"><a href="#method.size_hint-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.size_hint" class="fn">size_hint</a>(&self) -> <a class="struct" href="../iced/struct.Size.html" title="struct cosmic::iced::Size">Size</a><<a class="enum" href="../iced/enum.Length.html" title="enum cosmic::iced::Length">Length</a>></h4></section></summary><div class='docblock'>Returns a <a href="../iced/struct.Size.html" title="struct cosmic::iced::Size"><code>Size</code></a> hint for laying out the <a href="../widget/trait.Widget.html" title="trait cosmic::widget::Widget"><code>Widget</code></a>. <a href="../widget/trait.Widget.html#method.size_hint">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.drag_destinations-19" class="method trait-impl"><a href="#method.drag_destinations-19" class="anchor">§</a><h4 class="code-header">fn <a href="../widget/trait.Widget.html#method.drag_destinations" class="fn">drag_destinations</a>(
|
||
&self,
|
||
_state: &<a class="struct" href="../iced/advanced/widget/struct.Tree.html" title="struct cosmic::iced::advanced::widget::Tree">Tree</a>,
|
||
_layout: <a class="struct" href="../iced/advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout">Layout</a><'_>,
|
||
_renderer: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&Renderer</a>,
|
||
_dnd_rectangles: &mut <a class="struct" href="../iced/daemon/program/graphics/core/clipboard/struct.DndDestinationRectangles.html" title="struct cosmic::iced::daemon::program::graphics::core::clipboard::DndDestinationRectangles">DndDestinationRectangles</a>,
|
||
)</h4></section></summary><div class='docblock'>Adds the drag destination rectangles of the widget.
|
||
Runs after the layout phase for each widget in the tree.</div></details></div></details><section id="impl-StructuralPartialEq-for-Theme" class="impl"><a class="src rightside" href="../../src/cosmic/theme/mod.rs.html#212">Source</a><a href="#impl-StructuralPartialEq-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.StructuralPartialEq.html" title="trait core::marker::StructuralPartialEq">StructuralPartialEq</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></div><h2 id="synthetic-implementations" class="section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor">§</a></h2><div id="synthetic-implementations-list"><section id="impl-Freeze-for-Theme" class="impl"><a href="#impl-Freeze-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Freeze.html" title="trait core::marker::Freeze">Freeze</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section><section id="impl-RefUnwindSafe-for-Theme" class="impl"><a href="#impl-RefUnwindSafe-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section><section id="impl-Send-for-Theme" class="impl"><a href="#impl-Send-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section><section id="impl-Sync-for-Theme" class="impl"><a href="#impl-Sync-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section><section id="impl-Unpin-for-Theme" class="impl"><a href="#impl-Unpin-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section><section id="impl-UnwindSafe-for-Theme" class="impl"><a href="#impl-UnwindSafe-for-Theme" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../struct.Theme.html" title="struct cosmic::Theme">Theme</a></h3></section></div><h2 id="blanket-implementations" class="section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="toggle implementors-toggle"><summary><section id="impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#205-210">Source</a><a href="#impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S" class="anchor">§</a><h3 class="code-header">impl<S, D, Swp, Dwp, T> <a class="trait" href="../cosmic_theme/palette/chromatic_adaptation/trait.AdaptInto.html" title="trait cosmic::cosmic_theme::palette::chromatic_adaptation::AdaptInto">AdaptInto</a><D, Swp, Dwp, T> for S<div class="where">where
|
||
T: <a class="trait" href="../cosmic_theme/palette/num/trait.Real.html" title="trait cosmic::cosmic_theme::palette::num::Real">Real</a> + <a class="trait" href="../cosmic_theme/palette/num/trait.Zero.html" title="trait cosmic::cosmic_theme::palette::num::Zero">Zero</a> + <a class="trait" href="../cosmic_theme/palette/num/trait.Arithmetics.html" title="trait cosmic::cosmic_theme::palette::num::Arithmetics">Arithmetics</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,
|
||
Swp: <a class="trait" href="../cosmic_theme/palette/white_point/trait.WhitePoint.html" title="trait cosmic::cosmic_theme::palette::white_point::WhitePoint">WhitePoint</a><T>,
|
||
Dwp: <a class="trait" href="../cosmic_theme/palette/white_point/trait.WhitePoint.html" title="trait cosmic::cosmic_theme::palette::white_point::WhitePoint">WhitePoint</a><T>,
|
||
D: <a class="trait" href="../cosmic_theme/palette/chromatic_adaptation/trait.AdaptFrom.html" title="trait cosmic::cosmic_theme::palette::chromatic_adaptation::AdaptFrom">AdaptFrom</a><S, Swp, Dwp, T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.adapt_into_using" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#213">Source</a><a href="#method.adapt_into_using" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/chromatic_adaptation/trait.AdaptInto.html#tymethod.adapt_into_using" class="fn">adapt_into_using</a><M>(self, method: M) -> D<div class="where">where
|
||
M: <a class="trait" href="../cosmic_theme/palette/chromatic_adaptation/trait.TransformMatrix.html" title="trait cosmic::cosmic_theme::palette::chromatic_adaptation::TransformMatrix">TransformMatrix</a><T>,</div></h4></section></summary><div class='docblock'>Convert the source color to the destination color using the specified
|
||
method.</div></details><details class="toggle method-toggle" open><summary><section id="method.adapt_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/chromatic_adaptation.rs.html#196">Source</a><a href="#method.adapt_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/chromatic_adaptation/trait.AdaptInto.html#method.adapt_into" class="fn">adapt_into</a>(self) -> D</h4></section></summary><div class='docblock'>Convert the source color to the destination color using the bradford
|
||
method by default.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Also-for-T" class="impl"><a href="#impl-Also-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../trait.Also.html" title="trait cosmic::Also">Also</a> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.also" class="method trait-impl"><a href="#method.also" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Also.html#method.also" class="fn">also</a><F>(self, block: F) -> Self<div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut Self),</div></h4></section></summary><div class='docblock'>Apply a function to this value and return the (possibly) modified value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Any-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#138">Source</a><a href="#impl-Any-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T<div class="where">where
|
||
T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#139">Source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></h4></section></summary><div class='docblock'>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-AnyEq-for-T" class="impl"><a href="#impl-AnyEq-for-T" class="anchor">§</a><h3 class="code-header">impl<T> AnyEq for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>,</div></h3></section></summary><div class="impl-items"><section id="method.equals" class="method trait-impl"><a href="#method.equals" class="anchor">§</a><h4 class="code-header">fn <a class="fn">equals</a>(&self, other: &(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></h4></section><section id="method.as_any-1" class="method trait-impl"><a href="#method.as_any-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Apply%3CRes%3E-for-T" class="impl"><a href="#impl-Apply%3CRes%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, Res> <a class="trait" href="../trait.Apply.html" title="trait cosmic::Apply">Apply</a><Res> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.apply" class="method trait-impl"><a href="#method.apply" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Apply.html#method.apply" class="fn">apply</a><F>(self, f: F) -> Res<div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(Self) -> Res,
|
||
Self: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h4></section></summary><div class='docblock'>Apply a function which takes the parameter by value.</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_ref" class="method trait-impl"><a href="#method.apply_ref" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Apply.html#method.apply_ref" class="fn">apply_ref</a><F>(&self, f: F) -> Res<div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&Self) -> Res,</div></h4></section></summary><div class='docblock'>Apply a function which takes the parameter by reference.</div></details><details class="toggle method-toggle" open><summary><section id="method.apply_mut" class="method trait-impl"><a href="#method.apply_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../trait.Apply.html#method.apply_mut" class="fn">apply_mut</a><F>(&mut self, f: F) -> Res<div class="where">where
|
||
F: <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/function/trait.FnOnce.html" title="trait core::ops::function::FnOnce">FnOnce</a>(&mut Self) -> Res,</div></h4></section></summary><div class='docblock'>Apply a function which takes the parameter by mutable reference.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ArraysFrom%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#271-273">Source</a><a href="#impl-ArraysFrom%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, C> <a class="trait" href="../cosmic_theme/palette/cast/trait.ArraysFrom.html" title="trait cosmic::cosmic_theme::palette::cast::ArraysFrom">ArraysFrom</a><C> for T<div class="where">where
|
||
C: <a class="trait" href="../cosmic_theme/palette/cast/trait.IntoArrays.html" title="trait cosmic::cosmic_theme::palette::cast::IntoArrays">IntoArrays</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arrays_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#276">Source</a><a href="#method.arrays_from" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cast/trait.ArraysFrom.html#tymethod.arrays_from" class="fn">arrays_from</a>(colors: C) -> T</h4></section></summary><div class='docblock'>Cast a collection of colors into a collection of arrays.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ArraysInto%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#329-331">Source</a><a href="#impl-ArraysInto%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, C> <a class="trait" href="../cosmic_theme/palette/cast/trait.ArraysInto.html" title="trait cosmic::cosmic_theme::palette::cast::ArraysInto">ArraysInto</a><C> for T<div class="where">where
|
||
C: <a class="trait" href="../cosmic_theme/palette/cast/trait.FromArrays.html" title="trait cosmic::cosmic_theme::palette::cast::FromArrays">FromArrays</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.arrays_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_arrays_traits.rs.html#334">Source</a><a href="#method.arrays_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cast/trait.ArraysInto.html#tymethod.arrays_into" class="fn">arrays_into</a>(self) -> C</h4></section></summary><div class='docblock'>Cast this collection of arrays into a collection of colors.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#209">Source</a><a href="#impl-Borrow%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::Borrow">Borrow</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">Source</a><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&T</a></h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217">Source</a><a href="#impl-BorrowMut%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.BorrowMut.html" title="trait cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::borrow::BorrowMut">BorrowMut</a><T> for T<div class="where">where
|
||
T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218">Source</a><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a></h4></section></summary><div class='docblock'>Mutably borrows from an owned value. <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Cam16IntoUnclamped%3CWpParam,+T%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#143-145">Source</a><a href="#impl-Cam16IntoUnclamped%3CWpParam,+T%3E-for-U" class="anchor">§</a><h3 class="code-header">impl<WpParam, T, U> <a class="trait" href="../cosmic_theme/palette/cam16/trait.Cam16IntoUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16IntoUnclamped">Cam16IntoUnclamped</a><WpParam, T> for U<div class="where">where
|
||
T: <a class="trait" href="../cosmic_theme/palette/cam16/trait.FromCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::FromCam16Unclamped">FromCam16Unclamped</a><WpParam, U>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Scalar-1" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#147">Source</a><a href="#associatedtype.Scalar-1" class="anchor">§</a><h4 class="code-header">type <a href="../cosmic_theme/palette/cam16/trait.Cam16IntoUnclamped.html#associatedtype.Scalar" class="associatedtype">Scalar</a> = <T as <a class="trait" href="../cosmic_theme/palette/cam16/trait.FromCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::FromCam16Unclamped">FromCam16Unclamped</a><WpParam, U>>::<a class="associatedtype" href="../cosmic_theme/palette/cam16/trait.FromCam16Unclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::FromCam16Unclamped::Scalar">Scalar</a></h4></section></summary><div class='docblock'>The number type that’s used in <code>parameters</code> when converting.</div></details><details class="toggle method-toggle" open><summary><section id="method.cam16_into_unclamped" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#149">Source</a><a href="#method.cam16_into_unclamped" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cam16/trait.Cam16IntoUnclamped.html#tymethod.cam16_into_unclamped" class="fn">cam16_into_unclamped</a>(
|
||
self,
|
||
parameters: <a class="struct" href="../cosmic_theme/palette/cam16/struct.BakedParameters.html" title="struct cosmic::cosmic_theme::palette::cam16::BakedParameters">BakedParameters</a><WpParam, <U as <a class="trait" href="../cosmic_theme/palette/cam16/trait.Cam16IntoUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16IntoUnclamped">Cam16IntoUnclamped</a><WpParam, T>>::<a class="associatedtype" href="../cosmic_theme/palette/cam16/trait.Cam16IntoUnclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::Cam16IntoUnclamped::Scalar">Scalar</a>>,
|
||
) -> T</h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>C</code>, using the provided parameters.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-CloneToUninit-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#483">Source</a><a href="#impl-CloneToUninit-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html" title="trait core::clone::CloneToUninit">CloneToUninit</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.clone_to_uninit" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#485">Source</a><a href="#method.clone_to_uninit" class="anchor">§</a><h4 class="code-header">unsafe fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit" class="fn">clone_to_uninit</a>(&self, dest: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.pointer.html">*mut </a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>)</h4></section></summary><span class="item-info"><div class="stab unstable"><span class="emoji">🔬</span><span>This is a nightly-only experimental API. (<code>clone_to_uninit</code>)</span></div></span><div class='docblock'>Performs copy-assignment from <code>self</code> to <code>dest</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.CloneToUninit.html#tymethod.clone_to_uninit">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ComponentsFrom%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#414-416">Source</a><a href="#impl-ComponentsFrom%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, C> <a class="trait" href="../cosmic_theme/palette/cast/trait.ComponentsFrom.html" title="trait cosmic::cosmic_theme::palette::cast::ComponentsFrom">ComponentsFrom</a><C> for T<div class="where">where
|
||
C: <a class="trait" href="../cosmic_theme/palette/cast/trait.IntoComponents.html" title="trait cosmic::cosmic_theme::palette::cast::IntoComponents">IntoComponents</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.components_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#419">Source</a><a href="#method.components_from" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cast/trait.ComponentsFrom.html#tymethod.components_from" class="fn">components_from</a>(colors: C) -> T</h4></section></summary><div class='docblock'>Cast a collection of colors into a collection of color components.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Downcast-for-T" class="impl"><a href="#impl-Downcast-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Downcast for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any" class="method trait-impl"><a href="#method.into_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any</a>(self: <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><T>) -> <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><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Box<dyn Trait></code> (where <code>Trait: Downcast</code>) to <code>Box<dyn Any></code>. <code>Box<dyn Any></code> can
|
||
then be further <code>downcast</code> into <code>Box<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_any_rc" class="method trait-impl"><a href="#method.into_any_rc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_rc</a>(self: <a class="struct" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/rc/struct.Rc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::rc::Rc">Rc</a><T>) -> <a class="struct" href="../cctk/sctk/reexports/client/backend/smallvec/alloc/rc/struct.Rc.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::rc::Rc">Rc</a><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a>></h4></section></summary><div class='docblock'>Convert <code>Rc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Rc<Any></code>. <code>Rc<Any></code> can then be
|
||
further <code>downcast</code> into <code>Rc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any" class="method trait-impl"><a href="#method.as_any" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any</a>(&self) -> &(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||
generate <code>&Any</code>’s vtable from <code>&Trait</code>’s.</div></details><details class="toggle method-toggle" open><summary><section id="method.as_any_mut" class="method trait-impl"><a href="#method.as_any_mut" class="anchor">§</a><h4 class="code-header">fn <a class="fn">as_any_mut</a>(&mut self) -> &mut (dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> + 'static)</h4></section></summary><div class='docblock'>Convert <code>&mut Trait</code> (where <code>Trait: Downcast</code>) to <code>&Any</code>. This is needed since Rust cannot
|
||
generate <code>&mut Any</code>’s vtable from <code>&mut Trait</code>’s.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-DowncastSync-for-T" class="impl"><a href="#impl-DowncastSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> DowncastSync for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</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>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_any_arc" class="method trait-impl"><a href="#method.into_any_arc" class="anchor">§</a><h4 class="code-header">fn <a class="fn">into_any_arc</a>(self: <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><T>) -> <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><dyn <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</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/marker/trait.Send.html" title="trait core::marker::Send">Send</a>></h4></section></summary><div class='docblock'>Convert <code>Arc<Trait></code> (where <code>Trait: Downcast</code>) to <code>Arc<Any></code>. <code>Arc<Any></code> can then be
|
||
further <code>downcast</code> into <code>Arc<ConcreteType></code> where <code>ConcreteType</code> implements <code>Trait</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#791">Source</a><a href="#impl-From%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#794">Source</a><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -> T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromAngle%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#65">Source</a><a href="#impl-FromAngle%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../cosmic_theme/palette/angle/trait.FromAngle.html" title="trait cosmic::cosmic_theme::palette::angle::FromAngle">FromAngle</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_angle" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#67">Source</a><a href="#method.from_angle" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/angle/trait.FromAngle.html#tymethod.from_angle" class="fn">from_angle</a>(angle: T) -> T</h4></section></summary><div class='docblock'>Performs a conversion from <code>angle</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-FromStimulus%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#85">Source</a><a href="#impl-FromStimulus%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../cosmic_theme/palette/stimulus/trait.FromStimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::FromStimulus">FromStimulus</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../cosmic_theme/palette/stimulus/trait.IntoStimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::IntoStimulus">IntoStimulus</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.from_stimulus" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#87">Source</a><a href="#method.from_stimulus" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/stimulus/trait.FromStimulus.html#tymethod.from_stimulus" class="fn">from_stimulus</a>(other: U) -> T</h4></section></summary><div class='docblock'>Converts <code>other</code> into <code>Self</code>, while performing the appropriate scaling,
|
||
rounding and clamping.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Instrument-for-T" class="impl"><a href="#impl-Instrument-for-T" class="anchor">§</a><h3 class="code-header">impl<T> Instrument for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.instrument" class="method trait-impl"><a href="#method.instrument" class="anchor">§</a><h4 class="code-header">fn <a class="fn">instrument</a>(self, span: Span) -> Instrumented<Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the provided [<code>Span</code>], returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.in_current_span" class="method trait-impl"><a href="#method.in_current_span" class="anchor">§</a><h4 class="code-header">fn <a class="fn">in_current_span</a>(self) -> Instrumented<Self> <a href="#" class="tooltip" data-notable-ty="Instrumented<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Instruments this type with the <a href="super::Span::current()">current</a> <a href="crate::Span"><code>Span</code></a>, returning an
|
||
<code>Instrumented</code> wrapper. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#773-775">Source</a><a href="#impl-Into%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#783">Source</a><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -> U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
|
||
<p>That is, this conversion is whatever the implementation of
|
||
<code><a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for U</code> chooses to do.</p>
|
||
</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoAngle%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#78-80">Source</a><a href="#impl-IntoAngle%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../cosmic_theme/palette/angle/trait.IntoAngle.html" title="trait cosmic::cosmic_theme::palette::angle::IntoAngle">IntoAngle</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../cosmic_theme/palette/angle/trait.FromAngle.html" title="trait cosmic::cosmic_theme::palette::angle::FromAngle">FromAngle</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_angle" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/angle.rs.html#83">Source</a><a href="#method.into_angle" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/angle/trait.IntoAngle.html#tymethod.into_angle" class="fn">into_angle</a>(self) -> U</h4></section></summary><div class='docblock'>Performs a conversion into <code>T</code>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoBoot%3CState,+Message%3E-for-State" class="impl"><a href="#impl-IntoBoot%3CState,+Message%3E-for-State" class="anchor">§</a><h3 class="code-header">impl<State, Message> <a class="trait" href="../iced/application/trait.IntoBoot.html" title="trait cosmic::iced::application::IntoBoot">IntoBoot</a><State, Message> for State</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_boot" class="method trait-impl"><a href="#method.into_boot" class="anchor">§</a><h4 class="code-header">fn <a href="../iced/application/trait.IntoBoot.html#tymethod.into_boot" class="fn">into_boot</a>(self) -> (State, <a class="struct" href="../struct.Task.html" title="struct cosmic::Task">Task</a><Message>)</h4></section></summary><div class='docblock'>Turns some type into the initial state of some <a href="../iced/struct.Application.html" title="struct cosmic::iced::Application"><code>Application</code></a>.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoCam16Unclamped%3CWpParam,+T%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#114-116">Source</a><a href="#impl-IntoCam16Unclamped%3CWpParam,+T%3E-for-U" class="anchor">§</a><h3 class="code-header">impl<WpParam, T, U> <a class="trait" href="../cosmic_theme/palette/cam16/trait.IntoCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::IntoCam16Unclamped">IntoCam16Unclamped</a><WpParam, T> for U<div class="where">where
|
||
T: <a class="trait" href="../cosmic_theme/palette/cam16/trait.Cam16FromUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16FromUnclamped">Cam16FromUnclamped</a><WpParam, U>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Scalar" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#118">Source</a><a href="#associatedtype.Scalar" class="anchor">§</a><h4 class="code-header">type <a href="../cosmic_theme/palette/cam16/trait.IntoCam16Unclamped.html#associatedtype.Scalar" class="associatedtype">Scalar</a> = <T as <a class="trait" href="../cosmic_theme/palette/cam16/trait.Cam16FromUnclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::Cam16FromUnclamped">Cam16FromUnclamped</a><WpParam, U>>::<a class="associatedtype" href="../cosmic_theme/palette/cam16/trait.Cam16FromUnclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::Cam16FromUnclamped::Scalar">Scalar</a></h4></section></summary><div class='docblock'>The number type that’s used in <code>parameters</code> when converting.</div></details><details class="toggle method-toggle" open><summary><section id="method.into_cam16_unclamped" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cam16.rs.html#120">Source</a><a href="#method.into_cam16_unclamped" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cam16/trait.IntoCam16Unclamped.html#tymethod.into_cam16_unclamped" class="fn">into_cam16_unclamped</a>(
|
||
self,
|
||
parameters: <a class="struct" href="../cosmic_theme/palette/cam16/struct.BakedParameters.html" title="struct cosmic::cosmic_theme::palette::cam16::BakedParameters">BakedParameters</a><WpParam, <U as <a class="trait" href="../cosmic_theme/palette/cam16/trait.IntoCam16Unclamped.html" title="trait cosmic::cosmic_theme::palette::cam16::IntoCam16Unclamped">IntoCam16Unclamped</a><WpParam, T>>::<a class="associatedtype" href="../cosmic_theme/palette/cam16/trait.IntoCam16Unclamped.html#associatedtype.Scalar" title="type cosmic::cosmic_theme::palette::cam16::IntoCam16Unclamped::Scalar">Scalar</a>>,
|
||
) -> T</h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>C</code>, using the provided parameters.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoColor%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color.rs.html#129-131">Source</a><a href="#impl-IntoColor%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../cosmic_theme/palette/trait.IntoColor.html" title="trait cosmic::cosmic_theme::palette::IntoColor">IntoColor</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../cosmic_theme/palette/trait.FromColor.html" title="trait cosmic::cosmic_theme::palette::FromColor">FromColor</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_color" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color.rs.html#134">Source</a><a href="#method.into_color" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/trait.IntoColor.html#tymethod.into_color" class="fn">into_color</a>(self) -> U</h4></section></summary><div class='docblock'>Convert into T with values clamped to the color defined bounds <a href="../cosmic_theme/palette/trait.IntoColor.html#tymethod.into_color">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoColorUnclamped%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color_unclamped.rs.html#95-97">Source</a><a href="#impl-IntoColorUnclamped%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../cosmic_theme/palette/convert/trait.IntoColorUnclamped.html" title="trait cosmic::cosmic_theme::palette::convert::IntoColorUnclamped">IntoColorUnclamped</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../cosmic_theme/palette/convert/trait.FromColorUnclamped.html" title="trait cosmic::cosmic_theme::palette::convert::FromColorUnclamped">FromColorUnclamped</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_color_unclamped" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/from_into_color_unclamped.rs.html#100">Source</a><a href="#method.into_color_unclamped" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/convert/trait.IntoColorUnclamped.html#tymethod.into_color_unclamped" class="fn">into_color_unclamped</a>(self) -> U</h4></section></summary><div class='docblock'>Convert into T. The resulting color might be invalid in its color space <a href="../cosmic_theme/palette/convert/trait.IntoColorUnclamped.html#tymethod.into_color_unclamped">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-IntoStimulus%3CT%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#109">Source</a><a href="#impl-IntoStimulus%3CT%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../cosmic_theme/palette/stimulus/trait.IntoStimulus.html" title="trait cosmic::cosmic_theme::palette::stimulus::IntoStimulus">IntoStimulus</a><T> for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.into_stimulus" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/stimulus.rs.html#111">Source</a><a href="#method.into_stimulus" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/stimulus/trait.IntoStimulus.html#tymethod.into_stimulus" class="fn">into_stimulus</a>(self) -> T</h4></section></summary><div class='docblock'>Converts <code>self</code> into <code>T</code>, while performing the appropriate scaling,
|
||
rounding and clamping.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-NoneValue-for-T" class="impl"><a href="#impl-NoneValue-for-T" class="anchor">§</a><h3 class="code-header">impl<T> NoneValue for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.NoneType" class="associatedtype trait-impl"><a href="#associatedtype.NoneType" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">NoneType</a> = T</h4></section><details class="toggle method-toggle" open><summary><section id="method.null_value" class="method trait-impl"><a href="#method.null_value" class="anchor">§</a><h4 class="code-header">fn <a class="fn">null_value</a>() -> T</h4></section></summary><div class='docblock'>The none-equivalent value.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Same-for-T" class="impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#34">Source</a><a href="#impl-Same-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a> for T</h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Output" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/typenum/1.19.0/src/typenum/type_operators.rs.html#35">Source</a><a href="#associatedtype.Output" class="anchor">§</a><h4 class="code-header">type <a href="https://docs.rs/typenum/1.19.0/typenum/type_operators/trait.Same.html#associatedtype.Output" class="associatedtype">Output</a> = T</h4></section></summary><div class='docblock'>Should always be <code>Self</code></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-ToOwned-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#82-84">Source</a><a href="#impl-ToOwned-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <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> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Owned" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#86">Source</a><a href="#associatedtype.Owned" class="anchor">§</a><h4 class="code-header">type <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="associatedtype">Owned</a> = T</h4></section></summary><div class='docblock'>The resulting type after obtaining ownership.</div></details><details class="toggle method-toggle" open><summary><section id="method.to_owned" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#87">Source</a><a href="#method.to_owned" class="anchor">§</a><h4 class="code-header">fn <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fn">to_owned</a>(&self) -> T</h4></section></summary><div class='docblock'>Creates owned data from borrowed data, usually by cloning. <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.clone_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#91">Source</a><a href="#method.clone_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fn">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut T</a>)</h4></section></summary><div class='docblock'>Uses borrowed data to replace owned data, usually by cloning. <a href="../cctk/sctk/reexports/client/backend/smallvec/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryComponentsInto%3CC%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#584-586">Source</a><a href="#impl-TryComponentsInto%3CC%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, C> <a class="trait" href="../cosmic_theme/palette/cast/trait.TryComponentsInto.html" title="trait cosmic::cosmic_theme::palette::cast::TryComponentsInto">TryComponentsInto</a><C> for T<div class="where">where
|
||
C: <a class="trait" href="../cosmic_theme/palette/cast/trait.TryFromComponents.html" title="trait cosmic::cosmic_theme::palette::cast::TryFromComponents">TryFromComponents</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-2" class="associatedtype trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#588">Source</a><a href="#associatedtype.Error-2" class="anchor">§</a><h4 class="code-header">type <a href="../cosmic_theme/palette/cast/trait.TryComponentsInto.html#associatedtype.Error" class="associatedtype">Error</a> = <C as <a class="trait" href="../cosmic_theme/palette/cast/trait.TryFromComponents.html" title="trait cosmic::cosmic_theme::palette::cast::TryFromComponents">TryFromComponents</a><T>>::<a class="associatedtype" href="../cosmic_theme/palette/cast/trait.TryFromComponents.html#associatedtype.Error" title="type cosmic::cosmic_theme::palette::cast::TryFromComponents::Error">Error</a></h4></section></summary><div class='docblock'>The error for when <code>try_into_colors</code> fails to cast.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_components_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_components_traits.rs.html#591">Source</a><a href="#method.try_components_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cast/trait.TryComponentsInto.html#tymethod.try_components_into" class="fn">try_components_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><C, <T as <a class="trait" href="../cosmic_theme/palette/cast/trait.TryComponentsInto.html" title="trait cosmic::cosmic_theme::palette::cast::TryComponentsInto">TryComponentsInto</a><C>>::<a class="associatedtype" href="../cosmic_theme/palette/cast/trait.TryComponentsInto.html#associatedtype.Error" title="type cosmic::cosmic_theme::palette::cast::TryComponentsInto::Error">Error</a>></h4></section></summary><div class='docblock'>Try to cast this collection of color components into a collection of
|
||
colors. <a href="../cosmic_theme/palette/cast/trait.TryComponentsInto.html#tymethod.try_components_into">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryFrom%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#833-835">Source</a><a href="#impl-TryFrom%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error-1" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#837">Source</a><a href="#associatedtype.Error-1" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="associatedtype">Error</a> = <a class="enum" href="../iced/enum.Never.html" title="enum cosmic::iced::Never">Infallible</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_from" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#840">Source</a><a href="#method.try_from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fn">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryInto%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#817-819">Source</a><a href="#impl-TryInto%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.Error" class="associatedtype trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#821">Source</a><a href="#associatedtype.Error" class="anchor">§</a><h4 class="code-header">type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="associatedtype">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></h4></section></summary><div class='docblock'>The type returned in the event of a conversion error.</div></details><details class="toggle method-toggle" open><summary><section id="method.try_into" class="method trait-impl"><a class="src rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#824">Source</a><a href="#method.try_into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fn">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="associatedtype" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></h4></section></summary><div class='docblock'>Performs the conversion.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-TryIntoColor%3CU%3E-for-T" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/try_from_into_color.rs.html#110-112">Source</a><a href="#impl-TryIntoColor%3CU%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<T, U> <a class="trait" href="../cosmic_theme/palette/convert/trait.TryIntoColor.html" title="trait cosmic::cosmic_theme::palette::convert::TryIntoColor">TryIntoColor</a><U> for T<div class="where">where
|
||
U: <a class="trait" href="../cosmic_theme/palette/convert/trait.TryFromColor.html" title="trait cosmic::cosmic_theme::palette::convert::TryFromColor">TryFromColor</a><T>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.try_into_color" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/convert/try_from_into_color.rs.html#115">Source</a><a href="#method.try_into_color" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/convert/trait.TryIntoColor.html#tymethod.try_into_color" class="fn">try_into_color</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <a class="struct" href="../cosmic_theme/palette/convert/struct.OutOfBounds.html" title="struct cosmic::cosmic_theme::palette::convert::OutOfBounds">OutOfBounds</a><U>></h4></section></summary><div class='docblock'>Convert into T, returning ok if the color is inside of its defined
|
||
range, otherwise an <code>OutOfBounds</code> error is returned which contains
|
||
the unclamped color. <a href="../cosmic_theme/palette/convert/trait.TryIntoColor.html#tymethod.try_into_color">Read more</a></div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UintsFrom%3CC%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#325-327">Source</a><a href="#impl-UintsFrom%3CC%3E-for-U" class="anchor">§</a><h3 class="code-header">impl<C, U> <a class="trait" href="../cosmic_theme/palette/cast/trait.UintsFrom.html" title="trait cosmic::cosmic_theme::palette::cast::UintsFrom">UintsFrom</a><C> for U<div class="where">where
|
||
C: <a class="trait" href="../cosmic_theme/palette/cast/trait.IntoUints.html" title="trait cosmic::cosmic_theme::palette::cast::IntoUints">IntoUints</a><U>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.uints_from" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#330">Source</a><a href="#method.uints_from" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cast/trait.UintsFrom.html#tymethod.uints_from" class="fn">uints_from</a>(colors: C) -> U</h4></section></summary><div class='docblock'>Cast a collection of colors into a collection of unsigned integers.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-UintsInto%3CC%3E-for-U" class="impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#401-403">Source</a><a href="#impl-UintsInto%3CC%3E-for-U" class="anchor">§</a><h3 class="code-header">impl<C, U> <a class="trait" href="../cosmic_theme/palette/cast/trait.UintsInto.html" title="trait cosmic::cosmic_theme::palette::cast::UintsInto">UintsInto</a><C> for U<div class="where">where
|
||
C: <a class="trait" href="../cosmic_theme/palette/cast/trait.FromUints.html" title="trait cosmic::cosmic_theme::palette::cast::FromUints">FromUints</a><U>,</div></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.uints_into" class="method trait-impl"><a class="src rightside" href="https://docs.rs/palette/0.7.6/src/palette/cast/from_into_uints_traits.rs.html#406">Source</a><a href="#method.uints_into" class="anchor">§</a><h4 class="code-header">fn <a href="../cosmic_theme/palette/cast/trait.UintsInto.html#tymethod.uints_into" class="fn">uints_into</a>(self) -> C</h4></section></summary><div class='docblock'>Cast this collection of unsigned integers into a collection of colors.</div></details></div></details><details class="toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-T" class="impl"><a href="#impl-VZip%3CV%3E-for-T" class="anchor">§</a><h3 class="code-header">impl<V, T> VZip<V> for T<div class="where">where
|
||
V: MultiLane<T>,</div></h3></section></summary><div class="impl-items"><section id="method.vzip" class="method trait-impl"><a href="#method.vzip" class="anchor">§</a><h4 class="code-header">fn <a class="fn">vzip</a>(self) -> V</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-WithSubscriber-for-T" class="impl"><a href="#impl-WithSubscriber-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WithSubscriber for T</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.with_subscriber" class="method trait-impl"><a href="#method.with_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_subscriber</a><S>(self, subscriber: S) -> WithDispatch<Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a><div class="where">where
|
||
S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self> <a href="#" class="tooltip" data-notable-ty="WithDispatch<Self>">ⓘ</a></h4></section></summary><div class='docblock'>Attaches the current <a href="dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
||
[<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-MaybeClone-for-T" class="impl"><a href="#impl-MaybeClone-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../iced/daemon/program/message/trait.MaybeClone.html" title="trait cosmic::iced::daemon::program::message::MaybeClone">MaybeClone</a> for T</h3></section><section id="impl-MaybeDebug-for-T" class="impl"><a href="#impl-MaybeDebug-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../iced/daemon/program/message/trait.MaybeDebug.html" title="trait cosmic::iced::daemon::program::message::MaybeDebug">MaybeDebug</a> for T</h3></section><section id="impl-MaybeSend-for-T" class="impl"><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../iced/daemon/program/graphics/futures/trait.MaybeSend.html" title="trait cosmic::iced::daemon::program::graphics::futures::MaybeSend">MaybeSend</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSend-for-T-1" class="impl"><a href="#impl-MaybeSend-for-T-1" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSend for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSync-for-T" class="impl"><a href="#impl-MaybeSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../iced/daemon/program/graphics/futures/trait.MaybeSync.html" title="trait cosmic::iced::daemon::program::graphics::futures::MaybeSync">MaybeSync</a> for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-MaybeSync-for-T-1" class="impl"><a href="#impl-MaybeSync-for-T-1" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSync for T<div class="where">where
|
||
T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section></div><script type="text/json" id="notable-traits-data">{"Instrumented<Self>":"<h3>Notable traits for <code>Instrumented<T></code></h3><pre><code><div class=\"where\">impl<T> <a class=\"trait\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a> for Instrumented<T><div class=\"where\">where\n T: <a class=\"trait\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>,</div></div><div class=\"where\"> type <a href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" title=\"type cosmic::iced::daemon::program::graphics::futures::futures::Future::Output\">Output</a>;</div>","WithDispatch<Self>":"<h3>Notable traits for <code>WithDispatch<T></code></h3><pre><code><div class=\"where\">impl<T> <a class=\"trait\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a> for WithDispatch<T><div class=\"where\">where\n T: <a class=\"trait\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>,</div></div><div class=\"where\"> type <a href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" class=\"associatedtype\">Output</a> = <T as <a class=\"trait\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html\" title=\"trait cosmic::iced::daemon::program::graphics::futures::futures::Future\">Future</a>>::<a class=\"associatedtype\" href=\"../iced/daemon/program/graphics/futures/futures/trait.Future.html#associatedtype.Output\" title=\"type cosmic::iced::daemon::program::graphics::futures::futures::Future::Output\">Output</a>;</div>"}</script></section></div></main></body></html> |