A high performance rust-powered UI layout library
Rust 1076HTML 1008Markdown 12TOML 83208 Definitions
Add (nightly) no_std support 30c626da4 · Maximilian Goisser · 7 years ago
30c626da4
1#[cfg(not(feature = "std"))] 2use alloc::vec::Vec; 3 4use crate::geometry::{Point, Size}; 5 6#[derive(Debug, Clone)] 7pub struct Node { 8 pub(crate) order: u32, 9 pub size: Size<f32>, 10 pub location: Point<f32>, 11 pub children: Vec<Node>, 12}