Mojo module
int
Implements the Int class.
These are Mojo built-ins, so you don't need to import them.
Structs
-
Int
: This type represents an integer value.
Traits
-
Indexer
: This trait denotes a type that can be used to index a container that handles integral index values. -
Intable
: TheIntable
trait describes a type that can be converted to an Int. -
IntableRaising
: TheIntableRaising
trait describes a type can be converted to an Int, but the conversion might raise an error. -
IntLike
: TheIntLike
trait is a tag forInt
orUInt
. This allows writing functions that works on either.
Functions
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!