Skip to main content

module

builtin_list

Implements the ListLiteral class.

These are Mojo built-ins, so you don't need to import them.

Structs

  • ListLiteral: The type of a literal heterogenous list expression.
  • VariadicList: A utility class to access variadic function arguments. Provides a "list" view of the function argument so that the size of the argument list and each individual argument can be accessed.
  • VariadicListMem: A utility class to access variadic function arguments of memory-only types that may have ownership. It exposes references to the elements in a way that can be enumerated. Each element may be accessed with elt[].
  • VariadicPack: A utility class to access variadic pack arguments and provide an API for doing things with them.