Trait bevy_retrograde::ui::raui::core::layout::LayoutEngine [−]
pub trait LayoutEngine<E> { fn layout(
&mut self,
mapping: &CoordsMapping,
tree: &WidgetUnit
) -> Result<Layout, E>; }
Required methods
fn layout(
&mut self,
mapping: &CoordsMapping,
tree: &WidgetUnit
) -> Result<Layout, E>
Implementations on Foreign Types
impl LayoutEngine<()> for DefaultLayoutEngine
impl LayoutEngine<()> for DefaultLayoutEngine
pub fn layout(
&mut self,
mapping: &CoordsMapping,
tree: &WidgetUnit
) -> Result<Layout, ()>
impl LayoutEngine<()> for ()
impl LayoutEngine<()> for ()
pub fn layout(
&mut self,
mapping: &CoordsMapping,
&WidgetUnit
) -> Result<Layout, ()>