| 11 | |
| 12 | #[derive(Clone)] |
| 13 | pub struct Stack { |
| 14 | direction: Direction, |
| 15 | children: Vec<Box<dyn Component>>, |
| 16 | spacing: f32, |
| 17 | bounds: Rect, |
| 18 | child_positions: Vec<Point>, |
| 19 | } |
| 20 | |
| 21 | impl Stack { |
| 22 | pub fn new(direction: Direction) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected