pub fn stack_layout(
root_items: &[MenuEntry],
anchor: Point,
anchor_kind: MenuAnchorKind,
open_path: &[usize],
viewport: Size,
) -> Vec<PopupLayout>pub fn stack_layout(
root_items: &[MenuEntry],
anchor: Point,
anchor_kind: MenuAnchorKind,
open_path: &[usize],
viewport: Size,
) -> Vec<PopupLayout>