Skip to main content

place_in_target

Function place_in_target 

Source
async fn place_in_target(
    state: &AppState,
    a: &RedockArgs,
    origin: &Resolution,
) -> Result<(), String>
Expand description

Target layout: enqueue the appropriate action on its pendingbackendactions. Phase 4b: when a direction hint is present, queue SplitHorizontal/SplitVertical so the block lands in the exact slot the ghost previewed. Otherwise fall back to the generic InsertNode (Phase 4a behavior).