Skip to main content

Mojo module

type_aliases

Defines some type aliases.

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

Aliases

  • AnyTrivialRegType = AnyTrivialRegType: Represents any register passable Mojo data type.
  • ImmutableAnyOrigin = ImmutableAnyOrigin: The immutable origin that might access any memory value.
  • ImmutableOrigin = ImmutableOrigin: Immutable origin reference type.
  • MutableAnyOrigin = MutableAnyOrigin: The mutable origin that might access any memory value.
  • MutableOrigin = MutableOrigin: Mutable origin reference type.
  • OriginSet = origin.set: A set of origin parameters.
  • StaticConstantOrigin = StaticConstantOrigin: An origin for strings and other always-immutable static constants.

Structs

  • Origin: This represents a origin reference of potentially parametric type. TODO: This should be replaced with a parametric type alias.