Trait Layout

Source
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§