MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / Stack

Class Stack

src/components/stack.rs:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected