wip: fixing some assumptions

This commit is contained in:
🪞👃🪞 2024-08-06 16:43:04 +03:00
parent 5ae99b4ada
commit 2a60808239
11 changed files with 73 additions and 125 deletions

View file

@ -291,7 +291,7 @@ impl<'a, const N: usize> Render for Split<'a, N> {
}
}
type Renderables<'a> = &'a [&'a dyn Component];
type Renderables<'a> = &'a [&'a (dyn Render + Send + Sync)];
pub struct SplitFocus<'a>(pub Direction, pub usize, pub Renderables<'a>, pub Style);