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.

comptime values

AnyTrivialRegType

comptime AnyTrivialRegType = AnyTrivialRegType

Represents any register passable Mojo data type.

ImmutAnyOrigin

comptime ImmutAnyOrigin = ImmutAnyOrigin

The immutable origin that might access any memory value.

ImmutOrigin

comptime ImmutOrigin = ImmutOrigin

Immutable origin reference type.

MutAnyOrigin

comptime MutAnyOrigin = MutAnyOrigin

The mutable origin that might access any memory value.

MutOrigin

comptime MutOrigin = MutOrigin

Mutable origin reference type.

Never

comptime Never = Never

A type that can never have an instance constructed, used as a function result by functions that never return.

OriginSet

comptime OriginSet = OriginSet

A set of origin parameters.

StaticConstantOrigin

comptime StaticConstantOrigin = StaticConstantOrigin

An origin for strings and other always-immutable static constants.

Structs

  • Origin: This represents a origin reference for a memory value.

Was this page helpful?