💥 Oculta as_ref_any() y as_mut_any() en la API
This commit is contained in:
parent
0880964fd1
commit
9a49186ed2
25 changed files with 41 additions and 196 deletions
|
|
@ -76,14 +76,6 @@ impl ComponentTrait for MegaMenuItem {
|
|||
}),
|
||||
}
|
||||
}
|
||||
|
||||
fn as_ref_any(&self) -> &dyn AnyComponent {
|
||||
self
|
||||
}
|
||||
|
||||
fn as_mut_any(&mut self) -> &mut dyn AnyComponent {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl MegaMenuItem {
|
||||
|
|
@ -222,14 +214,6 @@ impl ComponentTrait for MegaMenu {
|
|||
fn after_prepare_component(&mut self, cx: &mut Context) {
|
||||
run_actions_after_prepare_megamenu(self, cx);
|
||||
}
|
||||
|
||||
fn as_ref_any(&self) -> &dyn AnyComponent {
|
||||
self
|
||||
}
|
||||
|
||||
fn as_mut_any(&mut self) -> &mut dyn AnyComponent {
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
impl MegaMenu {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue