mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
wip: refactor pt.13: 146 errors
This commit is contained in:
parent
2be7aee002
commit
fbf217e108
6 changed files with 201 additions and 220 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue