pub fn sample_shared_layout(
scope: impl Into<SharedString>,
layout_id: impl Into<SharedString>,
target: LayoutSnapshot,
spec: Option<SpringSpec>,
window: &mut Window,
cx: &mut App,
) -> LayoutFlipSampleExpand description
Convenience helper for GPUI prepaint/paint phases: updates the global LayoutRegistry
and schedules another animation frame while the FLIP spring is moving.