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

View file

@ -0,0 +1,2 @@
<!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="Returns the number of total vertices &#38; total indices of all `Mesh`es."><title>attribute_count_of in cosmic::iced::daemon::program::graphics::mesh - 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 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" 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"><div id="rustdoc-modnav"><h2><a href="index.html">In cosmic::<wbr>iced::<wbr>daemon::<wbr>program::<wbr>graphics::<wbr>mesh</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">graphics</a>::<wbr><a href="index.html">mesh</a></div><h1>Function <span class="fn">attribute_count_of</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 fn attribute_count_of(meshes: &amp;[<a class="enum" href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh">Mesh</a>]) -&gt; <a class="struct" href="struct.AttributeCount.html" title="struct cosmic::iced::daemon::program::graphics::mesh::AttributeCount">AttributeCount</a></code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Returns the number of total vertices &amp; total indices of all <a href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh"><code>Mesh</code></a>es.</p>
</div></details></section></div></main></body></html>

View file

@ -0,0 +1,2 @@
<!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="Draw triangles!"><title>cosmic::iced::daemon::program::graphics::mesh - 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 mod"><!--[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="#">Module mesh</a></h2><h3><a href="#structs">Module Items</a></h3><ul class="block"><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::<wbr>graphics</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">graphics</a></div><h1>Module <span>mesh</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>Draw triangles!</p>
</div></details><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.AttributeCount.html" title="struct cosmic::iced::daemon::program::graphics::mesh::AttributeCount">Attribute<wbr>Count</a></dt><dd>The result of counting the attributes of a set of meshes.</dd><dt><a class="struct" href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache">Cache</a></dt><dd>A cache of multiple meshes.</dd><dt><a class="struct" href="struct.GradientVertex2D.html" title="struct cosmic::iced::daemon::program::graphics::mesh::GradientVertex2D">Gradient<wbr>Vertex2D</a></dt><dd>A vertex which contains 2D position &amp; packed gradient data.</dd><dt><a class="struct" href="struct.Id.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Id">Id</a></dt><dd>The unique id of a <a href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache"><code>Cache</code></a>.</dd><dt><a class="struct" href="struct.Indexed.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Indexed">Indexed</a></dt><dd>A set of vertices and indices representing a list of triangles.</dd><dt><a class="struct" href="struct.SolidVertex2D.html" title="struct cosmic::iced::daemon::program::graphics::mesh::SolidVertex2D">Solid<wbr>Vertex2D</a></dt><dd>A two-dimensional vertex with a color.</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.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::mesh::Mesh">Mesh</a></dt><dd>A low-level primitive to render a mesh of triangles.</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.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::mesh::Renderer">Renderer</a></dt><dd>A renderer capable of drawing a <a href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh"><code>Mesh</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.attribute_count_of.html" title="fn cosmic::iced::daemon::program::graphics::mesh::attribute_count_of">attribute_<wbr>count_<wbr>of</a></dt><dd>Returns the number of total vertices &amp; total indices of all <a href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh"><code>Mesh</code></a>es.</dd></dl></section></div></main></body></html>

View file

