pub trait Draw { fn draw(&self); } pub struct Screen { pub components: Vec>, } // ANCHOR: here impl Screen { pub fn run(&self) { for component in self.components.iter() { component.draw(); } } } // ANCHOR_END: here