Skip to main content

LayoutTree

Type Alias LayoutTree 

Source
pub type LayoutTree = LayoutNode;

Aliased Type§

pub struct LayoutTree {
    pub node_id: usize,
    pub rect: Rect,
    pub style: ComputedStyle,
    pub content: NodeContent,
    pub bullet_origin: Option<Point>,
    pub children: Vec<LayoutNode>,
    pub tag: Option<String>,
}

Fields§

§node_id: usize§rect: Rect§style: ComputedStyle§content: NodeContent§bullet_origin: Option<Point>§children: Vec<LayoutNode>§tag: Option<String>