# Mojo standard library > The Mojo standard library, covering all the APIs included with the language. Version: 1.1.0 This file contains links to documentation sections following the llmstxt.org standard. ## versioned_docs/version-1.1.0 - [cpu](https://mojolang.org/docs/std/algorithm/backend/cpu/): Implements CPU algorithm backend utilities including map, tiling, and vectorization. - [map](https://mojolang.org/docs/std/algorithm/backend/cpu/map/): CPU implementation of the map function. - [map](https://mojolang.org/docs/std/algorithm/backend/cpu/map/map/): Maps a function over the integer range [0, size). This lets you apply an integer index-based operation across data captured by the mapped function ... - [backend](https://mojolang.org/docs/std/algorithm/backend/): Implements algorithm backend utilities including tiling and unswitching. - [tile](https://mojolang.org/docs/std/algorithm/backend/tile/): Implementations of tile functions. - [tile](https://mojolang.org/docs/std/algorithm/backend/tile/tile/): A generator that launches work groups in specified list of tile sizes. - [unswitch](https://mojolang.org/docs/std/algorithm/backend/unswitch/): Implementations of unswitch and tile_and_unswitch functions. - [tile_and_unswitch](https://mojolang.org/docs/std/algorithm/backend/unswitch/tile_and_unswitch/): Performs time and unswitch functional transformation. - [tile_middle_unswitch_boundaries](https://mojolang.org/docs/std/algorithm/backend/unswitch/tile_middle_unswitch_boundaries/): Divides 1d iteration space into three parts and tiles them with different steps. - [unswitch](https://mojolang.org/docs/std/algorithm/backend/unswitch/unswitch/): Performs a functional unswitch transformation. - [vectorize](https://mojolang.org/docs/std/algorithm/backend/vectorize/): Implementations of vectorize functions. - [vectorize](https://mojolang.org/docs/std/algorithm/backend/vectorize/vectorize/): Simplifies SIMD optimized loops by mapping a function across a range from 0 to `size`, incrementing by `simd_width` at each step. The remainder of ... - [functional](https://mojolang.org/docs/std/algorithm/functional/): Implements higher-order functions. - [algorithm](https://mojolang.org/docs/std/algorithm/): High performance data operations including vectorization, functional map, and tiling. - [Atomic](https://mojolang.org/docs/std/atomic/atomic/Atomic/): Represents a value with atomic operations. - [Ordering](https://mojolang.org/docs/std/atomic/atomic/Ordering/): Represents the memory ordering for atomic operations. - [fence](https://mojolang.org/docs/std/atomic/atomic/fence/): Creates an atomic fence. - [atomic](https://mojolang.org/docs/std/atomic/atomic/): Implements the `Atomic` struct. - [atomic](https://mojolang.org/docs/std/atomic/): Atomic operations and memory orderings. - [b16decode](https://mojolang.org/docs/std/base64/base64/b16decode/): Performs base16 decoding on the input string. - [b16encode](https://mojolang.org/docs/std/base64/base64/b16encode/): Performs base16 encoding on the input string slice. - [b64decode](https://mojolang.org/docs/std/base64/base64/b64decode/): Performs base64 decoding on the input string. - [b64encode](https://mojolang.org/docs/std/base64/base64/b64encode/): Performs base64 encoding on the input string. - [base64](https://mojolang.org/docs/std/base64/base64/): Provides functions for base64 encoding strings. - [base64](https://mojolang.org/docs/std/base64/): Binary data encoding: base64 and base16 encode/decode functions. - [Bench](https://mojolang.org/docs/std/benchmark/bencher/Bench/): Constructs a Benchmark object, used for running multiple benchmarks and comparing the results. - [BenchConfig](https://mojolang.org/docs/std/benchmark/bencher/BenchConfig/): Defines a benchmark configuration struct to control execution times and frequency. - [BenchId](https://mojolang.org/docs/std/benchmark/bencher/BenchId/): Defines a benchmark Id struct to identify and represent a particular benchmark execution. - [BenchMetric](https://mojolang.org/docs/std/benchmark/bencher/BenchMetric/): Defines a benchmark throughput metric. - [Bencher](https://mojolang.org/docs/std/benchmark/bencher/Bencher/): Defines a Bencher struct which facilitates the timing of a target function. - [BenchmarkInfo](https://mojolang.org/docs/std/benchmark/bencher/BenchmarkInfo/): Defines a Benchmark Info struct to record execution Statistics. - [Format](https://mojolang.org/docs/std/benchmark/bencher/Format/): Defines a format for the benchmark output when printing or writing to a file. - [Mode](https://mojolang.org/docs/std/benchmark/bencher/Mode/): Defines a Benchmark Mode to distinguish between test runs and actual benchmarks. - [ThroughputMeasure](https://mojolang.org/docs/std/benchmark/bencher/ThroughputMeasure/): Records a throughput metric of metric BenchMetric and value. - [bencher](https://mojolang.org/docs/std/benchmark/bencher/): Implements comprehensive benchmarking infrastructure with statistical analysis. - [Batch](https://mojolang.org/docs/std/benchmark/benchmark/Batch/): A batch of benchmarks, the benchmark.run() function works out how many iterations to run in each batch based the how long the previous iterations t... - [Report](https://mojolang.org/docs/std/benchmark/benchmark/Report/): Contains the average execution time, iterations, min and max of each batch. - [Unit](https://mojolang.org/docs/std/benchmark/benchmark/Unit/): Time Unit used by Benchmark Report. - [benchmark](https://mojolang.org/docs/std/benchmark/benchmark/): Implements the benchmark module for runtime benchmarking. - [run](https://mojolang.org/docs/std/benchmark/benchmark/run/): Benchmarks the function passed in as an argument. - [black_box](https://mojolang.org/docs/std/benchmark/compiler/black_box/): Prevents the compiler from optimizing away computations or values. - [compiler](https://mojolang.org/docs/std/benchmark/compiler/): Provides compiler hints to prevent optimization of benchmark code. - [keep](https://mojolang.org/docs/std/benchmark/compiler/keep/): Provides a hint to the compiler to not optimize the variable use away. - [benchmark](https://mojolang.org/docs/std/benchmark/): Performance benchmarking: statistical analysis and detailed reports. - [clobber_memory](https://mojolang.org/docs/std/benchmark/memory/clobber_memory/): Forces all pending memory writes to be flushed to memory. - [memory](https://mojolang.org/docs/std/benchmark/memory/): Provides memory barrier utilities for preventing compiler optimizations. - [QuickBench](https://mojolang.org/docs/std/benchmark/quick_bench/QuickBench/): Defines a struct to facilitate benchmarking and avoiding `Bencher` boilerplate. - [quick_bench](https://mojolang.org/docs/std/benchmark/quick_bench/): Provides simplified benchmarking interface with automatic boilerplate handling. - [bit_not](https://mojolang.org/docs/std/bit/bit/bit_not/): Performs a bitwise NOT operation on an SIMD vector of integer values. - [bit_reverse](https://mojolang.org/docs/std/bit/bit/bit_reverse/): Element-wise reverses the bitpattern of a SIMD vector of integer values. - [bit_width](https://mojolang.org/docs/std/bit/bit/bit_width/): Computes the minimum number of bits required to represent each element of a SIMD vector of integer values. - [byte_swap](https://mojolang.org/docs/std/bit/bit/byte_swap/): Byte-swaps a SIMD vector of integer values with an even number of bytes. - [count_leading_zeros](https://mojolang.org/docs/std/bit/bit/count_leading_zeros/): Counts the per-element number of leading zeros in a SIMD vector. - [count_trailing_zeros](https://mojolang.org/docs/std/bit/bit/count_trailing_zeros/): Counts the per-element number of trailing zeros in a SIMD vector. - [bit](https://mojolang.org/docs/std/bit/bit/): Provides functions for bit manipulation. - [log2_ceil](https://mojolang.org/docs/std/bit/bit/log2_ceil/): Returns the ceiling of the base-2 logarithm of an integer value. - [log2_floor](https://mojolang.org/docs/std/bit/bit/log2_floor/): Returns the floor of the base-2 logarithm of an integer value. - [next_power_of_two](https://mojolang.org/docs/std/bit/bit/next_power_of_two/): Computes the smallest power of 2 that is greater than or equal to the input value for each element of a SIMD vector. Any integral value less than o... - [pop_count](https://mojolang.org/docs/std/bit/bit/pop_count/): Counts the number of bits set in a SIMD vector of integer values. - [prev_power_of_two](https://mojolang.org/docs/std/bit/bit/prev_power_of_two/): Computes the largest power of 2 that is less than or equal to the input value for each element of a SIMD vector. Any integral value less than or eq... - [rotate_bits_left](https://mojolang.org/docs/std/bit/bit/rotate_bits_left/): Shifts bits to the left by `shift` positions (with wrap-around) for each element of a SIMD vector. - [rotate_bits_right](https://mojolang.org/docs/std/bit/bit/rotate_bits_right/): Shifts bits to the right by `shift` positions (with wrap-around) for each element of a SIMD vector. - [bit](https://mojolang.org/docs/std/bit/): Bitwise operations: manipulation, counting, rotation, and power-of-two utilities. - [mask](https://mojolang.org/docs/std/bit/mask/): Provides functions for bit masks. - [is_negative](https://mojolang.org/docs/std/bit/mask/is_negative/): Get a bitmask of whether the value is negative. - [splat](https://mojolang.org/docs/std/bit/mask/splat/): Elementwise splat the boolean value of each element in the SIMD vector into all bits of the corresponding element in a new SIMD vector. - [anytype](https://mojolang.org/docs/std/builtin/anytype/): Existential-type helpers built on `AnyType`, plus deprecated aliases for the traits that used to live in this module. - [Bool](https://mojolang.org/docs/std/builtin/bool/Bool/): The primitive Bool scalar value used in Mojo. - [Boolable](https://mojolang.org/docs/std/builtin/bool/Boolable/): The `Boolable` trait describes a type that can be explicitly converted to a `Bool` or evaluated as a boolean expression in `if` or `while` conditions. - [all](https://mojolang.org/docs/std/builtin/bool/all/): Checks if **all** elements in the list are truthy. - [any](https://mojolang.org/docs/std/builtin/bool/any/): Checks if **all** elements in the list are truthy. - [bool](https://mojolang.org/docs/std/builtin/bool/): Implements the Bool class. - [breakpoint](https://mojolang.org/docs/std/builtin/breakpoint/breakpoint/): Cause an execution trap with the intention of requesting the attention of a debugger. - [breakpoint](https://mojolang.org/docs/std/builtin/breakpoint/): This module includes the builtin breakpoint function. - [ContiguousSlice](https://mojolang.org/docs/std/builtin/builtin_slice/ContiguousSlice/): Represents a slice expression without a stride. - [Slice](https://mojolang.org/docs/std/builtin/builtin_slice/Slice/): Represents a slice expression. - [StridedSlice](https://mojolang.org/docs/std/builtin/builtin_slice/StridedSlice/): Represents a slice expression that has a stride. - [builtin_slice](https://mojolang.org/docs/std/builtin/builtin_slice/): Implements slice. - [slice](https://mojolang.org/docs/std/builtin/builtin_slice/slice-function/): Construct slice given the end value. - [Comparable](https://mojolang.org/docs/std/builtin/comparable/Comparable/): A type which can be compared for order with other instances of itself. - [Equatable](https://mojolang.org/docs/std/builtin/comparable/Equatable/): A type which can be compared for equality with other instances of itself. - [comparable](https://mojolang.org/docs/std/builtin/comparable/): Implements comparison and equality traits for Mojo types. - [constrained](https://mojolang.org/docs/std/builtin/constrained/): Implements compile-time constraint helpers used by trait conformance checks. - [debug_assert](https://mojolang.org/docs/std/builtin/debug_assert/debug_assert/): Asserts that the condition is true at run time. - [debug_assert](https://mojolang.org/docs/std/builtin/debug_assert/): Implements run-time assertions. - [DevicePassable](https://mojolang.org/docs/std/builtin/device_passable/DevicePassable/): This trait marks types as passable to accelerator devices. - [DevicePointerLike](https://mojolang.org/docs/std/builtin/device_passable/DevicePointerLike/): Describes the device-pointer information used during device encoding. - [DeviceTypeEncoder](https://mojolang.org/docs/std/builtin/device_passable/DeviceTypeEncoder/): This trait marks types as capable of encoding device types. - [device_passable](https://mojolang.org/docs/std/builtin/device_passable/): Implements the `DevicePassable` trait for types transferable to accelerator devices. - [DType](https://mojolang.org/docs/std/builtin/dtype/DType/): Represents a data type specification and provides methods for working with it. - [dtype](https://mojolang.org/docs/std/builtin/dtype/): Implements the DType class. - [Error](https://mojolang.org/docs/std/builtin/error/Error/): This type represents an Error. - [StackTrace](https://mojolang.org/docs/std/builtin/error/StackTrace/): Holds a stack trace captured at a specific location. - [error](https://mojolang.org/docs/std/builtin/error/): Implements the Error class. - [FloatLiteral](https://mojolang.org/docs/std/builtin/float_literal/FloatLiteral/): Mojo floating point literal type. - [float_literal](https://mojolang.org/docs/std/builtin/float_literal/): Implements the FloatLiteral class. - [Floatable](https://mojolang.org/docs/std/builtin/floatable/Floatable/): The `Floatable` trait describes a type that can be converted to a Float64. - [FloatableRaising](https://mojolang.org/docs/std/builtin/floatable/FloatableRaising/): The `FloatableRaising` trait describes a type that can be converted to a Float64, but the conversion might raise an error (e.g.: a string). - [floatable](https://mojolang.org/docs/std/builtin/floatable/): Implements the `Floatable` and `FloatableRaising` traits. - [bin](https://mojolang.org/docs/std/builtin/format_int/bin/): Return the binary string representation an integral value. - [hex](https://mojolang.org/docs/std/builtin/format_int/hex/): Returns the hex string representation of the given integer. - [format_int](https://mojolang.org/docs/std/builtin/format_int/): Provides the `hex` and `bin` functions. - [oct](https://mojolang.org/docs/std/builtin/format_int/oct/): Returns the octal string representation of the given integer. - [global_constant](https://mojolang.org/docs/std/builtin/globals/global_constant/): Creates a reference to a compile-time constant value stored in static memory. - [globals](https://mojolang.org/docs/std/builtin/globals/): Utilities for working with global constants. - [Identifiable](https://mojolang.org/docs/std/builtin/identifiable/Identifiable/): The Identifiable trait denotes a type with an identity which can be compared with other instances of itself. - [identifiable](https://mojolang.org/docs/std/builtin/identifiable/): Defines the Identifiable trait for identity-based comparisons. - [builtin](https://mojolang.org/docs/std/builtin/): Language foundation: built-in types, traits, and fundamental operations. - [InlineLevel](https://mojolang.org/docs/std/builtin/inline_level/InlineLevel/): Names the levels the `@inline` decorator accepts. - [inline_level](https://mojolang.org/docs/std/builtin/inline_level/): Provides the levels the `@inline` decorator accepts. - [Indexer](https://mojolang.org/docs/std/builtin/int/Indexer/): The `Indexer` trait is used for types that can index into a collection or pointer. The type returned is the underlying __mlir_type.index, enabling ... - [Intable](https://mojolang.org/docs/std/builtin/int/Intable/): The `Intable` trait describes a type that can be converted to an Int. - [IntableRaising](https://mojolang.org/docs/std/builtin/int/IntableRaising/): The `IntableRaising` trait describes a type can be converted to an Int, but the conversion might raise an error. - [index](https://mojolang.org/docs/std/builtin/int/index-function/): Returns the value of `__mlir_index__` for the given value. - [int](https://mojolang.org/docs/std/builtin/int/): Implements the Int class. - [IntLiteral](https://mojolang.org/docs/std/builtin/int_literal/IntLiteral/): This type represents a static integer literal value with infinite precision. This type is a compile-time construct which stores its value as a par... - [int_literal](https://mojolang.org/docs/std/builtin/int_literal/): Implements the IntLiteral class. - [Sized](https://mojolang.org/docs/std/builtin/len/Sized/): The `Sized` trait describes a type that has an integer length (such as a string or array). - [SizedRaising](https://mojolang.org/docs/std/builtin/len/SizedRaising/): The `SizedRaising` trait describes a type that has an integer length, which might raise an error if the length can't be determined. - [len](https://mojolang.org/docs/std/builtin/len/): Provides the `len()` function and its associated traits. - [len](https://mojolang.org/docs/std/builtin/len/len/): Get the length of a value. - [NoneType](https://mojolang.org/docs/std/builtin/none/NoneType/): Represents the absence of a value. - [none](https://mojolang.org/docs/std/builtin/none/): Defines the builtin `NoneType`. - [range](https://mojolang.org/docs/std/builtin/range/): Defines Mojo's built-in `range()` function. - [range](https://mojolang.org/docs/std/builtin/range/range/): Returns the integer sequence `[0, end)`. - [rebind](https://mojolang.org/docs/std/builtin/rebind/): Implements type rebind/trait downcast. - [rebind](https://mojolang.org/docs/std/builtin/rebind/rebind/): Statically assert that a parameter input type `src_type` resolves to the same type as a parameter result type `dest_type` after function instantiat... - [rebind_var](https://mojolang.org/docs/std/builtin/rebind/rebind_var/): Statically assert that a parameter input type `src_type` resolves to the same type as a parameter result type `dest_type` after function instantiat... - [ReversibleRange](https://mojolang.org/docs/std/builtin/reversed/ReversibleRange/): The `ReversibleRange` trait describes a range that can be reversed. - [reversed](https://mojolang.org/docs/std/builtin/reversed/): Provides the `reversed` function for reverse iteration over collections. - [reversed](https://mojolang.org/docs/std/builtin/reversed/reversed/): Get a reversed iterator of the input range. - [SIMDLength](https://mojolang.org/docs/std/builtin/simd_length/SIMDLength/): Represents a type appropriate for the length of a simd vector. - [simd_length](https://mojolang.org/docs/std/builtin/simd_length/): Implements `SIMDLength`, which is a wrapper around the MLIR `index` type. - [sort](https://mojolang.org/docs/std/builtin/sort/): Implements the built-in `sort` function. - [partition](https://mojolang.org/docs/std/builtin/sort/partition/): Partition the input buffer inplace such that first k elements are the largest (or smallest if cmp_fn is < operator) elements. The ordering of the f... - [sort](https://mojolang.org/docs/std/builtin/sort/sort/): Sort a span in-place. The function doesn't return anything, the span is updated in-place. - [StringLiteral](https://mojolang.org/docs/std/builtin/string_literal/StringLiteral/): This type represents a string literal. - [string_literal](https://mojolang.org/docs/std/builtin/string_literal/): Implements the StringLiteral struct. - [swap](https://mojolang.org/docs/std/builtin/swap/): Implements the built-in `swap` function. - [swap](https://mojolang.org/docs/std/builtin/swap/swap/): Swaps the two given arguments. - [Tuple](https://mojolang.org/docs/std/builtin/tuple/Tuple/): The type of a literal tuple expression. - [tuple](https://mojolang.org/docs/std/builtin/tuple/): Implements the Tuple type. - [type_aliases](https://mojolang.org/docs/std/builtin/type_aliases/): Defines some type aliases. - [Defaultable](https://mojolang.org/docs/std/builtin/value/Defaultable/): The `Defaultable` trait describes a type with a default constructor. - [RegisterPassable](https://mojolang.org/docs/std/builtin/value/RegisterPassable/): A marker trait to denote the type to be register passable. - [TrivialRegisterPassable](https://mojolang.org/docs/std/builtin/value/TrivialRegisterPassable/): A marker trait to denote the type to be register passable trivial. - [value](https://mojolang.org/docs/std/builtin/value/): Defines `Defaultable`, `RegisterPassable`, and `TrivialRegisterPassable`, plus deprecated aliases for the value-semantics traits that used to live ... - [materialize](https://mojolang.org/docs/std/builtin/value/materialize/): Explicitly materialize a compile-time parameter into a run-time value. - [ParameterList](https://mojolang.org/docs/std/builtin/variadics/ParameterList/): A utility class to access homogeneous variadic parameters. - [TypeList](https://mojolang.org/docs/std/builtin/variadics/TypeList/): A compile-time list of types conforming to a common trait. - [VariadicList](https://mojolang.org/docs/std/builtin/variadics/VariadicList/): A utility class to access variadic function arguments of memory-only types that may have ownership. It exposes references to the elements in a way ... - [VariadicPack](https://mojolang.org/docs/std/builtin/variadics/VariadicPack/): A utility class to access heterogeneous variadic function arguments. - [variadics](https://mojolang.org/docs/std/builtin/variadics/): Implements the VariadicList, ParameterList and VariadicPack types. - [Array](https://mojolang.org/docs/std/collections/array/Array/): A fixed-size sequence of homogeneous elements where size is a constant expression. - [array](https://mojolang.org/docs/std/collections/array/): Provides a fixed-size array implementation with compile-time size checking. - [BinaryHeap](https://mojolang.org/docs/std/collections/binary_heap/BinaryHeap/): A List-backed binary max-heap. - [binary_heap](https://mojolang.org/docs/std/collections/binary_heap/): Defines a BinaryHeap type. - [BitSet](https://mojolang.org/docs/std/collections/bitset/BitSet/): A grow-only set storing non-negative integers efficiently using bits. - [bitset](https://mojolang.org/docs/std/collections/bitset/): Provides a compact set of non-negative integers backed by inline storage. - [check_bounds](https://mojolang.org/docs/std/collections/check_bounds/check_bounds/): Bounds check which is on by default for CPU, and off by default for GPU. - [check_slice_bounds](https://mojolang.org/docs/std/collections/check_bounds/check_slice_bounds/): Bounds check for slice indexing, which is on by default for CPU, and off by default for GPU. - [check_bounds](https://mojolang.org/docs/std/collections/check_bounds/): Contains bounds checks which are on by default for CPU and off by default for GPU. - [CountTuple](https://mojolang.org/docs/std/collections/counter/CountTuple/): A tuple representing a value and its count in a `Counter`. - [Counter](https://mojolang.org/docs/std/collections/counter/Counter/): A container for counting hashable items. - [counter](https://mojolang.org/docs/std/collections/counter/): Defines the `Counter` type. - [Deque](https://mojolang.org/docs/std/collections/deque/Deque/): Implements a double-ended queue. - [deque](https://mojolang.org/docs/std/collections/deque/): Defines the Deque type. - [Dict](https://mojolang.org/docs/std/collections/dict/Dict/): A container that stores key-value pairs. - [DictKeyError](https://mojolang.org/docs/std/collections/dict/DictKeyError/): A custom error type for Dict lookups that fail. - [EmptyDictError](https://mojolang.org/docs/std/collections/dict/EmptyDictError/): A custom error type for when a `Dict` is empty. - [StringDict](https://mojolang.org/docs/std/collections/dict/StringDict/): Container used to pass owned variadic keyword arguments to functions. - [dict](https://mojolang.org/docs/std/collections/dict/): Defines `Dict`, a collection that stores key-value pairs. - [collections](https://mojolang.org/docs/std/collections/): Core data types: List, Dict, Set, Optional, String, and other collections. - [Interval](https://mojolang.org/docs/std/collections/interval/Interval/): A half-open interval [start, end) that represents a range of values. - [IntervalElement](https://mojolang.org/docs/std/collections/interval/IntervalElement/): The trait denotes a trait composition of the `Copyable`, `Writable`, `Intable`, and `Comparable` traits. Which is also subtractable. - [IntervalTree](https://mojolang.org/docs/std/collections/interval/IntervalTree/): An interval tree data structure for efficient range queries. - [interval](https://mojolang.org/docs/std/collections/interval/): A self-balancing interval tree is a specialized binary search tree designed to efficiently store and query intervals. - [LinkedList](https://mojolang.org/docs/std/collections/linked_list/LinkedList/): A doubly-linked list implementation. - [Node](https://mojolang.org/docs/std/collections/linked_list/Node/): A node in a linked list data structure. - [linked_list](https://mojolang.org/docs/std/collections/linked_list/): Implements a doubly-linked list data structure. - [List](https://mojolang.org/docs/std/collections/list/List/): A dynamically-allocated and resizable list. - [list](https://mojolang.org/docs/std/collections/list/): Defines the List type. - [EmptyOptionalError](https://mojolang.org/docs/std/collections/optional/EmptyOptionalError/): An error type for when an empty `Optional` is accessed. - [Optional](https://mojolang.org/docs/std/collections/optional/Optional/): A type modeling a value which may or may not be present. - [OptionalReg](https://mojolang.org/docs/std/collections/optional/OptionalReg/): A register-passable optional type. - [optional](https://mojolang.org/docs/std/collections/optional/): Defines Optional, a type modeling a value which may or may not be present. - [Set](https://mojolang.org/docs/std/collections/set/Set/): A set data type. - [set](https://mojolang.org/docs/std/collections/set/): Implements the Set datatype. - [Span](https://mojolang.org/docs/std/collections/span/Span/): A non-owning view of contiguous data. - [span](https://mojolang.org/docs/std/collections/span/): Implements the `Span` type. - [Codepoint](https://mojolang.org/docs/std/collections/string/codepoint/Codepoint/): A Unicode codepoint, typically a single user-recognizable character; restricted to valid Unicode scalar values. - [codepoint](https://mojolang.org/docs/std/collections/string/codepoint/): Unicode codepoint handling. - [format](https://mojolang.org/docs/std/collections/string/format/): String formatting utilities for Mojo. - [string](https://mojolang.org/docs/std/collections/string/): Provides comprehensive Unicode string functionality. - [BytesIter](https://mojolang.org/docs/std/collections/string/iterators/BytesIter/): Iterator over the raw UTF-8 bytes of a string slice, constructed by `StringSlice.bytes()`. - [CodepointSliceIter](https://mojolang.org/docs/std/collections/string/iterators/CodepointSliceIter/): Iterator for `StringSlice` over substring slices containing a single Unicode codepoint. - [CodepointsIter](https://mojolang.org/docs/std/collections/string/iterators/CodepointsIter/): Iterator over the `Codepoint`s in a string slice, constructed by `StringSlice.codepoints()`. - [GraphemeIndicesIter](https://mojolang.org/docs/std/collections/string/iterators/GraphemeIndicesIter/): Iterator over grapheme clusters paired with their starting byte offset. - [GraphemeSliceIter](https://mojolang.org/docs/std/collections/string/iterators/GraphemeSliceIter/): Iterator over grapheme clusters in a string, yielding each cluster as a `StringSlice`. - [iterators](https://mojolang.org/docs/std/collections/string/iterators/): Implements the iterators and related utilities for efficient string operations. - [String](https://mojolang.org/docs/std/collections/string/string/String/): Represents a mutable string. - [ascii](https://mojolang.org/docs/std/collections/string/string/ascii/): Get the ASCII representation of the object. - [atof](https://mojolang.org/docs/std/collections/string/string/atof/): Parses the given string as a floating point and returns that value. - [atol](https://mojolang.org/docs/std/collections/string/string/atol/): Parses and returns the given string as an integer in the given base. - [chr](https://mojolang.org/docs/std/collections/string/string/chr/): Returns a String based on the given Unicode code point. This is the inverse of the `ord()` function. - [string](https://mojolang.org/docs/std/collections/string/string/): Implements the core `String` type and related utilities. - [ord](https://mojolang.org/docs/std/collections/string/string/ord/): Returns an integer that represents the codepoint of a single-character string. - [StringSpan](https://mojolang.org/docs/std/collections/string/string_span/StringSpan/): A non-owning view into encoded string data. - [get_static_string](https://mojolang.org/docs/std/collections/string/string_span/get_static_string/): Form a StaticString from compile-time StringSpan values. This guarantees that the returned string is compile-time constant in static memory. It al... - [string_span](https://mojolang.org/docs/std/collections/string/string_span/): Implements the `StringSpan` type and related utilities for efficient string operations. - [TypeDict](https://mojolang.org/docs/std/collections/type_dict/TypeDict/): A compile-time map from a value of type `T` to a type. - [type_dict](https://mojolang.org/docs/std/collections/type_dict/): Provides a data structure which acts to map a value of a given type to one of a set of types. - [CompiledFunctionInfo](https://mojolang.org/docs/std/compile/compile/CompiledFunctionInfo/): Contains compilation information and results for a function. - [compile_info](https://mojolang.org/docs/std/compile/compile/compile_info/): Compiles a function and returns detailed compilation information. - [compile](https://mojolang.org/docs/std/compile/compile/): Provides utilities for compiling and inspecting Mojo code. - [compile](https://mojolang.org/docs/std/compile/): Runtime function compilation and introspection: assembly, IR, linkage, metadata. - [ComplexSIMD](https://mojolang.org/docs/std/complex/complex/ComplexSIMD/): Represents a complex SIMD value. - [abs](https://mojolang.org/docs/std/complex/complex/abs/): Performs elementwise abs (norm) on each element of the complex value. - [complex](https://mojolang.org/docs/std/complex/complex/): Implements the Complex dtype. - [complex](https://mojolang.org/docs/std/complex/): Complex numbers: SIMD types, scalar types, and operations. - [doc_hidden](https://mojolang.org/docs/std/documentation/documentation/doc_hidden/): Indicate that the decorated declaration is hidden from documentation generation. - [documentation](https://mojolang.org/docs/std/documentation/documentation/): Provides decorators and utilities for interacting with Mojo documentation generation and validation. - [documentation](https://mojolang.org/docs/std/documentation/): Documentation built-ins: decorators and utilities for doc generation. - [OwnedDLHandle](https://mojolang.org/docs/std/ffi/OwnedDLHandle/): Represents an owned handle to a dynamically linked library with RAII semantics. - [RTLD](https://mojolang.org/docs/std/ffi/RTLD/): Enumeration of the RTLD flags used during dynamic library loading. - [CStringSpan](https://mojolang.org/docs/std/ffi/cstring/CStringSpan/): A non-owning immutable view to a nul-terminated C string (`const char*`). - [cstring](https://mojolang.org/docs/std/ffi/cstring/): Implements C string interoperability utilities. - [external_call](https://mojolang.org/docs/std/ffi/external_call/): Calls an external function. - [ffi](https://mojolang.org/docs/std/ffi/): Foreign function interface (FFI) for calling C code and loading libraries. - [UnsafeUnion](https://mojolang.org/docs/std/ffi/unsafe_union/UnsafeUnion/): An untagged union that can store any one of its element types. - [unsafe_union](https://mojolang.org/docs/std/ffi/unsafe_union/): Defines an untagged union type for C FFI interoperability. - [Writable](https://mojolang.org/docs/std/format/Writable/): A trait for types that can format themselves as text. - [Writer](https://mojolang.org/docs/std/format/Writer/): A destination for formatted text output. - [format](https://mojolang.org/docs/std/format/): Provides formatting traits for converting types to text. - [repr](https://mojolang.org/docs/std/format/repr/): Implements the `repr()` function for producing string representations of values. - [repr](https://mojolang.org/docs/std/format/repr/repr/): Returns the string representation of the given value. - [TString](https://mojolang.org/docs/std/format/tstring/TString/): A template string that captures interpolated values at compile-time. - [tstring](https://mojolang.org/docs/std/format/tstring/): Implements `TString`, a template string that captures interpolated values at compile-time. - [Hashable](https://mojolang.org/docs/std/hashlib/hash/Hashable/): A trait for types which specify a function to hash their data. - [hash](https://mojolang.org/docs/std/hashlib/hash/hash/): Hash a Hashable type using its underlying hash implementation. - [hash](https://mojolang.org/docs/std/hashlib/hash/): Implements the `Hashable` trait and `hash()` built-in function. - [Hasher](https://mojolang.org/docs/std/hashlib/hasher/Hasher/): A trait for types that can incrementally compute hash values. - [hasher](https://mojolang.org/docs/std/hashlib/hasher/): Defines the Hasher trait and default hasher implementations. - [hashlib](https://mojolang.org/docs/std/hashlib/): Cryptographic and non-cryptographic hashing with customizable algorithms. - [Mojo standard library](https://mojolang.org/docs/std/): All the data types, structs, traits, functions, and other APIs included with Mojo. - [FileHandle](https://mojolang.org/docs/std/io/file/FileHandle/): File handle to an opened file. - [file](https://mojolang.org/docs/std/io/file/): Provides APIs to read and write files. - [open](https://mojolang.org/docs/std/io/file/open/): Opens the file specified by path using the mode provided, returning a FileHandle. - [FileDescriptor](https://mojolang.org/docs/std/io/file_descriptor/FileDescriptor/): File descriptor of a file. - [file_descriptor](https://mojolang.org/docs/std/io/file_descriptor/): Higher level abstraction for file stream. - [io](https://mojolang.org/docs/std/io/): Core I/O operations: console input/output, file handling, writing traits. - [io](https://mojolang.org/docs/std/io/io/): Provides utilities for working with input/output. - [input](https://mojolang.org/docs/std/io/io/input/): Reads a line of input from the user. - [print](https://mojolang.org/docs/std/io/io/print/): Prints elements to the text stream. Each element is separated by `sep` and followed by `end`. - [write](https://mojolang.org/docs/std/io/write/): Implements I/O write interfaces. - [Iterable](https://mojolang.org/docs/std/iter/Iterable/): Describes a type that can produce an iterator by borrowing. - [IterableOwned](https://mojolang.org/docs/std/iter/IterableOwned/): Describes a type that can produce an iterator by giving up ownership. - [Iterator](https://mojolang.org/docs/std/iter/Iterator/): The `Iterator` trait describes a type that can be used as an iterator, e.g. in a `for` loop. - [StopIteration](https://mojolang.org/docs/std/iter/StopIteration/): A custom error type for Iterator's that run out of elements. - [chain](https://mojolang.org/docs/std/iter/chain/): Chain multiple iterables that return the same type. - [empty](https://mojolang.org/docs/std/iter/empty/): Creates an iterator that yields nothing. - [enumerate](https://mojolang.org/docs/std/iter/enumerate/): Returns an iterator that yields tuples of the index and the element of the original iterator. - [iter](https://mojolang.org/docs/std/iter/): Iteration traits and utilities: Iterable, IterableOwned, Iterator, enumerate, zip, map. - [iter](https://mojolang.org/docs/std/iter/iter/): Constructs an owned iterator from an iterable. - [map](https://mojolang.org/docs/std/iter/map/): Returns an iterator that applies `function` to each element of the input iterable. - [next](https://mojolang.org/docs/std/iter/next/): Advances the iterator and returns the next element. - [once](https://mojolang.org/docs/std/iter/once/): Creates an iterator that yields an element exactly once. - [peekable](https://mojolang.org/docs/std/iter/peekable/): Returns a peekable iterator that can use the `peek` method to look ahead at the next element without advancing the iterator. - [zip](https://mojolang.org/docs/std/iter/zip/): Returns an iterator that yields tuples of the elements of the original iterables. - [itertools](https://mojolang.org/docs/std/itertools/): Iterator tools for lazy sequence generation and transformation. - [count](https://mojolang.org/docs/std/itertools/itertools/count/): Constructs an iterator that starts at the value `start` with a stride of `step`. - [cycle](https://mojolang.org/docs/std/itertools/itertools/cycle/): Creates an iterator that cycles through an iterable indefinitely. - [drop](https://mojolang.org/docs/std/itertools/itertools/drop/): Creates an iterator that drops the first `count` elements. - [drop_while](https://mojolang.org/docs/std/itertools/itertools/drop_while/): Creates an iterator that drops elements while predicate returns True. - [itertools](https://mojolang.org/docs/std/itertools/itertools/): Provides iterator utilities for common iteration patterns. - [product](https://mojolang.org/docs/std/itertools/itertools/product/): Returns an iterator that yields tuples of the elements of the outer product of the iterables. - [repeat](https://mojolang.org/docs/std/itertools/itertools/repeat/): Constructs an iterator that repeats the given element a specified number of times. - [take](https://mojolang.org/docs/std/itertools/itertools/take/): Creates an iterator that yields the first `count` elements. - [take_while](https://mojolang.org/docs/std/itertools/itertools/take_while/): Creates an iterator that yields elements while predicate returns True. - [logger](https://mojolang.org/docs/std/logger/): Logging with configurable severity levels. - [Level](https://mojolang.org/docs/std/logger/logger/Level/): Represents logging severity levels. - [Logger](https://mojolang.org/docs/std/logger/logger/Logger/): A logger that outputs messages at or above a specified severity level. - [logger](https://mojolang.org/docs/std/logger/logger/): Provides logging functionality with different severity levels. - [constants](https://mojolang.org/docs/std/math/constants/): Defines math utilities. - [fast](https://mojolang.org/docs/std/math/fast/): Defines fast math approximation utilities. - [math](https://mojolang.org/docs/std/math/): Math functions and constants: trig, exponential, logarithmic, and special functions. - [Absable](https://mojolang.org/docs/std/math/math/Absable/): The `Absable` trait describes a type that defines an absolute value operation. - [CeilDivable](https://mojolang.org/docs/std/math/math/CeilDivable/): The `CeilDivable` trait describes a type that defines a ceil division operation. - [CeilDivableRaising](https://mojolang.org/docs/std/math/math/CeilDivableRaising/): The `CeilDivable` trait describes a type that define a floor division and negation operation that can raise. - [Ceilable](https://mojolang.org/docs/std/math/math/Ceilable/): The `Ceilable` trait describes a type that defines a ceiling operation. - [DivModable](https://mojolang.org/docs/std/math/math/DivModable/): The `DivModable` trait describes a type that defines division and modulo operations returning both quotient and remainder. - [Floorable](https://mojolang.org/docs/std/math/math/Floorable/): The `Floorable` trait describes a type that defines a floor operation. - [Powable](https://mojolang.org/docs/std/math/math/Powable/): The `Powable` trait describes a type that defines a power operation (i.e. exponentiation) with the same base and exponent types. - [Roundable](https://mojolang.org/docs/std/math/math/Roundable/): The `Roundable` trait describes a type that defines a rounding operation. - [Truncable](https://mojolang.org/docs/std/math/math/Truncable/): The `Truncable` trait describes a type that defines a truncation operation. - [abs](https://mojolang.org/docs/std/math/math/abs/): Get the absolute value of the given object. - [acos](https://mojolang.org/docs/std/math/math/acos/): Computes the `acos` of the inputs. - [acosh](https://mojolang.org/docs/std/math/math/acosh/): Computes the `acosh` of the inputs. - [align_down](https://mojolang.org/docs/std/math/math/align_down/): Returns the closest multiple of alignment that is less than or equal to value, elementwise. - [align_up](https://mojolang.org/docs/std/math/math/align_up/): Returns the closest multiple of alignment that is greater than or equal to value, elementwise. - [asin](https://mojolang.org/docs/std/math/math/asin/): Computes the `asin` of the inputs. - [asinh](https://mojolang.org/docs/std/math/math/asinh/): Computes the `asinh` of the inputs. - [atan](https://mojolang.org/docs/std/math/math/atan/): Computes the `atan` of the inputs. - [atan2](https://mojolang.org/docs/std/math/math/atan2/): Computes the `atan2` of the inputs. - [atanh](https://mojolang.org/docs/std/math/math/atanh/): Computes the `atanh` of the inputs. - [cbrt](https://mojolang.org/docs/std/math/math/cbrt/): Computes the `cbrt` of the inputs. - [ceil](https://mojolang.org/docs/std/math/math/ceil/): Get the ceiling value of the given object. - [ceildiv](https://mojolang.org/docs/std/math/math/ceildiv/): Return the rounded-up result of dividing numerator by denominator. - [clamp](https://mojolang.org/docs/std/math/math/clamp/): Clamps the values in a SIMD vector to be in a certain range. - [comb](https://mojolang.org/docs/std/math/math/comb/): Computes the number of ways to choose `k` items from `n` items without repetition and without order (binomial coefficient). - [copysign](https://mojolang.org/docs/std/math/math/copysign/): Returns a value with the magnitude of the first operand and the sign of the second operand. - [cos](https://mojolang.org/docs/std/math/math/cos/): Computes the `cos` of the inputs. - [cosh](https://mojolang.org/docs/std/math/math/cosh/): Computes the `cosh` of the inputs. - [divmod](https://mojolang.org/docs/std/math/math/divmod/): Performs division and returns the quotient and the remainder. - [erf](https://mojolang.org/docs/std/math/math/erf/): Performs the elementwise Erf on a SIMD vector. - [erfc](https://mojolang.org/docs/std/math/math/erfc/): Computes the `erfc` of the inputs. - [exp](https://mojolang.org/docs/std/math/math/exp/): Calculates elementwise exponential of the input vector. - [exp2](https://mojolang.org/docs/std/math/math/exp2/): Computes elementwise 2 raised to the power of n, where n is an element of the input SIMD vector. - [exp_approx_f32](https://mojolang.org/docs/std/math/math/exp_approx_f32/): Computes a fast approximate e^x for SIMD vectors of 32-bit floats using the base-2 approximation as a backend. - [expm1](https://mojolang.org/docs/std/math/math/expm1/): Computes the `expm1` of the inputs. - [factorial](https://mojolang.org/docs/std/math/math/factorial/): Computes the factorial of the integer. - [floor](https://mojolang.org/docs/std/math/math/floor/): Get the floor value of the given object. - [fma](https://mojolang.org/docs/std/math/math/fma/): Performs elementwise `fma` (fused multiply-add) on the inputs. - [frexp](https://mojolang.org/docs/std/math/math/frexp/): Breaks floating point values into a fractional part and an exponent part. This follows C and Python in increasing the exponent by 1 and normalizing... - [gamma](https://mojolang.org/docs/std/math/math/gamma/): Computes the Gamma of the input. - [gcd](https://mojolang.org/docs/std/math/math/gcd/): Compute the greatest common divisor of two integers. - [hypot](https://mojolang.org/docs/std/math/math/hypot/): Computes the `hypot` of the inputs. - [math](https://mojolang.org/docs/std/math/math/): Defines math utilities. - [iota](https://mojolang.org/docs/std/math/math/iota/): Creates a SIMD vector containing an increasing sequence, starting from offset. - [isclose](https://mojolang.org/docs/std/math/math/isclose/): Returns a boolean SIMD vector indicating which element pairs of `a` and `b` are equal within a given tolerance. - [j0](https://mojolang.org/docs/std/math/math/j0/): Computes the Bessel function of the first kind of order 0 for each input value. - [j1](https://mojolang.org/docs/std/math/math/j1/): Computes the Bessel function of the first kind of order 1 for each input value. - [lcm](https://mojolang.org/docs/std/math/math/lcm/): Computes the least common multiple of two integers. - [ldexp](https://mojolang.org/docs/std/math/math/ldexp/): Computes elementwise ldexp function. - [lgamma](https://mojolang.org/docs/std/math/math/lgamma/): Computes the `lgamma` of the inputs. - [log](https://mojolang.org/docs/std/math/math/log/): Performs elementwise natural log (base E) of a SIMD vector. - [log10](https://mojolang.org/docs/std/math/math/log10/): Computes the `log10` of the inputs. - [log1p](https://mojolang.org/docs/std/math/math/log1p/): Computes the `log1p` of the inputs. - [log2](https://mojolang.org/docs/std/math/math/log2/): Performs elementwise log (base 2) of a SIMD vector. - [logb](https://mojolang.org/docs/std/math/math/logb/): Computes the `logb` of the inputs. - [max](https://mojolang.org/docs/std/math/math/max/): Performs elementwise maximum of x and y. - [min](https://mojolang.org/docs/std/math/math/min/): Gets the elementwise minimum of x and y. - [modf](https://mojolang.org/docs/std/math/math/modf/): Computes the integral and fractional part of the value. - [perm](https://mojolang.org/docs/std/math/math/perm/): Computes the number of ways to arrange `k` items from `n` items without repetition (permutations). - [pow](https://mojolang.org/docs/std/math/math/pow/): Computes the `base` raised to the power of the `exp`. - [recip](https://mojolang.org/docs/std/math/math/recip/): Performs elementwise reciprocal on a SIMD vector. - [remainder](https://mojolang.org/docs/std/math/math/remainder/): Computes the `remainder` of the inputs. - [round](https://mojolang.org/docs/std/math/math/round/): Get the rounded value of the given object. - [rsqrt](https://mojolang.org/docs/std/math/math/rsqrt/): Performs elementwise reciprocal square root on a SIMD vector. - [scalb](https://mojolang.org/docs/std/math/math/scalb/): Computes the `scalb` of the inputs. - [sin](https://mojolang.org/docs/std/math/math/sin/): Computes the `sin` of the inputs. - [sinh](https://mojolang.org/docs/std/math/math/sinh/): Computes the `sinh` of the inputs. - [sqrt](https://mojolang.org/docs/std/math/math/sqrt/): Performs elementwise square root on the elements of a SIMD vector. - [tan](https://mojolang.org/docs/std/math/math/tan/): Computes the `tan` of the inputs. - [tanh](https://mojolang.org/docs/std/math/math/tanh/): Performs elementwise evaluation of the tanh function. - [trunc](https://mojolang.org/docs/std/math/math/trunc/): Get the truncated value of the given object. - [ulp](https://mojolang.org/docs/std/math/math/ulp/): Computes the ULP (units of last place) or (units of least precision) of the number. - [y0](https://mojolang.org/docs/std/math/math/y0/): Computes the Bessel function of the second kind of order 0 for each input value. - [y1](https://mojolang.org/docs/std/math/math/y1/): Computes the Bessel function of the second kind of order 1 for each input value. - [polynomial](https://mojolang.org/docs/std/math/polynomial/): Provides two implementations for evaluating polynomials. - [polynomial_evaluate](https://mojolang.org/docs/std/math/polynomial/polynomial_evaluate/): Evaluates the polynomial. - [uutils](https://mojolang.org/docs/std/math/uutils/): Utilities for doing unsigned division and modulo operations on `Int`. - [ualign_down](https://mojolang.org/docs/std/math/uutils/ualign_down/): Returns the closest multiple of alignment that is less than or equal to value. - [ualign_up](https://mojolang.org/docs/std/math/uutils/ualign_up/): Returns the closest multiple of alignment that is greater than or equal to value. - [uceildiv](https://mojolang.org/docs/std/math/uutils/uceildiv/): Return the rounded-up result of dividing numerator by denominator. - [udiv_unchecked](https://mojolang.org/docs/std/math/uutils/udiv_unchecked/): Unsigned division without zero-guard. - [udivmod](https://mojolang.org/docs/std/math/uutils/udivmod/): Perform unsigned divmod on Int arguments. - [udivmod_unchecked](https://mojolang.org/docs/std/math/uutils/udivmod_unchecked/): Unsigned divmod without zero-guard. - [ufloordiv](https://mojolang.org/docs/std/math/uutils/ufloordiv/): Perform unsigned floor division (`//`) on Int arguments. - [umod](https://mojolang.org/docs/std/math/uutils/umod/): Perform unsigned modulo (`%`) on `SIMD` arguments. - [AddressSpace](https://mojolang.org/docs/std/memory/address_space/AddressSpace/): Address space of the pointer. - [address_space](https://mojolang.org/docs/std/memory/address_space/): Implements `AddressSpace`, the memory address space of a pointer. - [Allocation](https://mojolang.org/docs/std/memory/alloc/Allocation/): An owning handle to a heap allocation of `T` together with its `Layout`. - [Layout](https://mojolang.org/docs/std/memory/alloc/Layout/): Describes the shape of a memory allocation for elements of type `T`. - [ManagedAllocation](https://mojolang.org/docs/std/memory/alloc/ManagedAllocation/): An owning handle to a heap allocation of `T` that frees itself. - [ThinAllocation](https://mojolang.org/docs/std/memory/alloc/ThinAllocation/): An owning handle to a heap allocation of `T`, without its `Layout`. - [alloc](https://mojolang.org/docs/std/memory/alloc/alloc/): Allocates contiguous storage for `count` elements of `type` with alignment `alignment`. - [dealloc](https://mojolang.org/docs/std/memory/alloc/dealloc/): Deallocates the storage owned by an `Allocation`. - [alloc](https://mojolang.org/docs/std/memory/alloc/): Implements layout-aware memory allocation and deallocation. - [unsafe_alloc](https://mojolang.org/docs/std/memory/alloc/unsafe_alloc/): Allocates contiguous storage for `count` elements of `type` with alignment `alignment`. - [ArcPointer](https://mojolang.org/docs/std/memory/arc_pointer/ArcPointer/): Atomic reference-counted pointer. - [WeakPointer](https://mojolang.org/docs/std/memory/arc_pointer/WeakPointer/): Non-owning atomic reference to an `ArcPointer`'s allocation. - [arc_pointer](https://mojolang.org/docs/std/memory/arc_pointer/): Reference-counted smart pointers. - [memory](https://mojolang.org/docs/std/memory/): Low-level memory management: pointers, allocations, address spaces. - [MaybeUninit](https://mojolang.org/docs/std/memory/maybe_uninit/MaybeUninit/): Holds memory that may or may not contain an initialized `T`. - [maybe_uninit](https://mojolang.org/docs/std/memory/maybe_uninit/): Implements `MaybeUninit`, a wrapper for memory that may or may not be initialized. - [forget_deinit](https://mojolang.org/docs/std/memory/memory/forget_deinit/): Takes ownership and skips running `__deinit__` deinitializers. - [memory](https://mojolang.org/docs/std/memory/memory/): Defines functions for memory manipulations. - [is_trivially_copyable](https://mojolang.org/docs/std/memory/memory/is_trivially_copyable/): Returns whether `T` has a trivial copy constructor. - [is_trivially_deletable](https://mojolang.org/docs/std/memory/memory/is_trivially_deletable/): Returns whether `T` has a trivial destructor. - [is_trivially_movable](https://mojolang.org/docs/std/memory/memory/is_trivially_movable/): Returns whether `T` has a trivial move constructor. - [memmove](https://mojolang.org/docs/std/memory/memory/memmove/): Copy `count * size_of[T]()` bytes from src to dest. - [unsafe_destroy_n](https://mojolang.org/docs/std/memory/memory/unsafe_destroy_n/): Destroy `count` initialized values at `pointer`. - [unsafe_memcmp](https://mojolang.org/docs/std/memory/memory/unsafe_memcmp/): Compares two buffers. Both strings are assumed to be of the same length. - [unsafe_memcpy](https://mojolang.org/docs/std/memory/memory/unsafe_memcpy/): Copy `count * size_of[T]()` bytes from src to dest. - [unsafe_memmove](https://mojolang.org/docs/std/memory/memory/unsafe_memmove/): Copy `count * size_of[T]()` bytes from src to dest. - [unsafe_memset](https://mojolang.org/docs/std/memory/memory/unsafe_memset/): Fills memory with the given value. - [unsafe_memset_zero](https://mojolang.org/docs/std/memory/memory/unsafe_memset_zero/): Fills memory with zeros. - [unsafe_uninit_copy_n](https://mojolang.org/docs/std/memory/memory/unsafe_uninit_copy_n/): Copy `count` values from `src` into memory at `dest`. - [unsafe_uninit_move_n](https://mojolang.org/docs/std/memory/memory/unsafe_uninit_move_n/): Move `count` values from `src` into memory at `dest`. - [OwnedPointer](https://mojolang.org/docs/std/memory/owned_pointer/OwnedPointer/): A safe, owning, smart pointer. - [owned_pointer](https://mojolang.org/docs/std/memory/owned_pointer/): Implements `OwnedPointer`, a safe, single-ownership smart pointer. - [Pointer](https://mojolang.org/docs/std/memory/pointer/Pointer/): `Pointer` represents an indirect reference to one or more values of type `T` consecutively in memory, and can refer to uninitialized memory. - [pointer](https://mojolang.org/docs/std/memory/pointer/): Implements `Pointer`, Mojo's primary pointer type for indirect memory access. - [stack_allocation](https://mojolang.org/docs/std/memory/stack_allocation/): Defines the `unsafe_stack_allocation` function for stack-based memory allocation. - [stack_allocation](https://mojolang.org/docs/std/memory/stack_allocation/stack_allocation/): Allocates data buffer space on the stack given a data type and number of elements. - [unsafe_stack_allocation](https://mojolang.org/docs/std/memory/stack_allocation/unsafe_stack_allocation/): Allocates data buffer space on the stack given a data type and number of elements. - [bitcast](https://mojolang.org/docs/std/memory/unsafe/bitcast/): Bitcasts a SIMD value to another SIMD value. - [unsafe](https://mojolang.org/docs/std/memory/unsafe/): Provides utility functions for unsafe manipulation of SIMD values. - [pack_bits](https://mojolang.org/docs/std/memory/unsafe/pack_bits/): Packs a SIMD vector of `bool` values into an integer. - [unsafe_pointer](https://mojolang.org/docs/std/memory/unsafe_pointer/): Defines `UnsafePointer` as a backward-compatible name for `Pointer`. - [Origin](https://mojolang.org/docs/std/origin/Origin/): This represents a origin reference for a memory value. - [origin](https://mojolang.org/docs/std/origin/): Defines Mojo's origin types. - [getenv](https://mojolang.org/docs/std/os/env/getenv/): Returns the value of the given environment variable. - [env](https://mojolang.org/docs/std/os/env/): Provides functions for working with environment variables. - [setenv](https://mojolang.org/docs/std/os/env/setenv/): Changes or adds an environment variable. - [unsetenv](https://mojolang.org/docs/std/os/env/unsetenv/): Unsets an environment variable. - [fstat](https://mojolang.org/docs/std/os/fstat/): Implements file system status operations. - [lstat](https://mojolang.org/docs/std/os/fstat/lstat/): Get the status of a file or a file descriptor (similar to stat, but does not follow symlinks). - [stat](https://mojolang.org/docs/std/os/fstat/stat/): Get the status of a file or a file descriptor. - [stat_result](https://mojolang.org/docs/std/os/fstat/stat_result/): Object whose fields correspond to the members of the stat structure. - [os](https://mojolang.org/docs/std/os/): OS interface layer: environment, filesystem, process control. - [abort](https://mojolang.org/docs/std/os/os/abort/): Terminates execution, using a target dependent trap instruction if available. - [chdir](https://mojolang.org/docs/std/os/os/chdir/): Changes the current working directory. - [getuid](https://mojolang.org/docs/std/os/os/getuid/): Retrieve the user ID of the calling process. - [os](https://mojolang.org/docs/std/os/os/): Provides functions to access operating-system dependent functionality, including file system operations. - [isatty](https://mojolang.org/docs/std/os/os/isatty/): Checks whether a file descriptor refers to a terminal. - [link](https://mojolang.org/docs/std/os/os/link/): Creates a new hard-link to an existing file. - [listdir](https://mojolang.org/docs/std/os/os/listdir/): Gets the list of entries contained in the path provided. - [makedirs](https://mojolang.org/docs/std/os/os/makedirs/): Creates a specified leaf directory along with any necessary intermediate directories that don't already exist. - [mkdir](https://mojolang.org/docs/std/os/os/mkdir/): Creates a directory at the specified path. - [remove](https://mojolang.org/docs/std/os/os/remove/): Removes the specified file. - [removedirs](https://mojolang.org/docs/std/os/os/removedirs/): Removes a leaf directory and all empty intermediate ones. - [rmdir](https://mojolang.org/docs/std/os/os/rmdir/): Removes the specified directory. - [symlink](https://mojolang.org/docs/std/os/os/symlink/): Creates a symlink. - [unlink](https://mojolang.org/docs/std/os/os/unlink/): Removes the specified file. - [path](https://mojolang.org/docs/std/os/path/): Provides a set of operating-system independent functions for manipulating file system paths. - [basename](https://mojolang.org/docs/std/os/path/path/basename/): Returns the tail section of a path. - [dirname](https://mojolang.org/docs/std/os/path/path/dirname/): Returns the directory component of a pathname. - [exists](https://mojolang.org/docs/std/os/path/path/exists/): Return True if path exists. - [expanduser](https://mojolang.org/docs/std/os/path/path/expanduser/): Expands a tilde "~" prefix in `path` to the user's home directory. - [expandvars](https://mojolang.org/docs/std/os/path/path/expandvars/): Replaces `${var}` or `$var` in the path with values from the current environment variables. Malformed variable names and references to non-existing... - [getsize](https://mojolang.org/docs/std/os/path/path/getsize/): Return the size, in bytes, of the specified path. - [path](https://mojolang.org/docs/std/os/path/path/): Provides a set of operating-system independent functions for manipulating file system paths. - [is_absolute](https://mojolang.org/docs/std/os/path/path/is_absolute/): Return True if `path` is an absolute path name. On Unix, that means it begins with a slash. - [isdir](https://mojolang.org/docs/std/os/path/path/isdir/): Return True if path is an existing directory. This follows symbolic links, so both islink() and isdir() can be true for the same path. - [isfile](https://mojolang.org/docs/std/os/path/path/isfile/): Test whether a path is a regular file. - [islink](https://mojolang.org/docs/std/os/path/path/islink/): Return True if path refers to an existing directory entry that is a symbolic link. - [join](https://mojolang.org/docs/std/os/path/path/join/): Join two or more pathname components, inserting '/' as needed. If any component is an absolute path, all previous path components will be discarded... - [lexists](https://mojolang.org/docs/std/os/path/path/lexists/): Return True if path exists or is a broken symlink. - [realpath](https://mojolang.org/docs/std/os/path/path/realpath/): Expands all symbolic links and resolves references to /./, /../ and extra '/' characters in the null-terminated string named by path to produce a c... - [split](https://mojolang.org/docs/std/os/path/path/split/): Split a given pathname into two components: head and tail. This is useful for separating the directory path from the filename. If the input path en... - [split_extension](https://mojolang.org/docs/std/os/path/path/split_extension/): Splits `path` into the root and extension. - [splitroot](https://mojolang.org/docs/std/os/path/path/splitroot/): Splits `path` into drive, root and tail. The tail contains anything after the root. - [PathLike](https://mojolang.org/docs/std/os/pathlike/PathLike/): A trait representing file system paths. - [pathlike](https://mojolang.org/docs/std/os/pathlike/): Implements the `PathLike` trait. - [Pipe](https://mojolang.org/docs/std/os/process/Pipe/): Create a pipe for interprocess communication. - [Process](https://mojolang.org/docs/std/os/process/Process/): Create and manage child processes from file executables. - [ProcessStatus](https://mojolang.org/docs/std/os/process/ProcessStatus/): Represents the termination status of a process. - [process](https://mojolang.org/docs/std/os/process/): Implements os methods for dealing with processes. - [pathlib](https://mojolang.org/docs/std/pathlib/): Filesystem path manipulation and navigation. - [Path](https://mojolang.org/docs/std/pathlib/path/Path/): The Path object. - [cwd](https://mojolang.org/docs/std/pathlib/path/cwd/): Gets the current directory. - [path](https://mojolang.org/docs/std/pathlib/path/): Path manipulation module. - [prelude](https://mojolang.org/docs/std/prelude/): Standard library prelude: fundamental types, traits, and operations auto-imported. - [pwd](https://mojolang.org/docs/std/pwd/): Password database lookups for user account information. - [Passwd](https://mojolang.org/docs/std/pwd/pwd/Passwd/): Represents user account information retrieved from the user password database related to a user ID. - [getpwnam](https://mojolang.org/docs/std/pwd/pwd/getpwnam/): Retrieves the user ID in the password database for the given user name. - [getpwuid](https://mojolang.org/docs/std/pwd/pwd/getpwuid/): Retrieve the password database entry for a given user ID. - [pwd](https://mojolang.org/docs/std/pwd/pwd/): Provides access to the user password database on Unix-like systems. - [ExceptionType](https://mojolang.org/docs/std/python/bindings/ExceptionType/): A CPython global exception type used to translate a Mojo `Error` into a Python exception. - [PyMojoObject](https://mojolang.org/docs/std/python/bindings/PyMojoObject/): Storage backing a PyObject* wrapping a Mojo value. - [PythonModuleBuilder](https://mojolang.org/docs/std/python/bindings/PythonModuleBuilder/): A builder for creating Python modules with Mojo function and type bindings. - [PythonTypeBuilder](https://mojolang.org/docs/std/python/bindings/PythonTypeBuilder/): A builder for a Python 'type' binding. - [check_and_get_arg](https://mojolang.org/docs/std/python/bindings/check_and_get_arg/): Get the argument at the given index and downcast it to a given Mojo type. - [check_and_get_or_convert_arg](https://mojolang.org/docs/std/python/bindings/check_and_get_or_convert_arg/): Get the argument at the given index and convert it to a given Mojo type. - [check_arguments_arity](https://mojolang.org/docs/std/python/bindings/check_arguments_arity/): Validate that the provided arguments match the expected function arity. - [bindings](https://mojolang.org/docs/std/python/bindings/): Provides infrastructure for creating Python bindings to Mojo code. - [lookup_py_type_object](https://mojolang.org/docs/std/python/bindings/lookup_py_type_object/): Retrieve a reference to the unique Python type describing Python objects containing Mojo values of type `T`. - [raise_python_exception](https://mojolang.org/docs/std/python/bindings/raise_python_exception/): Translate a Mojo `Error` into a Python exception and return NULL. - [ConvertibleFromPython](https://mojolang.org/docs/std/python/conversions/ConvertibleFromPython/): Denotes a type that can attempt construction from a read-only Python object. - [ConvertibleToPython](https://mojolang.org/docs/std/python/conversions/ConvertibleToPython/): A trait that indicates a type can be converted to a PythonObject, and that specifies the behavior with a `to_python_object` method. - [conversions](https://mojolang.org/docs/std/python/conversions/): Implements conversion traits to and from PythonObject. - [python](https://mojolang.org/docs/std/python/): Python interoperability: import packages and modules, call functions, type conversion. - [NumPyView](https://mojolang.org/docs/std/python/numpy/NumPyView/): A borrowed view of a C-contiguous NumPy array's buffer and shape. - [copy_to_numpy_array](https://mojolang.org/docs/std/python/numpy/copy_to_numpy_array/): Builds a 1-D NumPy array from a Mojo `Span` of scalars. - [copy_to_numpy_tensor](https://mojolang.org/docs/std/python/numpy/copy_to_numpy_tensor/): Builds an N-D NumPy array from a Mojo `Span` of scalars and a shape. - [from_numpy_array](https://mojolang.org/docs/std/python/numpy/from_numpy_array/): Borrows a 1-D C-contiguous NumPy array as a Mojo `Span`. - [from_numpy_tensor](https://mojolang.org/docs/std/python/numpy/from_numpy_tensor/): Borrows an N-D C-contiguous NumPy array as a `NumPyView`. - [numpy](https://mojolang.org/docs/std/python/numpy/): NumPy interoperability helpers for Mojo collections. - [Python](https://mojolang.org/docs/std/python/python/Python/): Provides methods that help you use Python code in Mojo. - [python](https://mojolang.org/docs/std/python/python/): Implements Python interoperability. - [PythonObject](https://mojolang.org/docs/std/python/python_object/PythonObject/): A Python object. - [python_object](https://mojolang.org/docs/std/python/python_object/): Implements PythonObject. - [random](https://mojolang.org/docs/std/random/): Pseudorandom number generation with uniform and normal distributions. - [NormalRandom](https://mojolang.org/docs/std/random/philox/NormalRandom/): A high-performance random number generator using the Box-Muller transform. - [Random](https://mojolang.org/docs/std/random/philox/Random/): A high-performance random number generator using the Philox algorithm. - [philox](https://mojolang.org/docs/std/random/philox/): Random number generation using the Philox algorithm. - [random](https://mojolang.org/docs/std/random/random/): Provides functions for pseudorandom numbers. - [rand](https://mojolang.org/docs/std/random/random/rand/): Fills memory with random values from a uniform distribution. - [randint](https://mojolang.org/docs/std/random/random/randint/): Fills memory with uniformly distributed random integers in the range [low, high]. - [randn](https://mojolang.org/docs/std/random/random/randn/): Fills memory with random values from a Normal distribution. - [randn_float64](https://mojolang.org/docs/std/random/random/randn_float64/): Returns a random `Float64` sampled from a normal distribution. - [random_float64](https://mojolang.org/docs/std/random/random/random_float64/): Returns a random `Float64` number from the given range [min, max). - [random_si64](https://mojolang.org/docs/std/random/random/random_si64/): Returns a random `Int64` number from the given range [min, max]. - [random_ui64](https://mojolang.org/docs/std/random/random/random_ui64/): Returns a random `UInt64` number from the given range [min, max]. - [seed](https://mojolang.org/docs/std/random/random/seed/): Seeds the random number generator using a time-based value. - [shuffle](https://mojolang.org/docs/std/random/random/shuffle/): Shuffles the elements of the list randomly. - [ReflectedFn](https://mojolang.org/docs/std/reflection/function/ReflectedFn/): A compile-time reflection handle type for a function value. - [function](https://mojolang.org/docs/std/reflection/function/): Compile-time reflection over function values. - [reflection](https://mojolang.org/docs/std/reflection/): Compile-time reflection utilities for introspecting Mojo types and functions. - [SourceLocation](https://mojolang.org/docs/std/reflection/location/SourceLocation/): Type to carry file name, line, and column information. - [call_location](https://mojolang.org/docs/std/reflection/location/call_location/): Returns the location for where the caller of this function is called. - [location](https://mojolang.org/docs/std/reflection/location/): Implements utilities to capture and represent source code location. - [source_location](https://mojolang.org/docs/std/reflection/location/source_location/): Returns the location for where this function is called. - [Reflected](https://mojolang.org/docs/std/reflection/reflect/Reflected/): A compile-time reflection handle type for a Mojo type. - [reflect](https://mojolang.org/docs/std/reflection/reflect/): Provides the unified `reflect[T]` / `Reflected[T]` reflection API. - [get_function_name](https://mojolang.org/docs/std/reflection/type_info/get_function_name/): Returns `func`'s name as declared in the source code. - [get_linkage_name](https://mojolang.org/docs/std/reflection/type_info/get_linkage_name/): Returns `func`'s symbol name. - [type_info](https://mojolang.org/docs/std/reflection/type_info/): Provides function name introspection utilities. - [runtime](https://mojolang.org/docs/std/runtime/): Runtime services: runtime initialization and worker-thread queries. - [initialize_runtime](https://mojolang.org/docs/std/runtime/initialize_runtime/): Initializes the global Mojo runtime if it is not already initialized. - [parallelism_level](https://mojolang.org/docs/std/runtime/parallelism_level/): Gets the parallelism level of the Runtime. - [FastMathFlag](https://mojolang.org/docs/std/simd/FastMathFlag/): Flags for controlling fast-math optimizations in floating-point operations. - [SIMD](https://mojolang.org/docs/std/simd/SIMD/): Represents a vector type that leverages hardware acceleration to process multiple data elements with a single operation. - [simd](https://mojolang.org/docs/std/simd/): Implements SIMD primitives and abstractions. - [stat](https://mojolang.org/docs/std/stat/): File type constants and detection from stat system calls. - [S_ISBLK](https://mojolang.org/docs/std/stat/stat/S_ISBLK/): Returns True if the mode is a block device. - [S_ISCHR](https://mojolang.org/docs/std/stat/stat/S_ISCHR/): Returns True if the mode is a character device. - [S_ISDIR](https://mojolang.org/docs/std/stat/stat/S_ISDIR/): Returns True if the mode is a directory. - [S_ISFIFO](https://mojolang.org/docs/std/stat/stat/S_ISFIFO/): Returns True if the mode is a fifo. - [S_ISLNK](https://mojolang.org/docs/std/stat/stat/S_ISLNK/): Returns True if the mode is a symlink. - [S_ISREG](https://mojolang.org/docs/std/stat/stat/S_ISREG/): Returns True if the mode is a regular file. - [S_ISSOCK](https://mojolang.org/docs/std/stat/stat/S_ISSOCK/): Returns True if the mode is a socket. - [stat](https://mojolang.org/docs/std/stat/stat/): Provides constants and functions for interpreting file mode bits. - [subprocess](https://mojolang.org/docs/std/subprocess/): Execute external processes and commands. - [subprocess](https://mojolang.org/docs/std/subprocess/subprocess/): Provides utilities for executing shell commands and capturing output. - [run](https://mojolang.org/docs/std/subprocess/subprocess/run/): Runs the specified command and returns the output as a string. - [argv](https://mojolang.org/docs/std/sys/arg/argv/): Gets the list of command line arguments given to the `mojo` CLI. - [arg](https://mojolang.org/docs/std/sys/arg/): Implements functions and variables for interacting with execution and system environment. - [codegen_unreachable](https://mojolang.org/docs/std/sys/compile/codegen_unreachable/): Compilation fails if cond is True and the caller of the function is being generated as runtime code. - [compile](https://mojolang.org/docs/std/sys/compile/): Implements functions that return compile-time information. - [breakpointhook](https://mojolang.org/docs/std/sys/debug/breakpointhook/): Cause an execution trap with the intention of requesting the attention of a debugger. - [debug](https://mojolang.org/docs/std/sys/debug/): This module includes the debug hook functions. - [MojoVersion](https://mojolang.org/docs/std/sys/defines/MojoVersion/): Represents the Mojo version as major, minor, and patch numbers. - [get_defined_bool](https://mojolang.org/docs/std/sys/defines/get_defined_bool/): Get a boolean-valued define. If the name is not defined, return a default value instead. If the name is defined this will return `True` if the valu... - [get_defined_dtype](https://mojolang.org/docs/std/sys/defines/get_defined_dtype/): Try to get a DType-valued define. If the name is not defined, return a default value instead. - [get_defined_int](https://mojolang.org/docs/std/sys/defines/get_defined_int/): Try to get an integer-valued define. Compilation fails if the name is not defined. - [get_defined_string](https://mojolang.org/docs/std/sys/defines/get_defined_string/): Try to get a string-valued define. Compilation fails if the name is not defined. - [defines](https://mojolang.org/docs/std/sys/defines/): Implements functions for retrieving compile-time defines. - [is_defined](https://mojolang.org/docs/std/sys/defines/is_defined/): Return true if the named value is defined. - [sys](https://mojolang.org/docs/std/sys/): System runtime: I/O, hardware info, intrinsics, compile-time utils. - [CompilationTarget](https://mojolang.org/docs/std/sys/info/CompilationTarget/): A struct that provides information about a target architecture. - [Vendor](https://mojolang.org/docs/std/sys/info/Vendor/): Represents GPU vendors. - [align_of](https://mojolang.org/docs/std/sys/info/align_of/): Returns the align of (in bytes) of the type. - [bit_width_of](https://mojolang.org/docs/std/sys/info/bit_width_of/): Returns the size of (in bits) of the type. - [has_accelerator](https://mojolang.org/docs/std/sys/info/has_accelerator/): Returns True if the host system has an accelerator and False otherwise. - [has_amd_gpu_accelerator](https://mojolang.org/docs/std/sys/info/has_amd_gpu_accelerator/): Returns True if the host system has an AMD GPU and False otherwise. - [has_amd_rdna_gpu_accelerator](https://mojolang.org/docs/std/sys/info/has_amd_rdna_gpu_accelerator/): Returns True if the host system has an AMD RDNA GPU and False otherwise. - [has_apple_gpu_accelerator](https://mojolang.org/docs/std/sys/info/has_apple_gpu_accelerator/): Returns True if the host system has a Metal GPU and False otherwise. - [has_nvidia_gpu_accelerator](https://mojolang.org/docs/std/sys/info/has_nvidia_gpu_accelerator/): Returns True if the host system has an NVIDIA GPU and False otherwise. - [info](https://mojolang.org/docs/std/sys/info/): Implements methods for querying the host target info. - [is_32bit](https://mojolang.org/docs/std/sys/info/is_32bit/): Returns True if the maximum integral value is 32 bit. - [is_64bit](https://mojolang.org/docs/std/sys/info/is_64bit/): Returns True if the maximum integral value is 64 bit. - [is_amd_gpu](https://mojolang.org/docs/std/sys/info/is_amd_gpu/): Returns True if the target triple of the compiler is `amdgcn-amd-amdhsa` False otherwise. - [is_apple_gpu](https://mojolang.org/docs/std/sys/info/is_apple_gpu/): Returns True if the target triple is for Apple GPU (Metal) and False otherwise. - [is_apple_m5](https://mojolang.org/docs/std/sys/info/is_apple_m5/): Returns True if the target is an Apple M5 GPU and False otherwise. - [is_big_endian](https://mojolang.org/docs/std/sys/info/is_big_endian/): Returns True if the target's endianness is big and False otherwise. - [is_gpu](https://mojolang.org/docs/std/sys/info/is_gpu/): Returns True if the target triple is GPU and False otherwise. - [is_little_endian](https://mojolang.org/docs/std/sys/info/is_little_endian/): Returns True if the target's endianness is little and False otherwise. - [is_nvidia_gpu](https://mojolang.org/docs/std/sys/info/is_nvidia_gpu/): Returns True if the target triple of the compiler is `nvptx64-nvidia-cuda` False otherwise. - [is_triple](https://mojolang.org/docs/std/sys/info/is_triple/): Returns True if the target triple of the compiler matches the input and False otherwise. - [num_logical_cores](https://mojolang.org/docs/std/sys/info/num_logical_cores/): Returns the number of hardware threads, including hyperthreads across all CPU sockets. - [num_performance_cores](https://mojolang.org/docs/std/sys/info/num_performance_cores/): Returns the number of physical performance cores across all CPU sockets. If not known, returns the total number of physical cores. - [num_physical_cores](https://mojolang.org/docs/std/sys/info/num_physical_cores/): Returns the number of physical cores across all CPU sockets. - [platform_map](https://mojolang.org/docs/std/sys/info/platform_map/): Helper for defining a compile time value depending on the current compilation target, raising a compilation error if trying to access the value on ... - [simd_bit_width](https://mojolang.org/docs/std/sys/info/simd_bit_width/): Returns the vector size (in bits) of the specified target. - [simd_byte_width](https://mojolang.org/docs/std/sys/info/simd_byte_width/): Returns the vector size (in bytes) of the specified target. - [simd_width_of](https://mojolang.org/docs/std/sys/info/simd_width_of/): Returns the vector size of the type on the host system. - [size_of](https://mojolang.org/docs/std/sys/info/size_of/): Returns the size of (in bytes) of the type. - [stdlib_plugin](https://mojolang.org/docs/std/sys/info/stdlib_plugin/): Returns the stdlib plugin name for the specified target. - [PrefetchCache](https://mojolang.org/docs/std/sys/intrinsics/PrefetchCache/): Prefetch cache type. - [PrefetchLocality](https://mojolang.org/docs/std/sys/intrinsics/PrefetchLocality/): The prefetch locality. - [PrefetchOptions](https://mojolang.org/docs/std/sys/intrinsics/PrefetchOptions/): Collection of configuration parameters for a prefetch intrinsic call. - [PrefetchRW](https://mojolang.org/docs/std/sys/intrinsics/PrefetchRW/): Prefetch read or write. - [assume](https://mojolang.org/docs/std/sys/intrinsics/assume/): Signals to the optimizer that the condition is always true. This allows the optimizer to optimize the code. - [ballot](https://mojolang.org/docs/std/sys/intrinsics/ballot/): Returns a bitfield(Int32 or Int64) containing the result of its Bool argument in all active lanes, and zero in all inactive lanes. For example, bal... - [compressed_store](https://mojolang.org/docs/std/sys/intrinsics/compressed_store/): Compresses the lanes of `value`, skipping `mask` lanes, and stores at `addr`. - [expect](https://mojolang.org/docs/std/sys/intrinsics/expect/): Provides information about expected (the most probable) value of `val`, which can be used by optimizers. - [gather](https://mojolang.org/docs/std/sys/intrinsics/gather/): Reads scalar values from a SIMD vector, and gathers them into one vector. - [implicitarg_ptr](https://mojolang.org/docs/std/sys/intrinsics/implicitarg_ptr/): Get a pointer to AMD's implicit arguments table. - [intrinsics](https://mojolang.org/docs/std/sys/intrinsics/): Defines intrinsics. - [likely](https://mojolang.org/docs/std/sys/intrinsics/likely/): Provides information that the most probable value of `val` is going to be `True`. This information can be used by optimizers. - [llvm_intrinsic](https://mojolang.org/docs/std/sys/intrinsics/llvm_intrinsic/): Calls an LLVM intrinsic with the name `intrin` and return type `type`. - [masked_load](https://mojolang.org/docs/std/sys/intrinsics/masked_load/): Loads data from memory and return it, replacing masked lanes with values from the passthrough vector. - [masked_store](https://mojolang.org/docs/std/sys/intrinsics/masked_store/): Stores a value at a memory location, skipping masked lanes. - [prefetch](https://mojolang.org/docs/std/sys/intrinsics/prefetch/): Prefetches an instruction or data into cache before it is used. - [readfirstlane](https://mojolang.org/docs/std/sys/intrinsics/readfirstlane/): Get the value in the lowest active lane of the input operand. - [scatter](https://mojolang.org/docs/std/sys/intrinsics/scatter/): Takes scalar values from a SIMD vector and `scatters` them into a vector of pointers. - [sendmsg](https://mojolang.org/docs/std/sys/intrinsics/sendmsg/): Send a message to fixed function hardware. Refer to the specific ISA manual for the ops and messages. - [strided_load](https://mojolang.org/docs/std/sys/intrinsics/strided_load/): Loads values from addr according to a specific stride. - [strided_store](https://mojolang.org/docs/std/sys/intrinsics/strided_store/): Loads values from addr according to a specific stride. - [unlikely](https://mojolang.org/docs/std/sys/intrinsics/unlikely/): Provides information that the most probable value of `val` is going to be `False`. This information can be used by optimizers. - [exit](https://mojolang.org/docs/std/sys/terminate/exit/): Exits from Mojo. Unlike the Python implementation this does not raise an exception to exit. - [terminate](https://mojolang.org/docs/std/sys/terminate/): This module includes the exit functions. - [tempfile](https://mojolang.org/docs/std/tempfile/): Manage temporary files and directories: create, locate, and cleanup. - [NamedTemporaryFile](https://mojolang.org/docs/std/tempfile/tempfile/NamedTemporaryFile/): Temporary file with automatic cleanup. - [TemporaryDirectory](https://mojolang.org/docs/std/tempfile/tempfile/TemporaryDirectory/): Temporary directory that cleans up automatically. - [gettempdir](https://mojolang.org/docs/std/tempfile/tempfile/gettempdir/): Return the default directory to use for temporary files. - [tempfile](https://mojolang.org/docs/std/tempfile/tempfile/): Temporary file and directory creation. - [mkdtemp](https://mojolang.org/docs/std/tempfile/tempfile/mkdtemp/): Create a temporary directory. - [assert_aborts](https://mojolang.org/docs/std/testing/assert_aborts/): Asserts that code aborts the process, without losing the rest of the test suite. - [testing](https://mojolang.org/docs/std/testing/): Unit testing: Assertions (equal, true, raises) and test suites. - [prop](https://mojolang.org/docs/std/testing/prop/): A property testing package. - [Rng](https://mojolang.org/docs/std/testing/prop/random/Rng/): A seeded pseudo-random number generator. - [random](https://mojolang.org/docs/std/testing/prop/random/): Implements random number generation for property-based testing. - [PropTest](https://mojolang.org/docs/std/testing/prop/runner/PropTest/): A property test runner. - [PropTestConfig](https://mojolang.org/docs/std/testing/prop/runner/PropTestConfig/): A configuration for a property test. - [runner](https://mojolang.org/docs/std/testing/prop/runner/): Implements the property test runner and configuration. - [Strategy](https://mojolang.org/docs/std/testing/prop/strategy/Strategy/): A type used to produce random inputs for property tests. - [strategy](https://mojolang.org/docs/std/testing/prop/strategy/): Implements the `Strategy` trait and exports built-in strategies for property-based testing. - [list_strategy](https://mojolang.org/docs/std/testing/prop/strategy/list_strategy/): Implements the list strategy for generating random `List` values in property tests. - [simd_strategy](https://mojolang.org/docs/std/testing/prop/strategy/simd_strategy/): Implements the SIMD strategy for generating random `SIMD` values in property tests. - [string_strategy](https://mojolang.org/docs/std/testing/prop/strategy/string_strategy/): Implements the string strategy for generating random `String` values in property tests. - [TestReport](https://mojolang.org/docs/std/testing/suite/TestReport/): A report for a single unit test. - [TestResult](https://mojolang.org/docs/std/testing/suite/TestResult/): A test result code. - [TestSuite](https://mojolang.org/docs/std/testing/suite/TestSuite/): A suite of tests to run. - [TestSuiteReport](https://mojolang.org/docs/std/testing/suite/TestSuiteReport/): A report for an entire test suite. - [suite](https://mojolang.org/docs/std/testing/suite/): Implements test suite infrastructure for organizing and running tests. - [assert_almost_equal](https://mojolang.org/docs/std/testing/testing/assert_almost_equal/): Asserts that the input values are equal up to a tolerance. If it is not then an Error is raised. - [assert_equal](https://mojolang.org/docs/std/testing/testing/assert_equal/): Asserts that the input values are equal. If it is not then an Error is raised. - [assert_equal_pyobj](https://mojolang.org/docs/std/testing/testing/assert_equal_pyobj/): Asserts that the `PythonObject`s are equal. If it is not then an Error is raised. - [assert_false](https://mojolang.org/docs/std/testing/testing/assert_false/): Asserts that the input value is False and raises an Error if it's not. - [assert_is](https://mojolang.org/docs/std/testing/testing/assert_is/): Asserts that the input values have the same identity. If they do not then an Error is raised. - [assert_is_not](https://mojolang.org/docs/std/testing/testing/assert_is_not/): Asserts that the input values have different identities. If they do not then an Error is raised. - [assert_not_equal](https://mojolang.org/docs/std/testing/testing/assert_not_equal/): Asserts that the input values are not equal. If it is not then an Error is raised. - [assert_raises](https://mojolang.org/docs/std/testing/testing/assert_raises/): Context manager that asserts that the block raises an exception. - [assert_true](https://mojolang.org/docs/std/testing/testing/assert_true/): Asserts that the input value is True and raises an Error if it's not. - [testing](https://mojolang.org/docs/std/testing/testing/): Implements various testing utils. - [time](https://mojolang.org/docs/std/time/): Timing operations: monotonic clocks, performance counters, sleep, time_function. - [global_perf_counter_ns](https://mojolang.org/docs/std/time/time/global_perf_counter_ns/): Returns the current value in the global nanosecond resolution timer. This value is common across all SM's. - [time](https://mojolang.org/docs/std/time/time/): Implements basic utils for working with time. - [monotonic](https://mojolang.org/docs/std/time/time/monotonic/): Returns the current monotonic time time in nanoseconds. This function queries the current platform's monotonic clock, making it useful for measurin... - [perf_counter](https://mojolang.org/docs/std/time/time/perf_counter/): Return the value (in fractional seconds) of a performance counter, i.e. a clock with the highest available resolution to measure a short duration. ... - [perf_counter_ns](https://mojolang.org/docs/std/time/time/perf_counter_ns/): Return the value (in nanoseconds) of a performance counter, i.e. a clock with the highest available resolution to measure a short duration. It does... - [sleep](https://mojolang.org/docs/std/time/time/sleep/): Suspends the current thread for the seconds specified. - [time_function](https://mojolang.org/docs/std/time/time/time_function/): Measures the time spent in the function. - [AnyType](https://mojolang.org/docs/std/traits/anytype/AnyType/): The most basic trait that all Mojo types extend by default. - [anytype](https://mojolang.org/docs/std/traits/anytype/): Defines `AnyType`, the most basic trait that all Mojo types extend by default. - [Copyable](https://mojolang.org/docs/std/traits/copyable/Copyable/): The Copyable trait denotes a type whose value can be explicitly copied. - [ImplicitlyCopyable](https://mojolang.org/docs/std/traits/copyable/ImplicitlyCopyable/): A marker trait to permit compiler to insert implicit calls to the copy constructor in order to make a copy of the object when needed. - [copyable](https://mojolang.org/docs/std/traits/copyable/): Defines `Copyable` and `ImplicitlyCopyable`, the traits for types whose value can be copied. - [Deinitable](https://mojolang.org/docs/std/traits/deinitable/Deinitable/): A trait for types that require lifetime management through destructors. - [deinit](https://mojolang.org/docs/std/traits/deinitable/deinit/): Extends a value's lifetime up to this call, then deinitializes it. - [deinitable](https://mojolang.org/docs/std/traits/deinitable/): Defines `Deinitable`, the trait for types with lifetime management through destructors. - [traits](https://mojolang.org/docs/std/traits/): Core object-lifetime and value-semantics traits. - [Movable](https://mojolang.org/docs/std/traits/movable/Movable/): The Movable trait denotes a type whose value can be moved. - [movable](https://mojolang.org/docs/std/traits/movable/): Defines `Movable`, the trait for types whose value can be moved. - [ComptimeInt](https://mojolang.org/docs/std/utils/coord/ComptimeInt/): Compile-time known index value. - [Coord](https://mojolang.org/docs/std/utils/coord/Coord/): A struct representing tuple-like data with compile-time and runtime elements. - [CoordLike](https://mojolang.org/docs/std/utils/coord/CoordLike/): Trait for unified layout handling of compile-time and runtime indices. - [coord_to_index_list](https://mojolang.org/docs/std/utils/coord/coord_to_index_list/): Convert a flat `Coord` to an `IndexList`. - [crd2idx](https://mojolang.org/docs/std/utils/coord/crd2idx/): Calculate the linear index from a coordinate tuple. - [dyn_coord](https://mojolang.org/docs/std/utils/coord/dyn_coord/): Create a `Coord` from a tuple of integers with specified dtype. - [idx2crd](https://mojolang.org/docs/std/utils/coord/idx2crd/): Calculate the coordinate tuple from a linear index. - [coord](https://mojolang.org/docs/std/utils/coord/): Unified layout system for mixed compile-time and runtime indices. - [FastDiv](https://mojolang.org/docs/std/utils/fast_div/FastDiv/): Implements fast division for a given type. - [fast_div](https://mojolang.org/docs/std/utils/fast_div/): Implements the fast division algorithm. - [utils](https://mojolang.org/docs/std/utils/): General utils: indexing, variants, static tuples, and thread synchronization. - [Index](https://mojolang.org/docs/std/utils/index_/Index-function/): Constructs an N-D Index from the given values. - [IndexList](https://mojolang.org/docs/std/utils/index_/IndexList/): A base struct that implements size agnostic index functions. - [index](https://mojolang.org/docs/std/utils/index_/): Implements `IndexList` which is commonly used to represent N-D indices. - [product](https://mojolang.org/docs/std/utils/index_/product/): Computes a product of values in the tuple up to the given index. - [BlockingScopedLock](https://mojolang.org/docs/std/utils/lock/BlockingScopedLock/): A scope adapter for BlockingSpinLock. - [BlockingSpinLock](https://mojolang.org/docs/std/utils/lock/BlockingSpinLock/): A basic locking implementation that uses an integer to represent the owner of the lock. - [SpinWaiter](https://mojolang.org/docs/std/utils/lock/SpinWaiter/): A proxy for the C++ runtime's SpinWaiter type. - [lock](https://mojolang.org/docs/std/utils/lock/): Implements thread synchronization primitives including spin locks. - [FPUtils](https://mojolang.org/docs/std/utils/numerics/FPUtils/): Collection of utility functions for working with FP values. - [FlushDenormals](https://mojolang.org/docs/std/utils/numerics/FlushDenormals/): Flushes and denormals are set to zero within the context and the state is restored to the prior value on exit. - [get_accum_type](https://mojolang.org/docs/std/utils/numerics/get_accum_type/): Returns the recommended dtype for accumulation operations. - [numerics](https://mojolang.org/docs/std/utils/numerics/): Defines utilities to work with numeric types. - [inf](https://mojolang.org/docs/std/utils/numerics/inf/): Gets a +inf value for the given dtype. - [isfinite](https://mojolang.org/docs/std/utils/numerics/isfinite/): Checks if the value is not infinite. - [isinf](https://mojolang.org/docs/std/utils/numerics/isinf/): Checks if the value is infinite. - [isnan](https://mojolang.org/docs/std/utils/numerics/isnan/): Checks if the value is Not a Number (NaN). - [max_finite](https://mojolang.org/docs/std/utils/numerics/max_finite/): Returns the maximum finite value of type. - [max_or_inf](https://mojolang.org/docs/std/utils/numerics/max_or_inf/): Returns the maximum (potentially infinite) value of type. - [min_finite](https://mojolang.org/docs/std/utils/numerics/min_finite/): Returns the minimum (lowest) finite value of type. - [min_or_neg_inf](https://mojolang.org/docs/std/utils/numerics/min_or_neg_inf/): Returns the minimum (potentially negative infinite) value of type. - [nan](https://mojolang.org/docs/std/utils/numerics/nan/): Gets a NaN value for the given dtype. - [neg_inf](https://mojolang.org/docs/std/utils/numerics/neg_inf/): Gets a -inf value for the given dtype. - [nextafter](https://mojolang.org/docs/std/utils/numerics/nextafter/): Computes next representable value of `arg0` in the direction of `arg1`. - [StaticTuple](https://mojolang.org/docs/std/utils/static_tuple/StaticTuple/): A statically sized tuple type which contains elements of homogeneous types. - [static_tuple](https://mojolang.org/docs/std/utils/static_tuple/): Implements StaticTuple, a statically-sized uniform container. - [Variant](https://mojolang.org/docs/std/utils/variant/Variant/): A union that can hold a runtime-variant value from a set of predefined types. - [variant](https://mojolang.org/docs/std/utils/variant/): Defines a Variant type.