Trait freya::prelude::LayoutMeasurer
source · pub trait LayoutMeasurer<Key>where
Key: NodeKey,{
// Required method
fn measure(
&mut self,
node_id: Key,
node: &Node,
parent_area: &Rect<f32, Measure>,
available_parent_area: &Rect<f32, Measure>
) -> Option<Size2D<f32, Measure>>;
}