Use nested for lazy widgets

This commit is contained in:
Cory Forsstrom 2023-02-19 17:43:13 -08:00 committed by Héctor Ramón Jiménez
parent 4de6ee6fa1
commit b0205e03d8
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 77 additions and 49 deletions

View file

@ -1,14 +1,12 @@
//! Implement your own event loop to drive a user interface.
mod overlay;
use crate::core::event::{self, Event};
use crate::core::layout;
use crate::core::mouse;
use crate::core::renderer;
use crate::core::widget;
use crate::core::window;
use crate::core::{Clipboard, Point, Rectangle, Size};
use crate::core::{Element, Layout, Shell};
use crate::core::{Clipboard, Element, Layout, Point, Rectangle, Shell, Size};
use crate::overlay;
/// A set of interactive graphical elements with a specific [`Layout`].
///