pub trait Layout {
    // Required methods
    fn layout_sub_actors(
        &mut self,
        actor: &mut Actor,
        parent_actor: Option<&Actor>,
        stretch: &mut Option<Stretch>
    );
    fn update_layout(
        &mut self,
        actor: &mut Actor,
        stretch: &mut Option<Stretch>
    );
    fn finalize(&mut self);
}

Required Methods§

source

fn layout_sub_actors( &mut self, actor: &mut Actor, parent_actor: Option<&Actor>, stretch: &mut Option<Stretch> )

source

fn update_layout(&mut self, actor: &mut Actor, stretch: &mut Option<Stretch>)

source

fn finalize(&mut self)

Implementors§