A high performance rust-powered UI layout library
Rust 695HTML 648Markdown 12TOML 62320 Sutichaykuna
Add (nightly) no_std support 54613f944 · Maximilian Goisser · 7 wata ñawpaq
54613f944
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}