blob: 0c45e2a624fdb117b42686de1a7359b441b0a2b8 [file] [log] [blame]
pub trait Draw {
fn draw(&self);
}
// ANCHOR: here
pub struct Screen {
pub components: Vec<Box<dyn Draw>>,
}
// ANCHOR_END: here