small change
This commit is contained in:
+1
-1
@@ -22,5 +22,5 @@ crossterm = "0.28.1"
|
||||
regex = "1.11.1"
|
||||
lazy_static = "1.4"
|
||||
paste = "1.0.15"
|
||||
osui-element = "0.1.0"
|
||||
osui-element = "0.1.1"
|
||||
dyn-clone = "1.0.17"
|
||||
|
||||
@@ -93,6 +93,7 @@ pub trait ElementCore: Send + Sync {
|
||||
fn get_element_by_id(&mut self, id: &str) -> Option<&mut Element>;
|
||||
fn get_child(&mut self) -> Option<&mut Element>;
|
||||
fn set_styling(&mut self, styling: &HashMap<crate::ui::StyleName, crate::ui::Style>);
|
||||
fn type_id(&self) -> std::any::TypeId;
|
||||
}
|
||||
|
||||
pub trait ElementWidget: ElementCore + std::fmt::Debug {
|
||||
|
||||
Reference in New Issue
Block a user