This commit is contained in:
wash2 2026-04-18 20:11:25 +00:00
commit 0fa87f2b35
16382 changed files with 734838 additions and 0 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["HandleError","RawDisplayHandle","RawWindowHandle"],"struct":["AndroidDisplayHandle","AndroidNdkWindowHandle","AppKitDisplayHandle","AppKitWindowHandle","DisplayHandle","DrmDisplayHandle","DrmWindowHandle","GbmDisplayHandle","GbmWindowHandle","HaikuDisplayHandle","HaikuWindowHandle","OhosDisplayHandle","OhosNdkWindowHandle","OrbitalDisplayHandle","OrbitalWindowHandle","UiKitDisplayHandle","UiKitWindowHandle","WaylandDisplayHandle","WaylandWindowHandle","WebCanvasWindowHandle","WebDisplayHandle","WebOffscreenCanvasWindowHandle","WebWindowHandle","Win32WindowHandle","WinRtWindowHandle","WindowHandle","WindowsDisplayHandle","XcbDisplayHandle","XcbWindowHandle","XlibDisplayHandle","XlibWindowHandle"],"trait":["HasDisplayHandle","HasRawDisplayHandle","HasRawWindowHandle","HasWindowHandle"]};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,15 @@
<!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="Display that wraps around a raw display handle."><title>HasRawDisplayHandle in cosmic::iced::daemon::program::runtime::window::raw_window_handle - 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="#">HasRaw<wbr>Display<wbr>Handle</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#safety" title="Safety">Safety</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.raw_display_handle" title="raw_display_handle">raw_display_handle</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>iced::<wbr>daemon::<wbr>program::<wbr>runtime::<wbr>window::<wbr>raw_<wbr>window_<wbr>handle</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>::<wbr><a href="../../index.html">runtime</a>::<wbr><a href="../index.html">window</a>::<wbr><a href="index.html">raw_window_handle</a></div><h1>Trait <span class="trait">HasRawDisplayHandle</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 unsafe trait HasRawDisplayHandle {
// Required method
fn <a href="#tymethod.raw_display_handle" class="fn">raw_display_handle</a>(&amp;self) -&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="enum" href="enum.RawDisplayHandle.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::RawDisplayHandle">RawDisplayHandle</a>, <a class="enum" href="enum.HandleError.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::HandleError">HandleError</a>&gt;;
}</code></pre><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Use <code>HasDisplayHandle</code> instead</span></div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Display that wraps around a raw display handle.</p>
<h2 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h2>
<p>Users can safely assume that pointers and non-zero fields are valid, and it is up to the
implementer of this trait to ensure that condition is upheld.</p>
<p>Despite that qualification, implementers should still make a best-effort attempt to fill in all
available fields. If an implementation doesnt, and a downstream user needs the field, it should
try to derive the field from other fields the implementer <em>does</em> provide via whatever methods the
platform provides.</p>
<p>The exact handles returned by <code>raw_display_handle</code> must remain consistent between multiple calls
to <code>raw_display_handle</code> as long as not indicated otherwise by platform specific events.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.raw_display_handle" class="method"><h4 class="code-header">fn <a href="#tymethod.raw_display_handle" class="fn">raw_display_handle</a>(&amp;self) -&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="enum" href="enum.RawDisplayHandle.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::RawDisplayHandle">RawDisplayHandle</a>, <a class="enum" href="enum.HandleError.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::HandleError">HandleError</a>&gt;</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Use <code>HasDisplayHandle</code> instead</span></div></span></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-HasRawDisplayHandle-for-T" class="impl"><a href="#impl-HasRawDisplayHandle-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.HasRawDisplayHandle.html" title="trait cosmic::iced::daemon::program::runtime::window::raw_window_handle::HasRawDisplayHandle">HasRawDisplayHandle</a> for T<div class="where">where
T: <a class="trait" href="trait.HasDisplayHandle.html" title="trait cosmic::iced::daemon::program::runtime::window::raw_window_handle::HasDisplayHandle">HasDisplayHandle</a> + ?<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></div><script src="../../../../../../../trait.impl/raw_window_handle/trait.HasRawDisplayHandle.js" async></script></section></div></main></body></html>

View file

@ -0,0 +1,15 @@
<!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="Window that wraps around a raw window handle."><title>HasRawWindowHandle in cosmic::iced::daemon::program::runtime::window::raw_window_handle - 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="#">HasRaw<wbr>Window<wbr>Handle</a></h2><h3><a href="#">Sections</a></h3><ul class="block top-toc"><li><a href="#safety" title="Safety">Safety</a></li></ul><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.raw_window_handle" title="raw_window_handle">raw_window_handle</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>iced::<wbr>daemon::<wbr>program::<wbr>runtime::<wbr>window::<wbr>raw_<wbr>window_<wbr>handle</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>::<wbr><a href="../../index.html">runtime</a>::<wbr><a href="../index.html">window</a>::<wbr><a href="index.html">raw_window_handle</a></div><h1>Trait <span class="trait">HasRawWindowHandle</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 unsafe trait HasRawWindowHandle {
// Required method
fn <a href="#tymethod.raw_window_handle" class="fn">raw_window_handle</a>(&amp;self) -&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="enum" href="enum.RawWindowHandle.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::RawWindowHandle">RawWindowHandle</a>, <a class="enum" href="enum.HandleError.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::HandleError">HandleError</a>&gt;;
}</code></pre><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Use <code>HasWindowHandle</code> instead</span></div></span><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Window that wraps around a raw window handle.</p>
<h2 id="safety"><a class="doc-anchor" href="#safety">§</a>Safety</h2>
<p>Users can safely assume that pointers and non-zero fields are valid, and it is up to the
implementer of this trait to ensure that condition is upheld.</p>
<p>Despite that qualification, implementers should still make a best-effort attempt to fill in all
available fields. If an implementation doesnt, and a downstream user needs the field, it should
try to derive the field from other fields the implementer <em>does</em> provide via whatever methods the
platform provides.</p>
<p>The exact handles returned by <code>raw_window_handle</code> must remain consistent between multiple calls
to <code>raw_window_handle</code> as long as not indicated otherwise by platform specific events.</p>
</div></details><h2 id="required-methods" class="section-header">Required Methods<a href="#required-methods" class="anchor">§</a></h2><div class="methods"><section id="tymethod.raw_window_handle" class="method"><h4 class="code-header">fn <a href="#tymethod.raw_window_handle" class="fn">raw_window_handle</a>(&amp;self) -&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="enum" href="enum.RawWindowHandle.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::RawWindowHandle">RawWindowHandle</a>, <a class="enum" href="enum.HandleError.html" title="enum cosmic::iced::daemon::program::runtime::window::raw_window_handle::HandleError">HandleError</a>&gt;</h4></section><span class="item-info"><div class="stab deprecated"><span class="emoji">👎</span><span>Deprecated: Use <code>HasWindowHandle</code> instead</span></div></span></div><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"><section id="impl-HasRawWindowHandle-for-T" class="impl"><a href="#impl-HasRawWindowHandle-for-T" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="trait.HasRawWindowHandle.html" title="trait cosmic::iced::daemon::program::runtime::window::raw_window_handle::HasRawWindowHandle">HasRawWindowHandle</a> for T<div class="where">where
T: <a class="trait" href="trait.HasWindowHandle.html" title="trait cosmic::iced::daemon::program::runtime::window::raw_window_handle::HasWindowHandle">HasWindowHandle</a> + ?<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></div><script src="../../../../../../../trait.impl/raw_window_handle/trait.HasRawWindowHandle.js" async></script></section></div></main></body></html>

File diff suppressed because one or more lines are too long