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

4 lines
No EOL
8.1 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="A renderer-agnostic native GUI runtime."><title>cosmic::iced::daemon::program::runtime - 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="#enums" title="Enums">Enums</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::<wbr>program</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>::<wbr><a href="../index.html">program</a></div><h1>Crate <span>runtime</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>A renderer-agnostic native GUI runtime.</p>
<p><img src="https://github.com/iced-rs/iced/blob/master/docs/graphs/native.png?raw=true" alt="The native path of the Iced ecosystem" /></p>
<p><code>iced_runtime</code> takes <a href="https://github.com/iced-rs/iced/tree/0.14/core"><code>iced_core</code></a> and builds a native runtime on top of it.</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="clipboard/index.html" title="mod cosmic::iced::daemon::program::runtime::clipboard">clipboard</a></dt><dd>Access the clipboard.</dd><dt><a class="mod" href="dnd/index.html" title="mod cosmic::iced::daemon::program::runtime::dnd">dnd</a></dt><dd>Access the clipboard.</dd><dt><a class="mod" href="font/index.html" title="mod cosmic::iced::daemon::program::runtime::font">font</a></dt><dd>Load and use fonts.</dd><dt><a class="mod" href="image/index.html" title="mod cosmic::iced::daemon::program::runtime::image">image</a></dt><dd>Allocate images explicitly to control presentation.</dd><dt><a class="mod" href="keyboard/index.html" title="mod cosmic::iced::daemon::program::runtime::keyboard">keyboard</a></dt><dd>Track keyboard events.</dd><dt><a class="mod" href="platform_specific/index.html" title="mod cosmic::iced::daemon::program::runtime::platform_specific">platform_<wbr>specific</a></dt><dd>Platform specific actions defined for wayland</dd><dt><a class="mod" href="system/index.html" title="mod cosmic::iced::daemon::program::runtime::system">system</a></dt><dd>Access the native system.</dd><dt><a class="mod" href="task/index.html" title="mod cosmic::iced::daemon::program::runtime::task">task</a></dt><dd>Create runtime tasks.</dd><dt><a class="mod" href="user_interface/index.html" title="mod cosmic::iced::daemon::program::runtime::user_interface">user_<wbr>interface</a></dt><dd>Implement your own event loop to drive a user interface.</dd><dt><a class="mod" href="widget/index.html" title="mod cosmic::iced::daemon::program::runtime::widget">widget</a></dt><dd>Operate on widgets and query them at runtime.</dd><dt><a class="mod" href="window/index.html" title="mod cosmic::iced::daemon::program::runtime::window">window</a></dt><dd>Build window-based GUI applications.</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.Appearance.html" title="struct cosmic::iced::daemon::program::runtime::Appearance">Appearance</a></dt><dd>The appearance of a program.</dd><dt><a class="struct" href="struct.Task.html" title="struct cosmic::iced::daemon::program::runtime::Task">Task</a></dt><dd>A set of concurrent actions to be performed by the iced runtime.</dd><dt><a class="struct" href="struct.UserInterface.html" title="struct cosmic::iced::daemon::program::runtime::UserInterface">User<wbr>Interface</a></dt><dd>A set of interactive graphical elements with a specific <a href="../../../advanced/struct.Layout.html" title="struct cosmic::iced::advanced::Layout"><code>Layout</code></a>.</dd></dl><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><dl class="item-table"><dt><a class="enum" href="enum.Action.html" title="enum cosmic::iced::daemon::program::runtime::Action">Action</a></dt><dd>An action that the iced runtime can perform.</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.DefaultStyle.html" title="trait cosmic::iced::daemon::program::runtime::DefaultStyle">Default<wbr>Style</a></dt><dd>The default style of a [<code>Program</code>].</dd><dt><a class="trait" href="trait.Window.html" title="trait cosmic::iced::daemon::program::runtime::Window">Window</a></dt><dd>A window managed by iced.</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.default.html" title="fn cosmic::iced::daemon::program::runtime::default">default</a></dt><dd>The default <a href="struct.Appearance.html" title="struct cosmic::iced::daemon::program::runtime::Appearance"><code>Appearance</code></a> of a [<code>Program</code>] with the built-in <a href="../../../enum.Theme.html" title="enum cosmic::iced::Theme"><code>iced_core::Theme</code></a>.</dd><dt><a class="fn" href="fn.exit.html" title="fn cosmic::iced::daemon::program::runtime::exit">exit</a></dt><dd>Creates a <a href="../../../../struct.Task.html" title="struct cosmic::Task"><code>Task</code></a> that exits the iced runtime.</dd></dl></section></div></main></body></html>