pub fn apply_intent(
root: &mut Option<LayoutNode>,
intent: LayoutIntent,
ids: &mut NodeIds,
) -> Result<ViewEffect, LayoutError>Expand description
Apply intent to root, then normalize it (balance_node). On an error
root may be half-edited: callers apply to a copy.