Implement pure::Component in iced_lazy

This commit is contained in:
Héctor Ramón Jiménez 2022-02-17 19:08:54 +07:00
parent 2737b21d34
commit da45b6c162
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
13 changed files with 530 additions and 21 deletions

View file

@ -1,4 +1,5 @@
pub mod image;
pub mod tree;
mod button;
mod checkbox;
@ -14,7 +15,6 @@ mod space;
mod text;
mod text_input;
mod toggler;
mod tree;
pub use button::Button;
pub use checkbox::Checkbox;
@ -104,7 +104,7 @@ pub trait Widget<Message, Renderer> {
}
fn overlay<'a>(
&'a mut self,
&'a self,
_state: &'a mut Tree,
_layout: Layout<'_>,
_renderer: &Renderer,