diff options
author | 2024-03-21 05:52:48 +0100 | |
---|---|---|
committer | 2024-03-21 05:52:48 +0100 | |
commit | 188db4da48954b95a3fe79bcd22689ffc3a661e0 (patch) | |
tree | 8af47544c98c212b50c15e66458518974139b796 /core/src/renderer.rs | |
parent | 2b00e8b1457b0ccbafe12db3dbd6431c2c72f275 (diff) | |
download | iced-188db4da48954b95a3fe79bcd22689ffc3a661e0.tar.gz iced-188db4da48954b95a3fe79bcd22689ffc3a661e0.tar.bz2 iced-188db4da48954b95a3fe79bcd22689ffc3a661e0.zip |
Draft support for dynamic custom renderer injection
Diffstat (limited to 'core/src/renderer.rs')
-rw-r--r-- | core/src/renderer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/renderer.rs b/core/src/renderer.rs index 1139b41c..47b09d32 100644 --- a/core/src/renderer.rs +++ b/core/src/renderer.rs @@ -10,7 +10,7 @@ use crate::{ }; /// A component that can be used by widgets to draw themselves on a screen. -pub trait Renderer: Sized { +pub trait Renderer { /// Draws the primitives recorded in the given closure in a new layer. /// /// The layer will clip its contents to the provided `bounds`. |