Fixed a few things

This commit is contained in:
2024-12-23 12:44:48 +01:00
parent d28bd2fdef
commit f6cf2be0ed
3 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -2,8 +2,9 @@ use osui_element::component;
pub type Element = i32;
pub trait Component {
fn create_element(self) -> Element;
pub trait Component: std::fmt::Debug {
type Element;
fn create_element(self) -> Self::Element;
}
#[component]