diff options
| author | pml68 <contact@pml68.me> | 2024-09-19 23:26:22 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-09-22 23:55:11 +0200 |
| commit | 71743cb18fbb69430d092df59a722f5995be31c3 (patch) | |
| tree | 707e4a8076085623b2bb3bcf2ec8ef1054f1bdf2 /src/types/mod.rs | |
| parent | feat: finish codegen with limited props and elements (diff) | |
| download | iced-builder-71743cb18fbb69430d092df59a722f5995be31c3.tar.gz | |
feat: rework props
w
Diffstat (limited to 'src/types/mod.rs')
| -rw-r--r-- | src/types/mod.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/types/mod.rs b/src/types/mod.rs index 1fa23d4..c837ee1 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -1,4 +1,3 @@ -pub mod props; pub mod rendered_element; use iced::widget::text_editor; @@ -10,9 +9,10 @@ pub struct DesignerState { pub designer_page: DesignerPage, } +#[derive(Debug)] pub enum ElementName { - Text(String), - Button(String), + Text(&'static str), + Button(&'static str), TextEditor(text_editor::Content), SVG(PathBuf), Image(PathBuf), |
