gpui_router/
layout.rs

1use gpui::{AnyElement, App, Window};
2
3pub trait Layout {
4  fn outlet(&mut self, element: AnyElement);
5  fn render_layout(self: Box<Self>, window: &mut Window, cx: &mut App) -> AnyElement;
6}