duat_core::ui

Trait Layout

Source
pub trait Layout<U>: Send + Sync
where 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), ()>; }

Required Methods§

Source

fn new_file( &mut self, file: &File, prev: impl Iterator<Item = (&'a RwData<dyn Widget<U>>, FileId<U>)> + 'a + Clone, ) -> Result<(FileId<U>, PushSpecs), ()>

Implementors§

Source§

impl<U> Layout<U> for MasterOnLeft
where U: Ui,