diff options
Diffstat (limited to 'iced_builder/src/types')
| -rw-r--r-- | iced_builder/src/types/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iced_builder/src/types/mod.rs b/iced_builder/src/types/mod.rs index db06ffa..eaf1686 100644 --- a/iced_builder/src/types/mod.rs +++ b/iced_builder/src/types/mod.rs @@ -3,7 +3,7 @@ pub mod rendered_element; use rendered_element::RenderedElement; pub struct DesignerState { - pub designer_content: Vec<RenderedElement>, + pub designer_content: Option<RenderedElement>, pub designer_page: DesignerPage, } @@ -48,6 +48,7 @@ impl std::fmt::Display for ElementName { } } +#[derive(Debug, Clone)] pub enum DesignerPage { Designer, CodeView, |
