libcosmic/cosmic/iced/daemon/program/index.html
2026-04-18 20:11:25 +00:00

3 lines
No EOL
7.3 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 definition of an iced program."><title>cosmic::iced::daemon::program - 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="../../../../crates.js"></script><script defer src="../../../../static.files/main-eebb9057.js"></script><noscript><link rel="stylesheet" href="../../../../static.files/noscript-32bb7600.css"></noscript><link rel="alternate icon" type="image/png" href="../../../../static.files/favicon-32x32-6580c154.png"><link rel="icon" type="image/svg+xml" href="../../../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[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"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#modules">Crate Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#traits" title="Traits">Traits</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2><a href="../index.html">In cosmic::<wbr>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>Crate <span>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><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>The definition of an iced program.</p>
</div></details><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="graphics/index.html" title="mod cosmic::iced::daemon::program::graphics">graphics</a></dt><dd>A bunch of backend-agnostic types that can be leveraged to build a renderer
for <a href="https://github.com/iced-rs/iced"><code>iced</code></a>.</dd><dt><a class="mod" href="message/index.html" title="mod cosmic::iced::daemon::program::message">message</a></dt><dd>Traits for the message type of a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</dd><dt><a class="mod" href="runtime/index.html" title="mod cosmic::iced::daemon::program::runtime">runtime</a></dt><dd>A renderer-agnostic native GUI runtime.</dd></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Instance.html" title="struct cosmic::iced::daemon::program::Instance">Instance</a></dt><dd>A particular instance of a running <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</dd><dt><a class="struct" href="struct.Preset.html" title="struct cosmic::iced::daemon::program::Preset">Preset</a></dt><dd>A specific boot strategy for a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</dd><dt><a class="struct" href="struct.Task.html" title="struct cosmic::iced::daemon::program::Task">Task</a></dt><dd>A set of concurrent actions to be performed by the iced runtime.</dd></dl><h2 id="traits" class="section-header">Traits<a href="#traits" class="anchor">§</a></h2><dl class="item-table"><dt><a class="trait" href="trait.Program.html" title="trait cosmic::iced::daemon::program::Program">Program</a></dt><dd>The internal definition of a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</dd><dt><a class="trait" href="trait.Renderer.html" title="trait cosmic::iced::daemon::program::Renderer">Renderer</a></dt><dd>The renderer of some <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a>.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.with_executor.html" title="fn cosmic::iced::daemon::program::with_executor">with_<wbr>executor</a></dt><dd>Decorates a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> with the given executor function.</dd><dt><a class="fn" href="fn.with_scale_factor.html" title="fn cosmic::iced::daemon::program::with_scale_factor">with_<wbr>scale_<wbr>factor</a></dt><dd>Decorates a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> with the given scale factor function.</dd><dt><a class="fn" href="fn.with_style.html" title="fn cosmic::iced::daemon::program::with_style">with_<wbr>style</a></dt><dd>Decorates a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> with the given style function.</dd><dt><a class="fn" href="fn.with_subscription.html" title="fn cosmic::iced::daemon::program::with_subscription">with_<wbr>subscription</a></dt><dd>Decorates a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> with the given subscription function.</dd><dt><a class="fn" href="fn.with_theme.html" title="fn cosmic::iced::daemon::program::with_theme">with_<wbr>theme</a></dt><dd>Decorates a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> with the given theme function.</dd><dt><a class="fn" href="fn.with_title.html" title="fn cosmic::iced::daemon::program::with_title">with_<wbr>title</a></dt><dd>Decorates a <a href="../../trait.Program.html" title="trait cosmic::iced::Program"><code>Program</code></a> with the given title function.</dd></dl></section></div></main></body></html>