pub fn compute() -> stretch::result::Layout { stretch::node::Node::new( stretch::style::Style { size: stretch::geometry::Size { width: stretch::style::Dimension::Points(100f32), height: stretch::style::Dimension::Points(100f32), ..Default::default() }, ..Default::default() }, vec![&stretch::node::Node::new( stretch::style::Style { position_type: stretch::style::PositionType::Absolute, ..Default::default() }, vec![], )], ) .compute_layout(stretch::geometry::Size::undefined()) .unwrap() }