pub trait Layout<U>: Send + Syncwhere
U: Ui,{
// Required method
fn new_file(
&mut self,
file: &File,
prev: impl Iterator<Item = (&'a RwData<dyn Widget<U>>, FileId<U>)> + 'a + Clone,
) -> Result<(FileId<U>, PushSpecs), ()>;
}