Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jan 11, 2024
1 parent ef4947e commit c40e2c3
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 34 deletions.
10 changes: 6 additions & 4 deletions iced/widget/shader/struct.Storage.html

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions iced_wgpu/primitive/pipeline/struct.Storage.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions iced_widget/canvas/enum.Frame.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!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="API documentation for the Rust `Frame` enum in crate `iced_widget`."><title>Frame in iced_widget::canvas - 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-4e54bb2b497cc83f.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="iced_widget" data-themes="" data-resource-suffix="" data-rustdoc-version="1.77.0-nightly (a2d9d73e6 2024-01-10)" data-channel="nightly" data-search-js="search-dd67cee4cfa65049.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../../static.files/storage-f2adc0d6ca4d09fb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../../static.files/main-0b2e2def73e61cbe.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-04d5337699b92874.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 enum"><!--[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><a class="logo-container" href="../../iced_widget/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_widget/index.html"><img src="https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" alt="logo"></a><h2><a href="../../iced_widget/index.html">iced_widget</a><span class="version">0.12.0</span></h2></div><h2 class="location"><a href="#">Frame</a></h2><div class="sidebar-elems"><section><h3><a href="#variants">Variants</a></h3><ul class="block variant"><li><a href="#variant.TinySkia">TinySkia</a></li><li><a href="#variant.Wgpu">Wgpu</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block method"><li><a href="#method.center">center</a></li><li><a href="#method.fill">fill</a></li><li><a href="#method.fill_rectangle">fill_rectangle</a></li><li><a href="#method.fill_text">fill_text</a></li><li><a href="#method.height">height</a></li><li><a href="#method.into_geometry">into_geometry</a></li><li><a href="#method.new">new</a></li><li><a href="#method.rotate">rotate</a></li><li><a href="#method.scale">scale</a></li><li><a href="#method.scale_nonuniform">scale_nonuniform</a></li><li><a href="#method.size">size</a></li><li><a href="#method.stroke">stroke</a></li><li><a href="#method.translate">translate</a></li><li><a href="#method.width">width</a></li><li><a href="#method.with_clip">with_clip</a></li><li><a href="#method.with_save">with_save</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block synthetic-implementation"><li><a href="#impl-RefUnwindSafe-for-Frame">!RefUnwindSafe</a></li><li><a href="#impl-UnwindSafe-for-Frame">!UnwindSafe</a></li><li><a href="#impl-Send-for-Frame">Send</a></li><li><a href="#impl-Sync-for-Frame">Sync</a></li><li><a href="#impl-Unpin-for-Frame">Unpin</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block blanket-implementation"><li><a href="#impl-AdaptInto%3CD,+Swp,+Dwp,+T%3E-for-S">AdaptInto&lt;D, Swp, Dwp, T&gt;</a></li><li><a href="#impl-Any-for-T">Any</a></li><li><a href="#impl-ArraysFrom%3CC%3E-for-T">ArraysFrom&lt;C&gt;</a></li><li><a href="#impl-ArraysInto%3CC%3E-for-T">ArraysInto&lt;C&gt;</a></li><li><a href="#impl-Borrow%3CT%3E-for-T">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-T">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-ComponentsFrom%3CC%3E-for-T">ComponentsFrom&lt;C&gt;</a></li><li><a href="#impl-Downcast-for-T">Downcast</a></li><li><a href="#impl-Downcast%3CT%3E-for-T">Downcast&lt;T&gt;</a></li><li><a href="#impl-DowncastSync-for-T">DowncastSync</a></li><li><a href="#impl-From%3CT%3E-for-T">From&lt;T&gt;</a></li><li><a href="#impl-FromAngle%3CT%3E-for-T">FromAngle&lt;T&gt;</a></li><li><a href="#impl-FromStimulus%3CU%3E-for-T">FromStimulus&lt;U&gt;</a></li><li><a href="#impl-Instrument-for-T">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-T">Into&lt;U&gt;</a></li><li><a href="#impl-IntoAngle%3CU%3E-for-T">IntoAngle&lt;U&gt;</a></li><li><a href="#impl-IntoColor%3CU%3E-for-T">IntoColor&lt;U&gt;</a></li><li><a href="#impl-IntoColorUnclamped%3CU%3E-for-T">IntoColorUnclamped&lt;U&gt;</a></li><li><a href="#impl-IntoStimulus%3CT%3E-for-T">IntoStimulus&lt;T&gt;</a></li><li><a href="#impl-MaybeSend-for-T">MaybeSend</a></li><li><a href="#impl-Pointable-for-T">Pointable</a></li><li><a href="#impl-TryComponentsInto%3CC%3E-for-T">TryComponentsInto&lt;C&gt;</a></li><li><a href="#impl-TryFrom%3CU%3E-for-T">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-T">TryInto&lt;U&gt;</a></li><li><a href="#impl-TryIntoColor%3CU%3E-for-T">TryIntoColor&lt;U&gt;</a></li><li><a href="#impl-UintsFrom%3CC%3E-for-U">UintsFrom&lt;C&gt;</a></li><li><a href="#impl-UintsInto%3CC%3E-for-U">UintsInto&lt;C&gt;</a></li><li><a href="#impl-Upcast%3CT%3E-for-T">Upcast&lt;T&gt;</a></li><li><a href="#impl-WasmNotSend-for-T">WasmNotSend</a></li><li><a href="#impl-WasmNotSync-for-T">WasmNotSync</a></li><li><a href="#impl-WithSubscriber-for-T">WithSubscriber</a></li></ul></section><h2><a href="index.html">In iced_widget::canvas</a></h2></div></nav><div class="sidebar-resizer"></div>
<main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><div id="sidebar-button" tabindex="-1"><a href="../../iced_widget/all.html" title="show sidebar"></a></div><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" tabindex="-1"><a href="../../help.html" title="help">?</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>Enum <a href="../index.html">iced_widget</a>::<wbr><a href="index.html">canvas</a>::<wbr><a class="enum" href="#">Frame</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_renderer/geometry.rs.html#9">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><pre class="rust item-decl"><code>pub enum Frame {
TinySkia(Frame),
Wgpu(<a class="struct" href="../../iced_wgpu/geometry/struct.Frame.html" title="struct iced_wgpu::geometry::Frame">Frame</a>),
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>canvas</code></strong> only.</div></span><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.TinySkia" class="variant"><a href="#variant.TinySkia" class="anchor">§</a><h3 class="code-header">TinySkia(Frame)</h3></section><section id="variant.Wgpu" class="variant"><a href="#variant.Wgpu" class="anchor">§</a><h3 class="code-header">Wgpu(<a class="struct" href="../../iced_wgpu/geometry/struct.Frame.html" title="struct iced_wgpu::geometry::Frame">Frame</a>)</h3></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wgpu</code></strong> only.</div></span></div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Frame" class="impl"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#31">source</a><a href="#impl-Frame" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Frame.html" title="enum iced_widget::canvas::Frame">Frame</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#32">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;Theme&gt;(renderer: &amp;<a class="enum" href="../../iced_renderer/enum.Renderer.html" title="enum iced_renderer::Renderer">Renderer</a>&lt;Theme&gt;, size: Size) -&gt; <a class="enum" href="enum.Frame.html" title="enum iced_widget::canvas::Frame">Frame</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.width" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#46">source</a><h4 class="code-header">pub fn <a href="#method.width" class="fn">width</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h4></section></summary><div class="docblock"><p>Returns the width of the <a href="enum.Frame.html" title="enum iced_widget::canvas::Frame"><code>Frame</code></a>.</p>
Wgpu(Frame),
}</code></pre><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>canvas</code></strong> only.</div></span><h2 id="variants" class="variants section-header">Variants<a href="#variants" class="anchor">§</a></h2><div class="variants"><section id="variant.TinySkia" class="variant"><a href="#variant.TinySkia" class="anchor">§</a><h3 class="code-header">TinySkia(Frame)</h3></section><section id="variant.Wgpu" class="variant"><a href="#variant.Wgpu" class="anchor">§</a><h3 class="code-header">Wgpu(Frame)</h3></section><span class="item-info"><div class="stab portability">Available on <strong>crate feature <code>wgpu</code></strong> only.</div></span></div><h2 id="implementations" class="section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="toggle implementors-toggle" open><summary><section id="impl-Frame" class="impl"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#31">source</a><a href="#impl-Frame" class="anchor">§</a><h3 class="code-header">impl <a class="enum" href="enum.Frame.html" title="enum iced_widget::canvas::Frame">Frame</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#32">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;Theme&gt;(renderer: &amp;<a class="enum" href="../../iced_renderer/enum.Renderer.html" title="enum iced_renderer::Renderer">Renderer</a>&lt;Theme&gt;, size: Size) -&gt; <a class="enum" href="enum.Frame.html" title="enum iced_widget::canvas::Frame">Frame</a></h4></section><details class="toggle method-toggle" open><summary><section id="method.width" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#46">source</a><h4 class="code-header">pub fn <a href="#method.width" class="fn">width</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h4></section></summary><div class="docblock"><p>Returns the width of the <a href="enum.Frame.html" title="enum iced_widget::canvas::Frame"><code>Frame</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.height" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#52">source</a><h4 class="code-header">pub fn <a href="#method.height" class="fn">height</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a></h4></section></summary><div class="docblock"><p>Returns the height of the <a href="enum.Frame.html" title="enum iced_widget::canvas::Frame"><code>Frame</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.size" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#58">source</a><h4 class="code-header">pub fn <a href="#method.size" class="fn">size</a>(&amp;self) -&gt; Size</h4></section></summary><div class="docblock"><p>Returns the dimensions of the <a href="enum.Frame.html" title="enum iced_widget::canvas::Frame"><code>Frame</code></a>.</p>
</div></details><details class="toggle method-toggle" open><summary><section id="method.center" class="method"><a class="src rightside" href="../../src/iced_renderer/geometry.rs.html#64">source</a><h4 class="code-header">pub fn <a href="#method.center" class="fn">center</a>(&amp;self) -&gt; Point</h4></section></summary><div class="docblock"><p>Returns the coordinate of the center of the <a href="enum.Frame.html" title="enum iced_widget::canvas::Frame"><code>Frame</code></a>.</p>
Expand Down
Loading

0 comments on commit c40e2c3

Please sign in to comment.