|
31 | 31 | background_color: <a class="struct" href="../../struct.Color.html" title="struct iced::Color">Color</a>, |
32 | 32 | ) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> <a href="#" class="tooltip" data-notable-ty="Vec<u8>">ⓘ</a></h4></section></summary><div class="docblock"><p>Draws offscreen into a screenshot, returning a collection of |
33 | 33 | bytes representing the rendered pixels in RGBA order.</p> |
34 | | -</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-Headless-for-Renderer" class="impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#834">Source</a><a href="#impl-Headless-for-Renderer" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Headless.html" title="trait iced::advanced::renderer::Headless">Headless</a> for <a class="struct" href="../../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method trait-impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#835-839">Source</a><a href="#method.new" class="anchor">§</a><h4 class="code-header">async fn <a href="#tymethod.new" class="fn">new</a>( |
| 34 | +</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-Headless-for-Renderer" class="impl"><a class="src rightside" href="../../../src/iced_tiny_skia/lib.rs.html#383">Source</a><a href="#impl-Headless-for-Renderer" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Headless.html" title="trait iced::advanced::renderer::Headless">Headless</a> for <a class="struct" href="../../../iced_tiny_skia/struct.Renderer.html" title="struct iced_tiny_skia::Renderer">Renderer</a></h3></section></summary><div class="impl-items"><section id="method.new" class="method trait-impl"><a class="src rightside" href="../../../src/iced_tiny_skia/lib.rs.html#384-388">Source</a><a href="#method.new" class="anchor">§</a><h4 class="code-header">async fn <a href="#tymethod.new" class="fn">new</a>( |
35 | 35 | default_font: <a class="struct" href="../../struct.Font.html" title="struct iced::Font">Font</a>, |
36 | 36 | default_text_size: <a class="struct" href="../../struct.Pixels.html" title="struct iced::Pixels">Pixels</a>, |
37 | 37 | backend: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, |
38 | | -) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a>></h4></section><section id="method.name" class="method trait-impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#889">Source</a><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.screenshot" class="method trait-impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#893-898">Source</a><a href="#method.screenshot" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.screenshot" class="fn">screenshot</a>( |
| 38 | +) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../../iced_tiny_skia/struct.Renderer.html" title="struct iced_tiny_skia::Renderer">Renderer</a>></h4></section><section id="method.name" class="method trait-impl"><a class="src rightside" href="../../../src/iced_tiny_skia/lib.rs.html#398">Source</a><a href="#method.name" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.screenshot" class="method trait-impl"><a class="src rightside" href="../../../src/iced_tiny_skia/lib.rs.html#402-407">Source</a><a href="#method.screenshot" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.screenshot" class="fn">screenshot</a>( |
39 | 39 | &mut self, |
40 | 40 | size: <a class="struct" href="../../struct.Size.html" title="struct iced::Size">Size</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>>, |
41 | 41 | scale_factor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, |
42 | 42 | background_color: <a class="struct" href="../../struct.Color.html" title="struct iced::Color">Color</a>, |
43 | | -) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> <a href="#" class="tooltip" data-notable-ty="Vec<u8>">ⓘ</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Headless-for-Renderer-1" class="impl"><a href="#impl-Headless-for-Renderer-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Headless.html" title="trait iced::advanced::renderer::Headless">Headless</a> for Renderer</h3></section></summary><div class="impl-items"><section id="method.new-1" class="method trait-impl"><a href="#method.new-1" class="anchor">§</a><h4 class="code-header">async fn <a href="#tymethod.new" class="fn">new</a>( |
| 43 | +) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>> <a href="#" class="tooltip" data-notable-ty="Vec<u8>">ⓘ</a></h4></section></div></details><details class="toggle implementors-toggle"><summary><section id="impl-Headless-for-Renderer-1" class="impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#833">Source</a><a href="#impl-Headless-for-Renderer-1" class="anchor">§</a><h3 class="code-header">impl <a class="trait" href="trait.Headless.html" title="trait iced::advanced::renderer::Headless">Headless</a> for <a class="struct" href="../../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a></h3></section></summary><div class="impl-items"><section id="method.new-1" class="method trait-impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#834-838">Source</a><a href="#method.new-1" class="anchor">§</a><h4 class="code-header">async fn <a href="#tymethod.new" class="fn">new</a>( |
44 | 44 | default_font: <a class="struct" href="../../struct.Font.html" title="struct iced::Font">Font</a>, |
45 | 45 | default_text_size: <a class="struct" href="../../struct.Pixels.html" title="struct iced::Pixels">Pixels</a>, |
46 | 46 | backend: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><&<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>, |
47 | | -) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><Renderer></h4></section><section id="method.name-1" class="method trait-impl"><a href="#method.name-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.screenshot-1" class="method trait-impl"><a href="#method.screenshot-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.screenshot" class="fn">screenshot</a>( |
| 47 | +) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../../iced_wgpu/struct.Renderer.html" title="struct iced_wgpu::Renderer">Renderer</a>></h4></section><section id="method.name-1" class="method trait-impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#888">Source</a><a href="#method.name-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.name" class="fn">name</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></h4></section><section id="method.screenshot-1" class="method trait-impl"><a class="src rightside" href="../../../src/iced_wgpu/lib.rs.html#892-897">Source</a><a href="#method.screenshot-1" class="anchor">§</a><h4 class="code-header">fn <a href="#tymethod.screenshot" class="fn">screenshot</a>( |
48 | 48 | &mut self, |
49 | 49 | size: <a class="struct" href="../../struct.Size.html" title="struct iced::Size">Size</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>>, |
50 | 50 | scale_factor: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f32.html">f32</a>, |
|
0 commit comments