|
28 | 28 | renderer: &mut Self::<a class="associatedtype" href="../../iced_graphics/compositor/trait.Compositor.html#associatedtype.Renderer" title="type iced_graphics::compositor::Compositor::Renderer">Renderer</a>,
|
29 | 29 | surface: &mut Self::<a class="associatedtype" href="../../iced_graphics/compositor/trait.Compositor.html#associatedtype.Surface" title="type iced_graphics::compositor::Compositor::Surface">Surface</a>,
|
30 | 30 | viewport: &<a class="struct" href="../../iced_graphics/viewport/struct.Viewport.html" title="struct iced_graphics::viewport::Viewport">Viewport</a>,
|
31 |
| - background_color: <a class="struct" href="../../iced_core/color/struct.Color.html" title="struct iced_core::color::Color">Color</a>, |
| 31 | + background_color: Color, |
32 | 32 | overlay: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a>,
|
33 | 33 | ) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../iced_graphics/compositor/enum.SurfaceError.html" title="enum iced_graphics::compositor::SurfaceError">SurfaceError</a>></h4></section></summary><div class='docblock'>Presents the <a href="../../iced_graphics/compositor/trait.Compositor.html#associatedtype.Renderer" title="associated type iced_graphics::compositor::Compositor::Renderer::Renderer"><code>Renderer</code></a> primitives to the next frame of the given <a href="../../iced_graphics/compositor/trait.Compositor.html#associatedtype.Surface" title="associated type iced_graphics::compositor::Compositor::Surface::Surface"><code>Surface</code></a>.</div></details><details class="toggle method-toggle" open><summary><section id="method.screenshot" class="method trait-impl"><a class="src rightside" href="../../src/iced_renderer/fallback.rs.html#353-379">Source</a><a href="#method.screenshot" class="anchor">§</a><h4 class="code-header">fn <a href="../../iced_graphics/compositor/trait.Compositor.html#tymethod.screenshot" class="fn">screenshot</a><T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>>>(
|
34 | 34 | &mut self,
|
35 | 35 | renderer: &mut Self::<a class="associatedtype" href="../../iced_graphics/compositor/trait.Compositor.html#associatedtype.Renderer" title="type iced_graphics::compositor::Compositor::Renderer">Renderer</a>,
|
36 | 36 | viewport: &<a class="struct" href="../../iced_graphics/viewport/struct.Viewport.html" title="struct iced_graphics::viewport::Viewport">Viewport</a>,
|
37 |
| - background_color: <a class="struct" href="../../iced_core/color/struct.Color.html" title="struct iced_core::color::Color">Color</a>, |
| 37 | + background_color: Color, |
38 | 38 | overlay: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[T]</a>,
|
39 | 39 | ) -> <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'>Screenshots the current <a href="../../iced_graphics/compositor/trait.Compositor.html#associatedtype.Renderer" title="associated type iced_graphics::compositor::Compositor::Renderer::Renderer"><code>Renderer</code></a> primitives to an offscreen texture, and returns the bytes of
|
40 | 40 | the texture ordered as <code>RGBA</code> in the <code>sRGB</code> color space.</div></details><details class="toggle method-toggle" open><summary><section id="method.new" class="method trait-impl"><a class="src rightside" href="../../src/iced_graphics/compositor.rs.html#22-25">Source</a><a href="#method.new" class="anchor">§</a><h4 class="code-header">fn <a href="../../iced_graphics/compositor/trait.Compositor.html#method.new" class="fn">new</a><W>(
|
|
117 | 117 | S: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><Dispatch>,</div></h4></section></summary><div class='docblock'>Attaches the provided <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
118 | 118 | [<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details><details class="toggle method-toggle" open><summary><section id="method.with_current_subscriber" class="method trait-impl"><a href="#method.with_current_subscriber" class="anchor">§</a><h4 class="code-header">fn <a class="fn">with_current_subscriber</a>(self) -> WithDispatch<Self></h4></section></summary><div class='docblock'>Attaches the current <a href="crate::dispatcher#setting-the-default-subscriber">default</a> <a href="super::Subscriber"><code>Subscriber</code></a> to this type, returning a
|
119 | 119 | [<code>WithDispatch</code>] wrapper. <a>Read more</a></div></details></div></details><section id="impl-ErasedDestructor-for-T" class="impl"><a href="#impl-ErasedDestructor-for-T" class="anchor">§</a><h3 class="code-header">impl<T> ErasedDestructor for T<div class="where">where
|
120 |
| - T: 'static,</div></h3></section><section id="impl-MaybeSend-for-T" class="impl"><a class="src rightside" href="../../src/iced_futures/maybe.rs.html#8">Source</a><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../iced_futures/maybe/platform/trait.MaybeSend.html" title="trait iced_futures::maybe::platform::MaybeSend">MaybeSend</a> for T<div class="where">where |
121 |
| - T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSendSync-for-T" class="impl"><a href="#impl-MaybeSendSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSendSync for T</h3></section><section id="impl-MaybeSync-for-T" class="impl"><a class="src rightside" href="../../src/iced_futures/maybe.rs.html#15">Source</a><a href="#impl-MaybeSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> <a class="trait" href="../../iced_futures/maybe/platform/trait.MaybeSync.html" title="trait iced_futures::maybe::platform::MaybeSync">MaybeSync</a> for T<div class="where">where |
| 120 | + T: 'static,</div></h3></section><section id="impl-MaybeSend-for-T" class="impl"><a href="#impl-MaybeSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSend for T<div class="where">where |
| 121 | + T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-MaybeSendSync-for-T" class="impl"><a href="#impl-MaybeSendSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSendSync for T</h3></section><section id="impl-MaybeSync-for-T" class="impl"><a href="#impl-MaybeSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> MaybeSync for T<div class="where">where |
122 | 122 | T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a>,</div></h3></section><section id="impl-WasmNotSend-for-T" class="impl"><a href="#impl-WasmNotSend-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSend for T<div class="where">where
|
123 | 123 | T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a>,</div></h3></section><section id="impl-WasmNotSendSync-for-T" class="impl"><a href="#impl-WasmNotSendSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSendSync for T<div class="where">where
|
124 | 124 | T: WasmNotSend + WasmNotSync,</div></h3></section><section id="impl-WasmNotSync-for-T" class="impl"><a href="#impl-WasmNotSync-for-T" class="anchor">§</a><h3 class="code-header">impl<T> WasmNotSync for T<div class="where">where
|
|
0 commit comments