Skip to main content
Log in

Mojo package

utils

Implements the utils package.

Modules

  • format: Implements a formatter abstraction for objects that can format themselves to a string.
  • index: Implements StaticIntTuple which is commonly used to represent N-D indices.
  • inline_string: Implements a string that has a small-string optimization which avoids heap allocations for short strings.
  • lock:
  • loop:
  • numerics: Defines utilities to work with numeric types.
  • span: Implements the Span type.
  • static_tuple: Implements StaticTuple, a statically-sized uniform container.
  • string_slice: Implements the StringSlice type.
  • stringref: Implements the StringRef class.
  • variant: Defines a Variant type.

Was this page helpful?