Skip to main content

Mojo package

utils

Implements the utils package.

Modules

  • index: Implements IndexList 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.
  • write: Establishes the contract between Writer and Writable types.