Function taffy::compute::compute_cached_layout

source ยท
pub fn compute_cached_layout<Tree: PartialLayoutTree + ?Sized, ComputeFunction>(
    tree: &mut Tree,
    node: NodeId,
    inputs: LayoutInput,
    compute_uncached: ComputeFunction,
) -> LayoutOutput
where ComputeFunction: FnMut(&mut Tree, NodeId, LayoutInput) -> LayoutOutput,
Expand description

Updates the stored layout of the provided node and its children