Layout

Trait Layout 

Source
pub trait Layout {
    // Required methods
    fn outlet(&mut self, element: AnyElement);
    fn render_layout(
        self: Box<Self>,
        window: &mut Window,
        cx: &mut App,
    ) -> AnyElement;
}

Required Methods§

Source

fn outlet(&mut self, element: AnyElement)

Source

fn render_layout( self: Box<Self>, window: &mut Window, cx: &mut App, ) -> AnyElement

Implementors§