Skip to main content
Log in

Mojo module

dimlist

Provides utilities for working with static and variadic lists.

You can import these APIs from the buffer package. For example:

from buffer.dimlist import Dim
from buffer.dimlist import Dim

Structs​

  • ​Dim: A static or dynamic dimension modeled with an optional integer.
  • ​DimList: This type represents a list of dimensions. Each dimension may have a static value or not have a value, which represents a dynamic dimension.

Was this page helpful?