@ -0,0 +1 @@
window.SIDEBAR_ITEMS = {"enum":["Mesh"],"fn":["attribute_count_of"],"struct":["AttributeCount","Cache","GradientVertex2D","Id","Indexed","SolidVertex2D"],"trait":["Renderer"]};

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,10 @@
<!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 capable of drawing a `Mesh`."><title>Renderer in cosmic::iced::daemon::program::graphics::mesh - 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="#">Renderer</a></h2><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.draw_mesh" title="draw_mesh">draw_mesh</a></li><li><a href="#tymethod.draw_mesh_cache" title="draw_mesh_cache">draw_mesh_cache</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-Renderer-for-Renderer" title="Renderer">Renderer</a></li><li><a href="#impl-Renderer-for-Renderer%3CA,+B%3E" title="Renderer&#60;A, B&#62;">Renderer&#60;A, B&#62;</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>graphics::<wbr>mesh</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">graphics</a>::<wbr><a href="index.html">mesh</a></div><h1>Trait <span class="trait">Renderer</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 Renderer {
// Required methods
fn <a href="#tymethod.draw_mesh" class="fn">draw_mesh</a>(&amp;mut self, mesh: <a class="enum" href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh">Mesh</a>);
<span class="item-spacer"></span> fn <a href="#tymethod.draw_mesh_cache" class="fn">draw_mesh_cache</a>(&amp;mut self, cache: <a class="struct" href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache">Cache</a>);
}</code></pre><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>A renderer capable of drawing a <a href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh"><code>Mesh</code></a>.</p>
</div></details><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.draw_mesh" class="method"><h4 class="code-header">fn <a href="#tymethod.draw_mesh" class="fn">draw_mesh</a>(&amp;mut self, mesh: <a class="enum" href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh">Mesh</a>)</h4></section></summary><div class="docblock"><p>Draws the given <a href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh"><code>Mesh</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="tymethod.draw_mesh_cache" class="method"><h4 class="code-header">fn <a href="#tymethod.draw_mesh_cache" class="fn">draw_mesh_cache</a>(&amp;mut self, cache: <a class="struct" href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache">Cache</a>)</h4></section></summary><div class="docblock"><p>Draws the given <a href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache"><code>Cache</code></a>.</p>
</div></details></div><h2 id="foreign-impls" class="section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor">§</a></h2><details class="toggle implementors-toggle"><summary><section id="impl-Renderer-for-Renderer" class="impl"><a href="#impl-Renderer-for-Renderer" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::mesh::Renderer">Renderer</a> for Renderer</h3></section></summary><div class="impl-items"><section id="method.draw_mesh" class="method trait-impl"><a href="#method.draw_mesh" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.draw_mesh" class="fn">draw_mesh</a>(&amp;mut self, _mesh: <a class="enum" href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh">Mesh</a>)</h4></section><section id="method.draw_mesh_cache" class="method trait-impl"><a href="#method.draw_mesh_cache" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.draw_mesh_cache" class="fn">draw_mesh_cache</a>(&amp;mut self, _cache: <a class="struct" href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache">Cache</a>)</h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Renderer-for-Renderer%3CA,+B%3E" class="impl"><a href="#impl-Renderer-for-Renderer%3CA,+B%3E" class="anchor">§</a><h3 class="code-header">impl&lt;A, B&gt; <a class="trait" href="trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::mesh::Renderer">Renderer</a> for Renderer&lt;A, B&gt;<div class="where">where
A: <a class="trait" href="trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::mesh::Renderer">Renderer</a>,
B: <a class="trait" href="trait.Renderer.html" title="trait cosmic::iced::daemon::program::graphics::mesh::Renderer">Renderer</a>,</div></h3></section></summary><div class="impl-items"><section id="method.draw_mesh-1" class="method trait-impl"><a href="#method.draw_mesh-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.draw_mesh" class="fn">draw_mesh</a>(&amp;mut self, mesh: <a class="enum" href="../enum.Mesh.html" title="enum cosmic::iced::daemon::program::graphics::Mesh">Mesh</a>)</h4></section><section id="method.draw_mesh_cache-1" class="method trait-impl"><a href="#method.draw_mesh_cache-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.draw_mesh_cache" class="fn">draw_mesh_cache</a>(&amp;mut self, cache: <a class="struct" href="struct.Cache.html" title="struct cosmic::iced::daemon::program::graphics::mesh::Cache">Cache</a>)</h4></section></div></details><h2 id="implementors" class="section-header">Implementors<a href="#implementors" class="anchor">§</a></h2><div id="implementors-list"></div><script src="../../../../../../trait.impl/iced_graphics/mesh/trait.Renderer.js" data-ignore-extern-crates="iced_renderer,iced_tiny_skia" async></script></section></div></main></body></html>