Skip to content

Commit 95cc6f7

Browse files
committed
1 parent 4d0e5cf commit 95cc6f7

23 files changed

+122
-109
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!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="Builds a `UserInterface` for the provided `Application`, logging `struct@Debug` information accordingly."><title>build_user_interface in iced_winit::application - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-e883e87179a81222.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iced_winit" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0-nightly (d86d65bbc 2023-12-10)" data-channel="nightly" data-search-js="search-5a66c239c06b3a66.js" data-settings-js="settings-fe03fdc259827cd2.js" ><script src="../../static.files/storage-bc37acceda91d44a.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-77dede896d6ac08e.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../iced_winit/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../iced_winit/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt="logo"></a><h2><a href="../../iced_winit/index.html">iced_winit</a><span class="version">0.13.0-dev</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iced_winit::application</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">iced_winit</a>::<wbr><a href="index.html">application</a>::<wbr><a class="fn" href="#">build_user_interface</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/iced_winit/application.rs.html#645-664">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub fn build_user_interface&lt;'a, A: <a class="trait" href="trait.Application.html" title="trait iced_winit::application::Application">Application</a>&gt;(
22
application: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;'a A</a>,
3-
cache: Cache,
4-
renderer: &amp;mut A::Renderer,
3+
cache: <a class="struct" href="../../iced_runtime/user_interface/struct.Cache.html" title="struct iced_runtime::user_interface::Cache">Cache</a>,
4+
renderer: &amp;mut A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Renderer" title="type iced_runtime::program::Program::Renderer">Renderer</a>,
55
size: Size,
6-
debug: &amp;mut Debug
7-
) -&gt; UserInterface&lt;'a, A::Message, A::Theme, A::Renderer&gt;<div class="where">where
8-
A::Theme: <a class="trait" href="trait.DefaultStyle.html" title="trait iced_winit::application::DefaultStyle">DefaultStyle</a>,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>application</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Builds a [<code>UserInterface</code>] for the provided <a href="trait.Application.html" title="trait iced_winit::application::Application"><code>Application</code></a>, logging
9-
[<code>struct@Debug</code>] information accordingly.</p>
6+
debug: &amp;mut <a class="struct" href="../../iced_runtime/debug/struct.Debug.html" title="struct iced_runtime::debug::Debug">Debug</a>
7+
) -&gt; <a class="struct" href="../../iced_runtime/user_interface/struct.UserInterface.html" title="struct iced_runtime::user_interface::UserInterface">UserInterface</a>&lt;'a, A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Message" title="type iced_runtime::program::Program::Message">Message</a>, A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Theme" title="type iced_runtime::program::Program::Theme">Theme</a>, A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Renderer" title="type iced_runtime::program::Program::Renderer">Renderer</a>&gt;<div class="where">where
8+
A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Theme" title="type iced_runtime::program::Program::Theme">Theme</a>: <a class="trait" href="trait.DefaultStyle.html" title="trait iced_winit::application::DefaultStyle">DefaultStyle</a>,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>application</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Builds a <a href="../../iced_runtime/user_interface/struct.UserInterface.html" title="struct iced_runtime::user_interface::UserInterface"><code>UserInterface</code></a> for the provided <a href="trait.Application.html" title="trait iced_winit::application::Application"><code>Application</code></a>, logging
9+
<a href="../../iced_runtime/debug/struct.Debug.html" title="struct iced_runtime::debug::Debug"><code>Debug</code></a> information accordingly.</p>
1010
</div></details></section></div></main></body></html>

iced_winit/application/fn.run.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<!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="Runs an `Application` with an executor, compositor, and the provided settings."><title>run in iced_winit::application - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../../static.files/rustdoc-e883e87179a81222.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iced_winit" data-themes="" data-resource-suffix="" data-rustdoc-version="1.76.0-nightly (d86d65bbc 2023-12-10)" data-channel="nightly" data-search-js="search-5a66c239c06b3a66.js" data-settings-js="settings-fe03fdc259827cd2.js" ><script src="../../static.files/storage-bc37acceda91d44a.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-77dede896d6ac08e.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc fn"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="logo-container" href="../../iced_winit/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt=""></a></nav><nav class="sidebar"><div class="sidebar-crate"><a class="logo-container" href="../../iced_winit/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt="logo"></a><h2><a href="../../iced_winit/index.html">iced_winit</a><span class="version">0.13.0-dev</span></h2></div><div class="sidebar-elems"><h2><a href="index.html">In iced_winit::application</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Function <a href="../index.html">iced_winit</a>::<wbr><a href="index.html">application</a>::<wbr><a class="fn" href="#">run</a><button id="copy-path" title="Copy item path to clipboard"><img src="../../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../../src/iced_winit/application.rs.html#132-302">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub async fn run&lt;A, E, C&gt;(
22
settings: <a class="struct" href="../settings/struct.Settings.html" title="struct iced_winit::settings::Settings">Settings</a>&lt;A::<a class="associatedtype" href="trait.Application.html#associatedtype.Flags" title="type iced_winit::application::Application::Flags">Flags</a>&gt;,
3-
graphics_settings: Settings
3+
graphics_settings: <a class="struct" href="../../iced_graphics/settings/struct.Settings.html" title="struct iced_graphics::settings::Settings">Settings</a>
44
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../enum.Error.html" title="enum iced_winit::Error">Error</a>&gt;<div class="where">where
55
A: <a class="trait" href="trait.Application.html" title="trait iced_winit::application::Application">Application</a> + 'static,
66
E: Executor + 'static,
7-
C: Compositor&lt;Renderer = A::Renderer&gt; + 'static,
8-
A::Theme: <a class="trait" href="trait.DefaultStyle.html" title="trait iced_winit::application::DefaultStyle">DefaultStyle</a>,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>application</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Runs an <a href="trait.Application.html" title="trait iced_winit::application::Application"><code>Application</code></a> with an executor, compositor, and the provided
7+
C: <a class="trait" href="../../iced_graphics/compositor/trait.Compositor.html" title="trait iced_graphics::compositor::Compositor">Compositor</a>&lt;Renderer = A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Renderer" title="type iced_runtime::program::Program::Renderer">Renderer</a>&gt; + 'static,
8+
A::<a class="associatedtype" href="../../iced_runtime/program/trait.Program.html#associatedtype.Theme" title="type iced_runtime::program::Program::Theme">Theme</a>: <a class="trait" href="trait.DefaultStyle.html" title="trait iced_winit::application::DefaultStyle">DefaultStyle</a>,</div></code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>application</code></strong> only.</div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Runs an <a href="trait.Application.html" title="trait iced_winit::application::Application"><code>Application</code></a> with an executor, compositor, and the provided
99
settings.</p>
1010
</div></details></section></div></main></body></html>

0 commit comments

Comments
 (0)