(mut self, component: C)
| 23 | } |
| 24 | |
| 25 | pub fn child<C: Component + 'static>(mut self, component: C) -> Self { |
| 26 | self.children.push(Box::new(component)); |
| 27 | self |
| 28 | } |
| 29 | |
| 30 | pub fn with_layout(mut self, layout: Layout) -> Self { |
| 31 | self.layout = layout; |
no test coverage detected