IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: 1.0.0b1
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

MakeLayoutList

MakeLayoutList(var v0: Layout, var v1: Layout) -> LayoutList

Creates a list containing two layouts.

This is a convenience function for creating a LayoutList with two elements.

Args:

  • v0 (Layout): The first layout to include in the list.
  • v1 (Layout): The second layout to include in the list.

Returns:

LayoutList: A LayoutList containing the two provided layouts.