summaryrefslogtreecommitdiffstats
path: root/widget/src/lazy/helpers.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-09-05 14:59:42 +0200
committerLibravatar GitHub <noreply@github.com>2024-09-05 14:59:42 +0200
commiteada3b8bf298c8436f30a5bc81032bed303d1e1e (patch)
tree8591eabeb733fe08fdce68dd377c71e74396220d /widget/src/lazy/helpers.rs
parent14e686cd37c29e404c33ac8e94a64fe411d9075a (diff)
parent7cb12e3c3b62871953a35cee55499b52fddb9944 (diff)
downloadiced-eada3b8bf298c8436f30a5bc81032bed303d1e1e.tar.gz
iced-eada3b8bf298c8436f30a5bc81032bed303d1e1e.tar.bz2
iced-eada3b8bf298c8436f30a5bc81032bed303d1e1e.zip
Merge pull request #2289 from JL710/Component-doc
feature doc to Component trait
Diffstat (limited to 'widget/src/lazy/helpers.rs')
-rw-r--r--widget/src/lazy/helpers.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/widget/src/lazy/helpers.rs b/widget/src/lazy/helpers.rs
index 4d0776ca..862b251e 100644
--- a/widget/src/lazy/helpers.rs
+++ b/widget/src/lazy/helpers.rs
@@ -1,9 +1,10 @@
use crate::core::{self, Element, Size};
-use crate::lazy::component::{self, Component};
-use crate::lazy::{Lazy, Responsive};
+use crate::lazy::component;
use std::hash::Hash;
+pub use crate::lazy::{Component, Lazy, Responsive};
+
/// Creates a new [`Lazy`] widget with the given data `Dependency` and a
/// closure that can turn this data into a widget tree.
#[cfg(feature = "lazy")]