wip: refactor pt.13: 146 errors

This commit is contained in:
🪞👃🪞 2024-11-10 23:12:20 +01:00
parent 2be7aee002
commit fbf217e108
6 changed files with 201 additions and 220 deletions

View file

@ -6,8 +6,8 @@ pub enum AppContainerCommand<T: std::fmt::Debug + Copy + Clone> {
App(T)
}
#[derive(Debug, Copy, Clone)]
pub enum AppContainerFocus<F: std::fmt::Debug + Copy + Clone> {
#[derive(Debug, Copy, Clone, PartialEq)]
pub enum AppContainerFocus<F: std::fmt::Debug + Copy + Clone + PartialEq> {
Menu,
Content(F),
}
@ -50,7 +50,7 @@ where
fn layout (&self) -> &[&[Self::Item]] {
&[
&[AppContainerFocus::Menu],
&[AppContainerFocus::Content],
&[AppContainerFocus::Content(())],
]
}
fn update_focus (&mut self) {