From 3ca5b238238e1128aa7bbfbd5db9e632045d8600 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 28 Feb 2022 15:50:48 +0100 Subject: Reorganize library --- src/library/stack.rs | 261 --------------------------------------------------- 1 file changed, 261 deletions(-) delete mode 100644 src/library/stack.rs (limited to 'src/library/stack.rs') diff --git a/src/library/stack.rs b/src/library/stack.rs deleted file mode 100644 index 8e463f6a..00000000 --- a/src/library/stack.rs +++ /dev/null @@ -1,261 +0,0 @@ -//! Side-by-side layout of nodes along an axis. - -use super::prelude::*; -use super::{AlignNode, SpacingKind}; - -/// Arrange nodes and spacing along an axis. -#[derive(Debug, Hash)] -pub struct StackNode { - /// The stacking direction. - pub dir: Dir, - /// The spacing between non-spacing children. - pub spacing: Option, - /// The children to be stacked. - pub children: Vec, -} - -#[class] -impl StackNode { - fn construct(_: &mut Context, args: &mut Args) -> TypResult