pub trait LayoutMeasurer<Key: NodeKey> {
    // Required method
    fn measure(
        &mut self,
        node_id: Key,
        node: &Node,
        parent_area: &Area,
        available_parent_area: &Area
    ) -> Option<Size2D>;
}

Required Methods§

source

fn measure( &mut self, node_id: Key, node: &Node, parent_area: &Area, available_parent_area: &Area ) -> Option<Size2D>

Implementors§