pub trait LayoutContainer {
// Required method
fn add_child(&mut self, parent: &mut Layout, child: &mut Layout);
// Provided method
fn remove_child(&mut self, _: &mut Layout, _: &mut Layout) { ... }
}Expand description
Defines what constraints a parent applies to it’s children as they are added