Trait torin::custom_measurer::LayoutMeasurer
source · 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>;
}