This commit is contained in:
Antonio Scandurra committed 2022-01-18 10:10:16 +01:00
1 parent ec7a343f4f
commit db88a7c2c8
1 file changed
-1
-1
View File
@@ -147,7 +147,6 @@ pub trait Item: Entity + Sized {
pub trait ItemView: View {
type ItemHandle: ItemHandle;
fn added_to_pane(&mut self, _: Rc<Navigation>, _: &mut ViewContext<Self>) {}
fn deactivated(&mut self, _: &mut ViewContext<Self>) {}
fn navigate(&mut self, _: Box<dyn Any>, _: &mut ViewContext<Self>) {}
fn item_handle(&self, cx: &AppContext) -> Self::ItemHandle;