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. -
NoneType = None
: Represents the absence of a value. -
ImmutableLifetime = lifetime<0>
: Immutable lifetime reference type. -
MutableLifetime = lifetime<1>
: Mutable lifetime reference type. -
ImmutableStaticLifetime = #lit.lifetime
: The immutable lifetime that lasts for the entire duration of program execution. -
MutableStaticLifetime = #lit.lifetime
: The mutable lifetime that lasts for the entire duration of program execution.
Structs
-
AnyLifetime
: This represents a lifetime reference of potentially parametric type. TODO: This should be replaced with a parametric type alias.