(mut self, spacing: f32)
| 33 | } |
| 34 | |
| 35 | pub fn spacing(mut self, spacing: f32) -> Self { |
| 36 | self.spacing = spacing; |
| 37 | self.recalculate_layout(); |
| 38 | self |
| 39 | } |
| 40 | |
| 41 | pub fn child<C: Component + 'static>(mut self, child: C) -> Self { |
| 42 | self.children.push(Box::new(child)); |
no test coverage detected