pub trait Component: Send + Sync + Any { fn paint(&self); fn add(&self, comp: Arc<dyn Component>); fn bound(&self) -> (Size, Point); }