//! Layout along a row and column raster. use super::prelude::*; /// Arrange nodes in a grid. #[derive(Debug, Hash)] pub struct GridNode { /// Defines sizing for content rows and columns. pub tracks: Spec>, /// Defines sizing of gutter rows and columns between content. pub gutter: Spec>, /// The nodes to be arranged in a grid. pub children: Vec, } #[class] impl GridNode { fn construct(_: &mut Vm, args: &mut Args) -> TypResult