50 lines
No EOL
28 KiB
HTML
50 lines
No EOL
28 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="The internal definition of a `Program`."><title>Program in cosmic::iced::daemon - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../../static.files/rustdoc-aa0817cf.css"><meta name="rustdoc-vars" data-root-path="../../../" data-static-root-path="../../../static.files/" data-current-crate="cosmic" data-themes="" data-resource-suffix="" data-rustdoc-version="1.90.0-nightly (3048886e5 2025-07-30)" data-channel="nightly" data-search-js="search-fa3e91e5.js" data-settings-js="settings-5514c975.js" ><script src="../../../static.files/storage-68b7e25d.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../static.files/favicon-044be391.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../../cosmic/index.html">cosmic</a><span class="version">1.0.0</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Program</a></h2><h3><a href="#required-associated-types">Required Associated Types</a></h3><ul class="block"><li><a href="#associatedtype.Executor" title="Executor">Executor</a></li><li><a href="#associatedtype.Message" title="Message">Message</a></li><li><a href="#associatedtype.Renderer" title="Renderer">Renderer</a></li><li><a href="#associatedtype.State" title="State">State</a></li><li><a href="#associatedtype.Theme" title="Theme">Theme</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.boot" title="boot">boot</a></li><li><a href="#tymethod.name" title="name">name</a></li><li><a href="#tymethod.settings" title="settings">settings</a></li><li><a href="#tymethod.update" title="update">update</a></li><li><a href="#tymethod.view" title="view">view</a></li><li><a href="#tymethod.window" title="window">window</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.presets" title="presets">presets</a></li><li><a href="#method.scale_factor" title="scale_factor">scale_factor</a></li><li><a href="#method.style" title="style">style</a></li><li><a href="#method.subscription" title="subscription">subscription</a></li><li><a href="#method.theme" title="theme">theme</a></li><li><a href="#method.title" title="title">title</a></li></ul><h3><a href="#dyn-compatibility">Dyn Compatibility</a></h3><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>iced::<wbr>daemon</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">iced</a>::<wbr><a href="index.html">daemon</a></div><h1>Trait <span class="trait">Program</span><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"></span></div><pre class="rust item-decl"><code>pub trait Program: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a> {
|
|
type <a href="#associatedtype.State" class="associatedtype">State</a>;
|
|
type <a href="#associatedtype.Message" class="associatedtype">Message</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static;
|
|
type <a href="#associatedtype.Theme" class="associatedtype">Theme</a>: <a class="trait" href="program/graphics/core/theme/trait.Base.html" title="trait cosmic::iced::daemon::program::graphics::core::theme::Base">Base</a>;
|
|
type <a href="#associatedtype.Renderer" class="associatedtype">Renderer</a>: <a class="trait" href="program/trait.Renderer.html" title="trait cosmic::iced::daemon::program::Renderer">Renderer</a>;
|
|
type <a href="#associatedtype.Executor" class="associatedtype">Executor</a>: <a class="trait" href="../trait.Executor.html" title="trait cosmic::iced::Executor">Executor</a>;
|
|
|
|
// Required methods
|
|
fn <a href="#tymethod.name" class="fn">name</a>() -> &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.settings" class="fn">settings</a>(&self) -> <a class="struct" href="../struct.Settings.html" title="struct cosmic::iced::Settings">Settings</a>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.window" class="fn">window</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="../window/struct.Settings.html" title="struct cosmic::iced::window::Settings">Settings</a>>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.boot" class="fn">boot</a>(&self) -> (Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>>);
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.update" class="fn">update</a>(
|
|
&self,
|
|
state: &mut Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>,
|
|
message: Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>,
|
|
) -> <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>>;
|
|
<span class="item-spacer"></span> fn <a href="#tymethod.view" class="fn">view</a><'a>(
|
|
&self,
|
|
state: &'a Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>,
|
|
window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>,
|
|
) -> <a class="struct" href="program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element">Element</a><'a, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a>, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Renderer" title="type cosmic::iced::Program::Renderer">Renderer</a>>;
|
|
|
|
// Provided methods
|
|
fn <a href="#method.title" class="fn">title</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, _window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>) -> <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/string/struct.String.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::string::String">String</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.subscription" class="fn">subscription</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>) -> <a class="struct" href="../struct.Subscription.html" title="struct cosmic::iced::Subscription">Subscription</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.theme" class="fn">theme</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, _window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a>> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.style" class="fn">style</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, theme: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a>) -> <a class="struct" href="program/graphics/core/theme/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::theme::Style">Style</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.scale_factor" class="fn">scale_factor</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, _window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a> { ... }
|
|
<span class="item-spacer"></span> fn <a href="#method.presets" class="fn">presets</a>(&self) -> &[<a class="struct" href="../struct.Preset.html" title="struct cosmic::iced::Preset">Preset</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>>] { ... }
|
|
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The internal definition of a <a href="../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</p>
|
|
<p>A <a href="../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> can execute asynchronous actions by returning a
|
|
<a href="../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> in some of its methods.</p>
|
|
</div></details><h2 id="required-associated-types" class="section-header">Required Associated Types<a href="#required-associated-types" class="anchor">§</a></h2><div class="methods"><details class="toggle" open><summary><section id="associatedtype.State" class="method"><h4 class="code-header">type <a href="#associatedtype.State" class="associatedtype">State</a></h4></section></summary><div class="docblock"><p>The state of the program.</p>
|
|
</div></details><details class="toggle" open><summary><section id="associatedtype.Message" class="method"><h4 class="code-header">type <a href="#associatedtype.Message" class="associatedtype">Message</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + 'static</h4></section></summary><div class="docblock"><p>The message of the program.</p>
|
|
</div></details><details class="toggle" open><summary><section id="associatedtype.Theme" class="method"><h4 class="code-header">type <a href="#associatedtype.Theme" class="associatedtype">Theme</a>: <a class="trait" href="program/graphics/core/theme/trait.Base.html" title="trait cosmic::iced::daemon::program::graphics::core::theme::Base">Base</a></h4></section></summary><div class="docblock"><p>The theme of the program.</p>
|
|
</div></details><details class="toggle" open><summary><section id="associatedtype.Renderer" class="method"><h4 class="code-header">type <a href="#associatedtype.Renderer" class="associatedtype">Renderer</a>: <a class="trait" href="program/trait.Renderer.html" title="trait cosmic::iced::daemon::program::Renderer">Renderer</a></h4></section></summary><div class="docblock"><p>The renderer of the program.</p>
|
|
</div></details><details class="toggle" open><summary><section id="associatedtype.Executor" class="method"><h4 class="code-header">type <a href="#associatedtype.Executor" class="associatedtype">Executor</a>: <a class="trait" href="../trait.Executor.html" title="trait cosmic::iced::Executor">Executor</a></h4></section></summary><div class="docblock"><p>The executor of the program.</p>
|
|
</div></details></div><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><details class="toggle method-toggle" open><summary><section id="tymethod.name" class="method"><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>() -> &'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></h4></section></summary><div class="docblock"><p>Returns the unique name of the <a href="../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</p>
|
|
</div></details><section id="tymethod.settings" class="method"><h4 class="code-header">fn <a href="#tymethod.settings" class="fn">settings</a>(&self) -> <a class="struct" href="../struct.Settings.html" title="struct cosmic::iced::Settings">Settings</a></h4></section><section id="tymethod.window" class="method"><h4 class="code-header">fn <a href="#tymethod.window" class="fn">window</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="../window/struct.Settings.html" title="struct cosmic::iced::window::Settings">Settings</a>></h4></section><section id="tymethod.boot" class="method"><h4 class="code-header">fn <a href="#tymethod.boot" class="fn">boot</a>(&self) -> (Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>>)</h4></section><section id="tymethod.update" class="method"><h4 class="code-header">fn <a href="#tymethod.update" class="fn">update</a>(
|
|
&self,
|
|
state: &mut Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>,
|
|
message: Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>,
|
|
) -> <a class="struct" href="../../struct.Task.html" title="struct cosmic::Task">Task</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>></h4></section><section id="tymethod.view" class="method"><h4 class="code-header">fn <a href="#tymethod.view" class="fn">view</a><'a>(
|
|
&self,
|
|
state: &'a Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>,
|
|
window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>,
|
|
) -> <a class="struct" href="program/graphics/core/struct.Element.html" title="struct cosmic::iced::daemon::program::graphics::core::Element">Element</a><'a, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a>, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Renderer" title="type cosmic::iced::Program::Renderer">Renderer</a>></h4></section></div><h2 id="provided-methods" class="section-header">Provided Methods<a href="#provided-methods" class="anchor">§</a></h2><div class="methods"><section id="method.title" class="method"><h4 class="code-header">fn <a href="#method.title" class="fn">title</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, _window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>) -> <a class="struct" href="../../cctk/sctk/reexports/client/backend/smallvec/alloc/string/struct.String.html" title="struct cosmic::cctk::sctk::reexports::client::backend::smallvec::alloc::string::String">String</a></h4></section><section id="method.subscription" class="method"><h4 class="code-header">fn <a href="#method.subscription" class="fn">subscription</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>) -> <a class="struct" href="../struct.Subscription.html" title="struct cosmic::iced::Subscription">Subscription</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>></h4></section><section id="method.theme" class="method"><h4 class="code-header">fn <a href="#method.theme" class="fn">theme</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, _window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a>></h4></section><section id="method.style" class="method"><h4 class="code-header">fn <a href="#method.style" class="fn">style</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, theme: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a>) -> <a class="struct" href="program/graphics/core/theme/struct.Style.html" title="struct cosmic::iced::daemon::program::graphics::core::theme::Style">Style</a></h4></section><section id="method.scale_factor" class="method"><h4 class="code-header">fn <a href="#method.scale_factor" class="fn">scale_factor</a>(&self, _state: &Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, _window: <a class="struct" href="../window/struct.Id.html" title="struct cosmic::iced::window::Id">Id</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a></h4></section><section id="method.presets" class="method"><h4 class="code-header">fn <a href="#method.presets" class="fn">presets</a>(&self) -> &[<a class="struct" href="../struct.Preset.html" title="struct cosmic::iced::Preset">Preset</a><Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a>, Self::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a>>]</h4></section></div><h2 id="dyn-compatibility" class="section-header">Dyn Compatibility<a href="#dyn-compatibility" class="anchor">§</a></h2><div class="dyn-compatibility-info"><p>This trait is <b>not</b> <a href="https://doc.rust-lang.org/nightly/reference/items/traits.html#dyn-compatibility">dyn compatible</a>.</p><p><i>In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.</i></p></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><details class="toggle implementors-toggle"><summary><section id="impl-Program-for-Application%3CP%3E" class="impl"><a href="#impl-Program-for-Application%3CP%3E" class="anchor">§</a><h3 class="code-header">impl<P> <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a> for <a class="struct" href="../struct.Application.html" title="struct cosmic::iced::Application">Application</a><P><div class="where">where
|
|
P: <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.State-1" class="associatedtype trait-impl"><a href="#associatedtype.State-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.State" class="associatedtype">State</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a></h4></section><section id="associatedtype.Message-1" class="associatedtype trait-impl"><a href="#associatedtype.Message-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Message" class="associatedtype">Message</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a></h4></section><section id="associatedtype.Theme-1" class="associatedtype trait-impl"><a href="#associatedtype.Theme-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Theme" class="associatedtype">Theme</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a></h4></section><section id="associatedtype.Renderer-1" class="associatedtype trait-impl"><a href="#associatedtype.Renderer-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Renderer" class="associatedtype">Renderer</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Renderer" title="type cosmic::iced::Program::Renderer">Renderer</a></h4></section><section id="associatedtype.Executor-1" class="associatedtype trait-impl"><a href="#associatedtype.Executor-1" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Executor" class="associatedtype">Executor</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Executor" title="type cosmic::iced::Program::Executor">Executor</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Program-for-Daemon%3CP%3E" class="impl"><a href="#impl-Program-for-Daemon%3CP%3E" class="anchor">§</a><h3 class="code-header">impl<P> <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a> for <a class="struct" href="../struct.Daemon.html" title="struct cosmic::iced::Daemon">Daemon</a><P><div class="where">where
|
|
P: <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>,</div></h3></section></summary><div class="impl-items"><section id="associatedtype.State-2" class="associatedtype trait-impl"><a href="#associatedtype.State-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.State" class="associatedtype">State</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.State" title="type cosmic::iced::Program::State">State</a></h4></section><section id="associatedtype.Message-2" class="associatedtype trait-impl"><a href="#associatedtype.Message-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Message" class="associatedtype">Message</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Message" title="type cosmic::iced::Program::Message">Message</a></h4></section><section id="associatedtype.Theme-2" class="associatedtype trait-impl"><a href="#associatedtype.Theme-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Theme" class="associatedtype">Theme</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Theme" title="type cosmic::iced::Program::Theme">Theme</a></h4></section><section id="associatedtype.Renderer-2" class="associatedtype trait-impl"><a href="#associatedtype.Renderer-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Renderer" class="associatedtype">Renderer</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Renderer" title="type cosmic::iced::Program::Renderer">Renderer</a></h4></section><section id="associatedtype.Executor-2" class="associatedtype trait-impl"><a href="#associatedtype.Executor-2" class="anchor">§</a><h4 class="code-header">type <a href="#associatedtype.Executor" class="associatedtype">Executor</a> = <P as <a class="trait" href="../trait.Program.html" title="trait cosmic::iced::Program">Program</a>>::<a class="associatedtype" href="../trait.Program.html#associatedtype.Executor" title="type cosmic::iced::Program::Executor">Executor</a></h4></section></div></details></div><script src="../../../trait.impl/iced_program/trait.Program.js" data-ignore-extern-crates="iced" async></script></section></div></main></body></html> |