summaryrefslogtreecommitdiffstats
path: root/pure/src/widget.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-17 19:08:54 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-02-17 19:08:54 +0700
commitda45b6c1627935bff5334d213096c4e78972af46 (patch)
tree86840f251dd51f41de2fe79083e9975b51ec1f4f /pure/src/widget.rs
parent2737b21d346c9034502c345dea735ca136b49cea (diff)
downloadiced-da45b6c1627935bff5334d213096c4e78972af46.tar.gz
iced-da45b6c1627935bff5334d213096c4e78972af46.tar.bz2
iced-da45b6c1627935bff5334d213096c4e78972af46.zip
Implement `pure::Component` in `iced_lazy`
Diffstat (limited to 'pure/src/widget.rs')
-rw-r--r--pure/src/widget.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pure/src/widget.rs b/pure/src/widget.rs
index 62f9d95b..a12d6fad 100644
--- a/pure/src/widget.rs
+++ b/pure/src/widget.rs
@@ -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,