gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

Rust 492HTML 238TOML 3CSS 11131 Definiciones

⎇ 31042ffa3447d323393e6c0ffb084659a8552a3f src/layout.rs Rust · 9 líneas · 185 B Historia Quién tocó qué crudo

add display:none support and fix child ordering for absolute layout eb88533f3 · Emil Sjölander ·

1use crate::geometry::{Point, Size};
2
3#[derive(Debug)]
4pub struct Node {
5    pub(crate) order: u32,
6    pub size: Size<f32>,
7    pub location: Point<f32>,
8    pub children: Vec<Node>,
9}