Skip to main content

Module zall

Module zall 

Source
Expand description

All crate items re-exported in a single flat namespace.


This flat view appears here as zall, and it is also mirrored at the crate root through a hidden all module. Every item in this namespace is already forwarded upward, since public modules automatically re-export their contents to their parent.

The name zall ensures rustdoc search shows each itemโ€™s original full path rather than the earlier-sorted all re-export.

Macrosยง

CONST
โŒ— ๐Ÿ—๏ธ A helper for constructing macro constants.
ansilinux or std
๐Ÿฎ– Concatenates or prints Ansi escape codes.
arch_cmpavx and dep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch Turns a comparison operator token to the correct constant value.
arch_roundavx and dep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch Turns a round operator token to the correct constant value.
arena
๐Ÿ—๏ธ ๐Ÿงบ A custom memory arena generator.
asm
โŒ— ๐Ÿ–ฅ๏ธ core Inline assembly.
assert
๐Ÿ’ฏ core Asserts that a boolean expression is true at runtime.
assert_approx_eq_all
๐Ÿ’ฏ Asserts the approximate equality of a series of expressions within tolerance.
assert_eq
๐Ÿ’ฏ core Asserts that two expressions are equal to each other.
assert_eq_all
๐Ÿ’ฏ Asserts the equality of a series of expressions.
assert_matches
๐Ÿ’ฏ core Asserts that an expression matches the provided pattern.
assert_ne
๐Ÿ’ฏ core Asserts that two expressions are not equal to each other.
async_ready
๐Ÿงต โฌก core Extracts the successful type of a AsyncPoll<T>.
bitfield
๐Ÿ—๏ธ โ–ซ๏ธ ๐Ÿซ— Defines a compact packed-field wrapper backed by an unsigned integer.
buffer_linear
๐Ÿ—๏ธ ๐Ÿ—ƒ๏ธ Defines a linear buffer type over contiguous storage backends.
buffer_ring
๐Ÿ—๏ธ ๐Ÿ—ƒ๏ธ Defines a ring buffer type over contiguous storage backends.
capture_first
โŒ— Captures the first token from a list of inputs.
capture_last
โŒ— Captures the last token from a list of inputs.
capture_tail_tuple
โŒ— Captures all the tokens except the first one, as a tuple.
cast
โ…€ โš™๏ธ Provides const primitive casting, joining and splitting operations.
cdbgstd
โŒ— ๐Ÿ› customizable dbg! macro.
cfg
core Evaluates boolean combinations of configuration flags at compile-time.
cfg_select
core Selects code at compile-time based on cfg predicates.
ch
๐Ÿ—๏ธ ๐“ Concisely creates any kind of Unicode scalar.
cif
โŒ— proc Evaluates to either a true of false literal based on the predicate.
cmdstd
โŒ— ๐Ÿ–ฅ๏ธ โฌก Builds a CommandFlow from one or more command invocations.
cmp
โˆง โ‰ค Provides comparison operations using an operation-first syntax.
coalesce
โŒ— proc Returns the first non-empty argument.
code_column
โŒ— core Expands to the column number at which it was invoked.
code_file
โŒ— core Expands to the file name at which it was invoked.
code_line
โŒ— core Expands to the line number at which it was invoked.
code_module
โŒ— ๐Ÿงถ core Expands to a string representing the current module path.
compile_error
โŒ— ๐Ÿšฉ core Causes compilation to fail with the given message when encountered.
concat
โŒ— ๐“ core Concatenates literals into a static string slice.
const_assert
๐Ÿ’ฏ Asserts various comparisons on constants.
const_bool
โŒ— โˆง Converts a const bool expression to a type-level boolean.
const_join
โŒ— Joins multiple byte slices or string slices in compile-time.
const_warn
โŒ— ๐Ÿ› Emits a compile-time warning with a provided message.
cswap
โŒ— Swaps two mutable variables in a compile-time friendly manner.
debug_assert
๐Ÿ’ฏ core Asserts that a boolean expression is true at runtime.
debug_assert_eq
๐Ÿ’ฏ core Asserts that two expressions are equal to each other.
debug_assert_matches
๐Ÿ’ฏ core Asserts that an expression matches the provided pattern.
debug_assert_ne
๐Ÿ’ฏ core Asserts that two expressions are not equal to each other.
define_error
๐Ÿ—๏ธ ๐Ÿšฉ Defines individual and composite error types.
deprecate_feature
โŒ— Configures a feature as deprecated, warning if it is enabled.
detect_aarch64std and (AArch64 or ARM64EC)
๐Ÿ–ฅ๏ธ std Tests at runtime whether an aarch64 feature is enabled.
detect_x86std and (x86 or x86-64)
๐Ÿ–ฅ๏ธ std Tests at runtime whether an x86/x86-64 feature is enabled.
digest
๐Ÿ” ๐Ÿ”€ ๐Ÿ—๏ธ Defines a selected cryptographic message-digest state type.
dis
๐Ÿ“ ๐Ÿ—๏ธ Constructs a Distance with inferred dimensionality.
divisor
๐Ÿ—๏ธ โŒ— โ…€ Defines a divisor struct for faster division and modulo operations.
doclink
โŒ— Helps doc-linking items in downstream crates.
enumint
๐Ÿ—๏ธ โŒ— โš—๏ธ proc Defines a compact enum over a contiguous integer interval.
enumset
โŒ— ๐Ÿ—๏ธ โˆˆ โІ โ–ซ๏ธ Defines an enum and an associated type set of its variants.
env_
โŒ— core Inspects an environment variable at compile time.
ext
๐Ÿ“ ๐Ÿ—๏ธ Constructs an Extent with inferred dimensionality.
field_of
โŒ— proc Generates an expression for accessing a field of a tuple or struct.
fmtcat
๐Ÿ–น Writes concatenated formatted data into a byte buffer.
fn_name
โŒ— ๐Ÿ› Returns a best-effort name of the enclosing function.
formatalloc
๐Ÿ–น ๐Ÿ—๏ธ alloc Creates a String using interpolation of runtime expressions.
format_args
๐Ÿ–น core Constructs parameters for the other string-formatting macros.
format_buf
๐Ÿ–น Returns a formatted str slice backed by a buffer, non-allocating.
global_asm
โŒ— ๐Ÿ–ฅ๏ธ core Module-level inline assembly.
handle
๐Ÿ—๏ธ ๐Ÿซ† Defines a lightweight handle type.
hook
โŒ— ๐Ÿ’ฑ Hooks one or more mutation steps into a value and returns it.
id_seq
๐Ÿ—๏ธ ๐Ÿซ† A macro for constructing a unique sequential identifier generator.
ident_const_index
โŒ— Defines a constant for every given identifier with a value of its index in the list.
ident_total
โŒ— proc Returns the total number of identifiers in its input.
ident_total_unique
โŒ— proc Returns the numbers of both total and unique identifiers in its input.
ident_unique
โŒ— proc Returns the number of unique identifiers in its input.
impl_trait
โŒ— ๐Ÿ—๏ธ A helper macro to concisely implement a few common utility traits.
include
โŒ— core Parses a file as an expression or an item according to the context.
include_bytes
โŒ— core Includes a file as a reference to a byte array.
include_from
โŒ— Includes a Rust source file relative to the projectโ€™s directory.
include_str
โŒ— ๐Ÿงถ core Includes a UTF-8 encoded file as a string.
init_array
๐ŸŒฑ ๐Ÿ—ƒ๏ธ Initializes a [$T; $LEN] array in multiple ways.
interval
๐Ÿ“ Creates an Interval using extended range notation.
is
โŒ— Conditional evaluation.
items
โŒ— ๐Ÿ–น Groups items together and expands them as if they were written directly.
iter_strided
๐Ÿ—๏ธ ๐Ÿ”„ Generates a strided iterator type over a slice.
lane
๐Ÿ—๏ธ โŒ— โ…€ Defines a fixed-width lane type.
lets
โŒ— A concise macro for declaring multiple variables at once.
linux_entrylinux
๐Ÿง โŒ— Defines the program entry point and main fn translation layer for Linux systems.
macro_apply_alias
โŒ— Defines attribute aliases usable from macro_apply.
macro_derive_alias
โŒ— Defines derive aliases usable from macro_derive.
macro_dollar
โŒ— Provides a literal $ token to a macro body.
map
๐Ÿ—๏ธ ๐Ÿ—ƒ๏ธ Defines a custom static hashmap.
maybe
โŒ— ๐Ÿคท Macro helper for using optionally implemented traits, like Default or Clone.
maybe_slot
โŒ— ๐Ÿคท โš™๏ธ Expands to a primitive slot from either a direct carrier or a wrapped outer type.
methods_as_fns
โŒ— Defines standalone functions that call associated methods.
mod_from
โŒ— Declares a module by including a Rust source file relative to the projectโ€™s directory.
mod_path
โŒ— A macro helper to define a module name and path.
morph
โŒ— ๐Ÿ’ฑ Morphs a value through one or more transformation steps and returns the result.
niche
โ…€ โš—๏ธ ๐Ÿ—๏ธ Creates a primitive-backed niche value with compile-time type selection.
niche_prim
โš—๏ธ โš™๏ธ Maps a niche representation type to its primitive carrier type.
offset_of
๐Ÿซ— core Expands to the offset in bytes of a field from the beginning of the given type.
option_env
โŒ— core Optionally inspects an environment variable at compile time.
ori
๐Ÿ“ ๐Ÿงญ ๐Ÿ—๏ธ Constructs an Orientation with inferred dimensionality.
panic_
โŒ— core Panics the current thread.
paste
โŒ— proc Allows to paste identifiers together.
pin
โŒ— ๐Ÿซ— ๐Ÿƒ core Constructs a Pin<&mut T>, by pinning a value: T locally.
pos
๐Ÿ“ ๐Ÿ—๏ธ Constructs a Position with inferred dimensionality.
punroll
โŒ— Compile-time pattern unroll over a width of 0..=8 || pow(2) <= 64.
rand_pcg
๐Ÿ—๏ธ ๐ŸŽฒ Defines a canonical PCG (Permuted Congruential Generator) PRNG type.
rand_xorshiftrand
๐Ÿ—๏ธ ๐ŸŽฒ Constructs a XorShift prng with custom bits, basis, triplet and seed.
read_at
โŒ— ๐Ÿซ— Read values from a buffer at an explicit offset.
region
๐Ÿ“ ๐Ÿ—๏ธ Constructs a Region from a Position and an Extent.
repeat
โŒ— proc Repeats an expression the given number of times, as duplicated code with no loops.
set
๐Ÿ—๏ธ โІ โ–ซ๏ธ Defines a compact set backed by an integer bit mask.
set_panic_handler
โŒ— ๐Ÿ–ฅ๏ธ Sets a panic handler based on the chosen strategy.
sf
โŒ— ๐Ÿ–น skip formatting macro.
size_of_expr
โŒ— ๐Ÿซ— Returns the size of an expression in bytes.
sleep4linux or std
๐Ÿงต ๐Ÿ•˜ A more compact thread sleep.
slice
๐Ÿ› ๏ธ Invokes Slice range methods using short notation.
slogunsafe_sync
๐Ÿชต Static global logger macro, compile-time friendly.
stringify
โŒ— ๐“ core Stringifies its arguments.
structural_mods
โŒ— Defines a standardized module structure for organizing visibility and re-exports.
test_size_of
๐Ÿ’ฏ ๐Ÿซ— Tests the stack size of a type.
thread_localstd
๐Ÿงต โŒ— std Declare a new thread local storage key of type ThreadLocalKey.
todo
โŒ— core Indicates unfinished code.
type_count
โŒ— Returns the total number of types received.
type_marker
โŒ— ๐Ÿซ† ๐Ÿ—๏ธ Defines zero-cost, zero-sized, generic marker IDs.
type_resource
โŒ— ๐Ÿซ† ๐Ÿ—๏ธ Defines zero-cost, zero-sized, type-safe resource IDs.
unimplemented
โŒ— core Indicates unimplemented code.
unreachable
โŒ— core Indicates unreachable code.
unroll_unroll
โŒ— cgen Unrolls the given for loop.
unwrap
โš–๏ธ An unwrapper macro that works in compile-time.
use_as
โŒ— Imports families of prefixed items under shorter local names.
vec_alloc
๐Ÿ—๏ธ ๐Ÿ—ƒ๏ธ alloc Creates a Vec containing the arguments.
whilst
โŒ— A flexible loop constructor supporting both while- and for-style syntaxes.
word
๐Ÿชช โ–ฃ ๐Ÿ—๏ธ Defines a transparent word type over a raw representation.
write
๐Ÿ–น core Writes formatted data into a buffer.
write_at
โŒ— ๐Ÿซ— Write elements into a buffer at an explicit offset.
writeln
๐Ÿ–น core Writes formatted data into a buffer, with a newline appended.

Structsยง

AddrParseError
๐Ÿ“ก ๐Ÿšฉ core An error which can be returned when parsing an IP or socket address.
Adler32
๐Ÿ”€ Adler-32 checksum.
Alloc
๐Ÿงบ ๐Ÿ› ๏ธ Memory-allocation-related operations.
Alsaalsa
๐Ÿ”Š ๐Ÿง ๐Ÿ› ๏ธ ALSA operations.
AlsaPcmHandlealsa
๐Ÿ”Š ๐Ÿง ๐Ÿ”’ Owned ALSA PCM stream handle.
Angle
๐Ÿ“ An angle represents a fraction of a full rotation.
Ansiterm
๐Ÿฎ– ๐Ÿ› ๏ธ ANSI escape codes.
AnsiColor8term
๐Ÿฎ– ๐ŸŽจ ANSI 8-bit color codes, 256 colors.
AnsiLinkterm
๐Ÿฎ– ๐ŸŒ ๐Ÿงถ A terminal hyperlink using the OSC 8 escape sequence.
AnsiOscterm
๐Ÿฎ– ๐Ÿงถ An OSC sequence with semicolon-separated fields.
AppApplestd
๐Ÿ Apple enviroment for directories.
AppConfigstd
๐Ÿ–ฅ๏ธ Application specific metadata.
AppControlSet
โฌก ๐Ÿ“ถ โІ A set of application control notices.
AppUnixstd
๐Ÿš Unix enviroment for directories.
AppWindowsstd
๐ŸชŸ Windows enviroment for directories.
AppXdgstd
๐Ÿง Xdg enviroment for directories.
Arcalloc
๐Ÿงต โš›๏ธ ๐Ÿƒ ?alloc A thread-safe reference-counting pointer.
ArcWeakalloc
๐Ÿงต โš›๏ธ ๐Ÿƒ ?alloc A version of Arc that holds a non-owning reference.
Arch
๐Ÿ–ฅ๏ธ ๐Ÿ› ๏ธ Arch-related functionality.
ArenaExample
โœจ ๐Ÿงบ An example memory arena.
ArenaHandleExample
โœจ ๐Ÿงบ An example memory arena handle.
ArenaMarkExample
โœจ ๐Ÿงบ An example memory arena mark.
Array
๐Ÿ—ƒ๏ธ A static 1-dimensional array backed by the core array primitive.
Array2d
๐Ÿ—ƒ๏ธ A static 2-dimensional Array.
ArrayFmt
๐Ÿ–น ๐Ÿ—ƒ๏ธ A formatting wrapper for core arrays, implementing Display and Debug.
ArrayFrom
๐Ÿ’ฑ ๐Ÿซ— Compile-time conversion from slice-like types to arrays.
ArrayUninitunsafe_array
๐Ÿ—ƒ๏ธ A static array allowing uninitialized elements.
AsciiLut
โŒ— ๐“ ๐Ÿ› ๏ธ A text-related LUT namespace.
AsciiSet
๐“ โІ A finite set of ASCII characters.
AsyncContext
๐Ÿงต โฌก core The context of an asynchronous task.
AsyncRawWaker
๐Ÿงต โฌก core Allows the implementor of a task executor to create a AsyncWaker.
AsyncRawWakerVTable
๐Ÿงต โฌก core A virtual fn pointer table that specifies the behavior of a AsyncRawWaker.
AsyncWaker
๐Ÿงต โฌก core A handle for waking up a task by notifying its executor that itโ€™s ready to run.
Atomicdep_atomic
๐Ÿงต โš›๏ธ atomic A generic atomic wrapper type.
AtomicBool
๐Ÿงต โš›๏ธ ?core A boolean type which can be safely shared between threads.
AtomicF32dep_portable_atomic
๐Ÿงต โš›๏ธ portable-atomic A thread-safe floating-point type.
AtomicF64dep_portable_atomic
๐Ÿงต โš›๏ธ portable-atomic A thread-safe floating-point type.
AtomicI8dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicI16dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicI32dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicI64dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicI128dep_portable_atomic
๐Ÿงต โš›๏ธ portable-atomic A thread-safe signed integer type.
AtomicIsizedep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicPtrdep_portable_atomic
๐Ÿงต โš›๏ธ ?core A raw pointer type which can be safely shared between threads.
AtomicU8dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicU16dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicU32dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicU64dep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AtomicU128dep_portable_atomic
๐Ÿงต โš›๏ธ portable-atomic A thread-safe unsigned integer type.
AtomicUsizedep_portable_atomic
๐Ÿงต โš›๏ธ ?core A thread-safe signed integer type.
AudioDevice
๐Ÿ”Š ๐Ÿ”Œ Borrowed description of an audio endpoint.
AudioDeviceCowalloc
๐Ÿ”Š ๐Ÿ”Œ Owned or borrowed description of an audio endpoint.
BTreeMapalloc
๐Ÿ—ƒ๏ธ โ‰ค alloc An ordered map based on a B-Tree.
BTreeSetalloc
๐Ÿ—ƒ๏ธ โ‰ค โІ alloc An ordered set based on a B-Tree.
Backtracestd
๐Ÿ› std A captured OS thread stack backtrace.
BareBox
โˆ… ๐Ÿซ— A no-op pointer type, like a Box but without affecting how T is stored.
Barrierstd
๐Ÿงต std Enables multiple threads to synchronize the beginning of some computation.
BarrierWaitResultstd
๐Ÿงต โš–๏ธ std Returned by Barrier::wait() when all threads in it have rendezvoused.
Base
๐Ÿฅก A compile-time configurable radix-based encoding scheme.
BinTag4
๐Ÿชช ๐Ÿฅก A fixed four-byte binary tag.
BinaryHeapalloc
๐Ÿ—ƒ๏ธ alloc A priority queue implemented with a binary heap.
BitSpan
โ–ซ๏ธ ๐Ÿ—ƒ๏ธ A contiguous span of bits in an integer carrier.
BitfieldExample_docs_examples and (_docs_examples)
โœจ โ–ซ๏ธ ๐Ÿซ— ๐Ÿ—ƒ๏ธ A compact packet header.
Bitwise
โ…€ ๐Ÿ› ๏ธ Provides constant bitwise operations on T.
Boxalloc
๐Ÿซ— alloc A pointer type that uniquely owns a heap allocation of type T.
Boxedalloc
๐Ÿซ— A zero-sized marker for a Storage type that wraps its data in a Box.
BufferLinearAllocExample_docs_examples and alloc
โœจ ๐Ÿ—ƒ๏ธ An owned linear buffer over a Vec, made with buffer_linear!.
BufferLinearStaticExample_docs_examples
โœจ ๐Ÿ—ƒ๏ธ A static linear buffer over contiguous storage, made with buffer_linear!.
BufferLinearViewExample_docs_examples
โœจ ๐Ÿ—ƒ๏ธ A linear buffer view over contiguous storage, made with buffer_linear!.
BufferRingStaticExample_docs_examples
โœจ ๐Ÿ—ƒ๏ธ A static ring buffer over contiguous storage, made with buffer_ring!.
BumpAllocalloc and unsafe_layout
๐Ÿงบ A simple, single-threaded bump allocator.
ByteCursor
๐Ÿชช ::= A byte-position cursor over storage S.
ByteSearch
๐“ ::= ๐Ÿ› ๏ธ A utility struct for searching bytes in slices.
CStr
๐“ ๐Ÿƒ core Representation of a borrowed C string (See CString).
CStringalloc
๐“ alloc An owned, C-compatible, nul-terminated string with no nul bytes in the middle.
CacheAlign
๐Ÿซ— Aligns and pads a value to the length of a cache line.
CallSemantics
โ†ฆ Structural semantics of a call edge.
Cast
โ…€ โš™๏ธ ๐Ÿ› ๏ธ Provides const casting, joining and splitting operations between primitives.
Cell
๐Ÿซ— core A mutable memory location.
Char
๐“ ๐Ÿ› ๏ธ Unicode scalars-related low-level const operations.
CharIter
๐“ ๐Ÿ”„ An iterator over Unicode scalars.
Cmp
โˆง โ‰ค ๐Ÿ› ๏ธ Provides comparing methods for T.
CodeLocation
โŒ— A precise location in the source code.
CodeSpan
โŒ— A contiguous span between two code locations.
Commandstd
๐Ÿ–ฅ๏ธ โฌก std A builder for configuring and spawning new processes.
CommandArgsstd
๐Ÿ–ฅ๏ธ โฌก std An iterator over the command arguments.
CommandEnvsstd
๐Ÿ–ฅ๏ธ โฌก std An iterator over the command environment variables.
CommandFlowstd
๐Ÿ–ฅ๏ธ โฌก An executable flow of OS process invocations.
Condvarstd
๐Ÿงต std A Condition Variable.
ConstList
๐Ÿ—ƒ๏ธ ๐Ÿƒ An immutable, append-only, linear, functional, non-contiguous, list.
ConstListIter
๐Ÿ”„ ๐Ÿƒ Iterates over the contents of a ConstList.
CoroManageralloc
๐Ÿงต โฌก A managed dynamic collection of single-thread CoroWorker coroutines.
CoroWork
๐Ÿงต โฌก A future that alternates between Ready and Pending status each time itโ€™s polled.
CoroWorker
๐Ÿงต โฌก Represents a single-thread stackless coroutine worker.
Crockford
๐Ÿฅก The Crockford Base32 encoding, case-insensitive, remaps certain characters.
Currentstd and unsafe_layout
๐Ÿ”’ A marker object representing the current instance of a type T.
CurrentGuardstd and unsafe_layout
๐Ÿ”’ A guard that temporarily sets a global current ptr for T, restoring the old one on drop.
Cycle
๐Ÿ“ A repeating cycle defined by a fundamental period.
CycleCount
๐Ÿ“ A cycle that repeats a fixed number of times.
DebugList
๐Ÿ–น ๐Ÿ› core A struct to help with Debug implementations.
DebugMap
๐Ÿ–น ๐Ÿ› core A struct to help with Debug implementations.
DebugSet
๐Ÿ–น ๐Ÿ› core A struct to help with Debug implementations.
DebugStruct
๐Ÿ–น ๐Ÿ› core A struct to help with Debug implementations.
DebugTuple
๐Ÿ–น ๐Ÿ› core A struct to help with Debug implementations.
DebugWith
A Debug adapter for formatting a value with a DebugExt context.
Destaque_destaqueยทยท
๐Ÿ—ƒ๏ธ A static double-ended queue and stack backed by an Array.
DestaqueIter_destaqueยทยท
๐Ÿ”„ An iterator over Destaque elements.
DeviceIdevent
๐ŸŽฎ ๐Ÿซ† A backend-agnostic identifier for an input device.
Digest
๐Ÿ” ๐Ÿ”€ A fixed-size message digest.
Digits
๐“ โ…€ ๐Ÿ› ๏ธ Provides ASCII digit operations and conversions for unsigned integer primitives.
DirBuilderstd
๐Ÿ“ std A builder used to create directories in various manners.
DirEntrystd
๐Ÿ“ std Entries returned by the ReadDir iterator.
Discriminant
๐Ÿซ— core Opaque type representing the discriminant of an enum.
Distance
๐Ÿ“ A separation between two locations in D-dimensional space.
DivisorExample_docs_examples
โœจ โ…€ An example divisor helper generated by divisor!.
DstArrayunsafe_layout
๐Ÿ—ƒ๏ธ A static array for storing DSTs.
DstQueueunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated FIFO queue of DSTs.
DstQueueIterunsafe_layout
๐Ÿ”„ An iterator over the elements of a DstQueue.
DstQueueIterMutunsafe_layout
๐Ÿ”„ A mutable iterator over the elements of a DstQueue.
DstQueuePopGuardunsafe_layout
๐Ÿ”’ Guard returned by DstQueue::pop
DstStackunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated LIFO stack of DSTs.
DstStackIterunsafe_layout
๐Ÿ”„ An iterator over the elements of a DstStack.
DstStackIterMutunsafe_layout
๐Ÿ”„ A mutable iterator over the elements of a DstStack.
DstValueunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated DST value.
Duration
๐Ÿ•˜ core A span of time, with u64 seconds and u32 nanoseconds.
DurationErrorTryFromFloatSecs
๐Ÿ•˜ ๐Ÿšฉ core Error returned from converting floating-point seconds into a Duration.
ElementNotFound
๐Ÿชช ๐Ÿšฉ The requested element has not been found.
EnumSetExampledoc or test
โœจ โŒ— โІ An example set of enum variants, generated with enumset!.
Env
๐Ÿ› ๏ธ A namespaced wrapper for std::env functions and constants.
Eventevent
๐ŸŽซ A fully-typed event with optional timing and metadata.
EventButtonsevent
๐ŸŽซ ๐ŸŽฎ โІ A semantic bitmask of currently held pressable buttons.
EventKeyevent
๐ŸŽซ ๐ŸŽฎ Represents a keyboard event.
EventKeyFfiffiยทยท
๐ŸŽซ ๐ŸŽฎ ๐Ÿ›ก๏ธ An FFI-safe version of EventKey.
EventMouseevent
๐ŸŽซ ๐ŸŽฎ Represents a basic mouse event.
EventPointerevent
๐ŸŽซ ๐ŸŽฎ Represents a pointer event (mouse, touch, or pen).
EventQueueevent
๐ŸŽซ ๐Ÿ—ƒ๏ธ A tiny, zero-alloc FIFO queue for Event.
EventTagSetevent
๐ŸŽซ ๐Ÿ—ƒ๏ธ A compact set of EventTags.
EventTimestampevent
๐ŸŽซ ๐Ÿ•˜ The time at which the event occurs, stored as single-precision milliseconds.
EventWheelevent
๐ŸŽซ ๐ŸŽฎ Represents a normalized wheel-scroll event.
ExitCodestd
๐Ÿ–ฅ๏ธ โฌก โš–๏ธ std The status code the process returns to its parent on normal termination.
ExitStatusstd
๐Ÿ–ฅ๏ธ โฌก โš–๏ธ std Describes the result of a process after it has terminated.
ExitStatusErrorstd
๐Ÿ–ฅ๏ธ โฌก ๐Ÿšฉ Indicates that a process terminated unsuccessfully.
Extent
๐Ÿ“ An orthogonal extension in D-space without a coordinate position.
FailedErrorConversion
๐Ÿ’ฑ ๐Ÿšฉ A failed conversion between two error types.
False
โŒ— โˆง A type-level logical false.
FatPtrunsafe_layout
๐Ÿซ— Represents a fat pointer with separate data and metadata pointers.
FdBorrowedstd
๐Ÿ“ ๐Ÿƒ std A borrowed file descriptor.
FdOwnedstd
๐Ÿ“ ๐Ÿ”’ std An owned file descriptor.
Filestd
๐Ÿ“ std An object providing access to an open file on the filesystem.
FileMetadatastd
๐Ÿ“ std Metadata information about a file.
FileOpenOptionsstd
๐Ÿ“ std Options and flags which can be used to configure how a file is opened.
FilePermissionsstd
๐Ÿ“ std Representation of the various permissions on a file.
FileTimesstd
๐Ÿ“ std Representation of the various timestamps on a file.
FileTypestd
๐Ÿ“ std Represents a type of file with accessors for each file type.
Float
โ…€ ๐Ÿ› ๏ธ ยฑstd Provides comprehensive floating-point operations for T, most of them const.
Fmt
๐“ ๐Ÿ› ๏ธ A string formatting namespace.
FmtArguments
๐Ÿ–น core Represents a safely precompiled version of a format string and its arguments.
FmtError
๐Ÿ–น ๐Ÿšฉ core The error type which is returned from formatting a message into a stream.
FmtFromFn
๐Ÿ–น core Implements Debug and Display via the provided closure.
FmtNum
๐Ÿ–น โ…€ Const number formatter.
FmtNumConf
๐Ÿ–น โ…€ Configuration for numeric formatting.
FmtNumGroup
๐Ÿ–น โ…€ Numeric digit grouping configuration.
FmtNumShape
๐Ÿ–น โ…€ Describes the structural shape of a formatted number.
FmtWriter
๐Ÿ–น A specialized formatter with a fixed byte buffer and truncation detection.
FontArtfont
๐Ÿ…ต A simple Unicode-Art font for rendering fixed-size glyphs.
FontBitmapfont
๐Ÿ…ต A fixed-size bitmap font packed into glyph words.
Formatter
๐Ÿ–น core Configuration for formatting.
Fracint
โ…€ ๐Ÿ› ๏ธ Provides comprehensive fractional operations on T, most of them const.
FromUtf8Erroralloc
๐“ ๐Ÿšฉ alloc A possible error value when converting a String from a UTF-8 byte vector.
Fsstd
๐Ÿ“ ๐Ÿ› ๏ธ Filesystem-related operations.
FsPathstd
๐Ÿ“ ๐Ÿ› ๏ธ A more featureful wrapper over PathBuf.
FuturePending
๐Ÿงต โฌก core A future which never resolves, representing a never finishing computation.
FuturePollFn
๐Ÿงต โฌก core A Future that wraps a function returning AsyncPoll.
FutureReady
๐Ÿงต โฌก core A future that is immediately ready with a value.
GameAction
๐Ÿ€„ A declared move or operation recognized by the rules of play.
GameCycle
๐Ÿ€„ A repeated structural grouping of turns, phases, or recurrent play segments.
GameLegacy
๐Ÿ€„ Persistent continuity that carries across multiple sessions of play.
GameOutcome
๐Ÿ€„ โš–๏ธ A resolved result recognized by the rules of play.
GamePhase
๐Ÿ€„ A named subdivision within a turn or cycle of play.
GameRole
๐Ÿ€„ A rule-bearing identity or seat in play.
GameSession
๐Ÿ€„ A bounded instance of enacted play.
GameTurn
๐Ÿ€„ A bounded opportunity for one role or control locus to act.
Gammacolor
๐ŸŽจ Gamma correction curves.
GcdReturn
โ…€ โš–๏ธ A return type for the calculated GCD and the Bรฉzout coeficients.
GraphemeMachinegrapheme
๐“ Streaming EGC boundary detector. Streaming grapheme cluster boundary detector.
GraphemeNonulgrapheme
๐“ An EGC backed by a StringNonul.
GraphemePropsgrapheme
๐“ Combined EGC break properties for a single code point.
GraphemeScannergrapheme
๐“ ๐Ÿ”„ Scans text and detects grapheme cluster boundaries during iteration.
GraphemeStringalloc and grapheme
๐“ An EGC backed by a String.
GraphemeU8grapheme
๐“ An EGC backed by a StringU8.
HandleSpanExample_docs_examples
โœจ ๐Ÿซ† An example handle generated by handle!.
HashMapdep_hashbrown or std
๐Ÿ—ƒ๏ธ ๐Ÿ”€ โ‰กstd An unordered hash map with quadratic probing and SIMD lookup.
HashSetdep_hashbrown or std
๐Ÿ—ƒ๏ธ ๐Ÿ”€ โІ โ‰กstd An unordered hash set implemented as a HashMap where the value is ()
HasherBuildDefault
๐Ÿ”€ core Create a default HasherBuild instance for T:Hasher+Default types.
HasherFnvhash
๐Ÿ”€ A Fowlerโ€“Nollโ€“Vo hasher, implemented for u32, u64, u128 & usize.
HasherFx
๐Ÿ”€ A hashing algorithm used in the Rustc compiler, implemented for u32, u64 & usize.
HasherPengyhash
๐Ÿ”€ A fast 64-bit non-cryptographic hash algorithm.
Httphttp
๐Ÿ“ก โ‡„ HTTP protocol operations.
HttpRequestLinehttp
๐Ÿ“ก โ‡„ ::= ๐Ÿƒ Borrowed HTTP request line.
HttpResponseHeadhttp
๐Ÿ“ก โ‡„ HTTP response head.
HttpStatushttp
๐Ÿ“ก โ‡„ HTTP response status code.
IdPin
๐Ÿซ† ๐Ÿงบ A unique identifier based on a pinned stack-allocated reference.
IdPinBoxalloc
๐Ÿซ† ๐Ÿงบ A unique identifier based on a pinned heap-allocated memory address.
IdRegistry
๐Ÿซ† Maps backend/native identifiers into stable, compact internal IDs.
IdSeqUsizeExampledoc or test
โœจ ๐Ÿซ† ๐Ÿ—๏ธ A unique sequential identifier usize generator.
IncompatibleBounds
โ…€ ๐Ÿšฉ The given bounds are incompatible. E.g. lower bound exceeds upper bound.
IndexOutOfBounds
๐Ÿชช ๐Ÿšฉ The given index is out of bounds.
Intint
โ…€ ๐Ÿ› ๏ธ Provides comprehensive integer operations on T, all of them const.
Interval
๐Ÿ“ A range of values with lower and upper Bounds.
InvalidAxisLength
๐Ÿชช ๐Ÿšฉ The given axis has an invalid length.
InvalidChar
๐“ ๐Ÿšฉ An invalid given character was found.
InvalidUtf8
๐Ÿงถ ๐Ÿšฉ Invalid UTF-8 found while interpreting a byte sequence.
InvalidValue
๐Ÿ’ฑ ๐Ÿšฉ An invalid value was received for the given type or operation.
Iostd, or io and non-std
๐Ÿ”Œ ๐Ÿ› ๏ธ I/O-related operations.
IoBufReader
๐Ÿ”Œ ?std Adds buffering to any reader.
IoBufWriter
๐Ÿ”Œ ?std Wraps a writer and buffers its output.
IoBytes
๐Ÿ”Œ ?std An iterator over u8 values of a reader.
IoChain
๐Ÿ”Œ ?std Adapter to chain together two readers.
IoCursor
๐Ÿ”Œ ?std Wraps an in-memory buffer and provides it with an IoSeek implementation.
IoEmpty
๐Ÿ”Œ ?std Ignores any data written via IoWrite, and read via IoRead.
IoError
๐Ÿ”Œ ๐Ÿšฉ+ ?std Error type for IoRead, IoWrite, IoSeek operations.
IoIntoInnerErrorstd
๐Ÿ”Œ ๐Ÿšฉ std An error returned by IoBufWriter::into_inner
IoLineWriter
๐Ÿ”Œ ?std Like BufWriter, but flushing whenever a newline (0x0a, ' ') is detected.
IoLinesstd
๐Ÿ”Œ std An iterator over the lines of an instance of IoBufRead.
IoPipeReaderstd
๐Ÿ”Œ std Read end of an anonymous pipe.
IoPipeWriterstd
๐Ÿ”Œ std Write end of an anonymous pipe.
IoRepeat
๐Ÿ”Œ ?std A reader which yields one byte over and over and over and over and over andโ€ฆ
IoSinkstd
๐Ÿ”Œ std A writer which will move data into the void.
IoSlicestd
๐Ÿ”Œ std A buffer type used with IoWrite::write_vectored.
IoSliceMutstd
๐Ÿ”Œ std A buffer type used with IoRead::read_vectored.
IoSplitstd
๐Ÿ”Œ std An iterator over the contents of an instance of BufRead split on a particular byte.
IoTake
๐Ÿ”Œ ?std Reader adapter which limits the bytes read from an underlying reader.
Ipv4Addr
๐Ÿ“ก core An IPv4 address.
Ipv6Addr
๐Ÿ“ก core An IPv6 address.
Iter
๐Ÿ”„ ๐Ÿ› ๏ธ Iterator-related namespaced operations.
IterArgsOsRefstd and unsafe_ffi
๐Ÿ”„ ๐Ÿƒ โš ๏ธ Iterator over references of command line arguments.
IterDirReadstd
๐Ÿ“ ๐Ÿ”„ std Iterator over the entries in a directory.
JoinPathsErrorstd
๐Ÿšฉ ๐Ÿ–ฅ๏ธ std Returned from Env::join_paths.
Jsjs
โฌก ๐Ÿ› ๏ธ Javascript-related operations.
JsConsolejs and unsafe_ffi
โฌก ๐Ÿ› ๏ธ Javascript Console.
JsInstantjs
โฌก ๐Ÿ•˜ A high-resolution timestamp based on JavaScriptโ€™s performance.now().
JsTextRenderMetricsjs
โฌก ๐“ ๐Ÿงฑ Text Metrics.
JsTextRenderMetricsFulljs
โฌก ๐“ ๐Ÿงฑ Full Text Metrics.
JsTimeoutjs
โฌก ๐Ÿ•˜ ๐Ÿซ† A handle to a JavaScript timeout.
KeyAlreadyExists
๐Ÿชช ๐Ÿšฉ The key already exists.
KeyModsevent
๐ŸŽฎ โІ A bitfield of key modifiers (Shift, Controlโ€ฆ) + extra (repeating, composing).
LINUX_ERRNOlinux
๐Ÿง ๐Ÿšฉ+ Linux sys/errno.h constants.
LINUX_EXITlinux
๐Ÿง โš–๏ธ Standard exit codes for Linux processes
LINUX_FILENOlinux
๐Ÿง ๐Ÿ“ Linux Standard file descriptor numbers.
LINUX_F_CMDlinux
๐Ÿง ๐Ÿ“ Linux File descriptor commands (for fcntl).
LINUX_IOCTLlinux
๐Ÿง ๐Ÿ“ Linux ioctl constants.
LINUX_O_FLAGSlinux
๐Ÿง ๐Ÿ“ Linux file creation and status flags.
LINUX_SEEKlinux
๐Ÿง ๐Ÿ“ Linux Seek commands (for lseek).
LINUX_S_IFMTlinux
๐Ÿง ๐Ÿ“ Linux File mode and permission bits.
Lane4_i32Example_docs_examples
โœจ โŒ— โ…€ Example fixed-width pack of 4 ร— i32 lanes.
LazyCell
๐Ÿซ— ๐ŸŒฑ core A value which is initialized on the first access.
LazyLockstd
๐Ÿงต ๐ŸŒฑ std A value which is initialized on the first access.
Lcg16rand
๐ŸŽฒ A 16-bit LCG PRNG.
Libcunsafe_ffi
๐Ÿ–ฅ๏ธ ๐Ÿ› ๏ธ Raw C/POSIX system interfaces exposed through the platformโ€™s libc.
LinkedListalloc
๐Ÿ—ƒ๏ธ alloc A doubly-linked list with owned nodes.
Linuxlinux
๐Ÿง ๐Ÿ› ๏ธ Linux-related operations.
LinuxInstantlinux
๐Ÿง ๐Ÿ•˜ A fast monotonic Linux time source.
LinuxMmapAllocLinux and alloc and unsafe_layout and (std or unsafe_ffi)
๐Ÿง ๐Ÿงบ A Linux global memory allocator backed directly by anonymous mmap.
LinuxSigactionlinux
๐Ÿง ๐Ÿ“ถ ๐Ÿ”ป Examine and change a signal action.
LinuxSigactionFlagslinux
๐Ÿง ๐Ÿ“ถ โІ Input flags for LinuxSigaction.
LinuxSiginfolinux
๐Ÿง ๐Ÿ“ถ ๐Ÿ”ป Additional information about a signal.
LinuxSignalSetlinux
๐Ÿง ๐Ÿ“ถ โІ A compact semantic set of standard Linux signals.
LinuxSigsetlinux
๐Ÿง ๐Ÿ“ถ โІ ๐Ÿ”ป A raw Linux kernel signal mask.
LinuxSparseSet_linux_abi and unsafe_ffi
๐Ÿ—ƒ๏ธ ๐Ÿ–ฅ๏ธ โІ A Linux mmap-backed sparse set with lazily zeroed storage.
LinuxStatlinux
๐Ÿง ๐Ÿ“ ๐Ÿ”ป File status structure matching libcโ€™s stat (man 2 stat)
LinuxTermioslinux
๐Ÿง ๐Ÿฎ– ๐Ÿ”ป Represents the termios structure from libc, used to control terminal I/O.
LinuxTermiosCclinux
๐Ÿง ๐Ÿฎ– A symbolic index into LinuxTermios::c_cc.
LinuxTermiosControlFlagslinux
๐Ÿง ๐Ÿฎ– โІ LinuxTermios control flags.
LinuxTermiosInputFlagslinux
๐Ÿง ๐Ÿฎ– โІ LinuxTermios input flags.
LinuxTermiosLocalFlagslinux
๐Ÿง ๐Ÿฎ– โІ LinuxTermios local flags.
LinuxTermiosOutputFlagslinux
๐Ÿง ๐Ÿฎ– โІ LinuxTermios output flags.
LinuxTimelinux
๐Ÿง ๐Ÿ•˜ A configurable family of Linux clocks.
LinuxTimespeclinux
๐Ÿง ๐Ÿ•˜ ๐Ÿ”ป Represents the timespec structure from libc. Time in seconds and nanoseconds.
LoggerStatic
๐Ÿชต Fixed-capacity static logger with owned byte buffers.
Lumcolor
๐ŸŽจ A generic luminance-like component.
ManuallyDrop
๐Ÿซ— core A wrapper to inhibit compiler from automatically calling Tโ€™s destructor.
MapStaticConstU8Example
โœจ ๐Ÿ—ƒ๏ธ A fully const static hashmap with compile-time u8 keys.
MapStaticTypeIdExample
โœจ ๐Ÿ—ƒ๏ธ A TypeId-keyed static hashmap.
MapStaticU16Example
โœจ ๐Ÿ—ƒ๏ธ A runtime static hashmap with stored empty and tomb markers.
Matrixlin
โŠ• A static Rร—C shaped matrix backed by an array.
MaybeNiche
๐Ÿคท โš—๏ธ A zero-cost wrapper that abstracts over niche and non-niche types.
Md5_docs_examples
โœจ ๐Ÿ” ๐Ÿ”€ Incremental Md5 state.
Mem
๐Ÿซ— ๐Ÿ› ๏ธ Memory-related operations.
MemHedgeCtrl
๐Ÿซ— ๐Ÿงต โš›๏ธ Shared control plane for one hedged read request at a time.
MemHedgeRead
๐Ÿซ— ๐Ÿงต ๐Ÿƒ โฌก Binds a hedge-control cell to a replicated logical slice view.
MemLayoutalloc
๐Ÿงบ alloc Layout of a block of memory.
MemLayoutErroralloc
๐Ÿงบ ๐Ÿšฉ alloc The MemLayout parameters violated constraints.
MemReplicaSlice
๐Ÿซ— ๐Ÿƒ Mutable replicated view over a backing slice.
Mismatch
โš–๏ธ Represents a mismatch between an expected need and an encountered have.
MismatchedCapacity
๐Ÿชช ๐Ÿšฉ The operation did not satisfy a finite capacity constraint.
MismatchedDimensions
๐Ÿชช ๐Ÿšฉ The dimensions given did not match the elements provided.
MismatchedIndices
๐Ÿชช ๐Ÿšฉ The given indices does not match the expected order.
MismatchedSizes
โ…€ ๐Ÿšฉ The provided values are not compatible in size.
Mpsc
๐Ÿงต ๐Ÿ› ๏ธ Multi-producer, single-consumer channel operations.
MpscIntoIterstd
๐Ÿงต ๐Ÿ”„ std An owning iterator over messages on an MpscReceiver.
MpscIterstd
๐Ÿงต ๐Ÿ”„ std An iterator over messages on an MpscReceiver
MpscReceiveErrorstd
๐Ÿงต ๐Ÿšฉ std An error returned from MpscReceiver::recv.
MpscReceiverstd
๐Ÿงต std The receiving half of an Mpsc channel or sync_channel.
MpscSendErrorstd
๐Ÿงต ๐Ÿšฉ std An error returned from MpscSender::send or MpscSyncSender::send.
MpscSenderstd
๐Ÿงต std The sending half of an async Mpsc channel.
MpscSyncSenderstd
๐Ÿงต std The sending half of a sync Mpsc channel.
MpscTryIterstd
๐Ÿงต ๐Ÿ”„ std Attempts to yield all pending values for an MpscReceiver.
Mutexstd
๐Ÿงต std A mutual exclusion primitive useful for protecting shared data.
MutexGuardstd
๐Ÿงต ๐Ÿ”’ std An RAII implementation of a โ€œscoped lockโ€ of a mutex.
NoInverse
โ…€ ๐Ÿšฉ An inverse doesnโ€™t exist.
NodeEmpty
๐Ÿชช โ‰ค ๐Ÿšฉ The node is empty.
NodeLinkNotSet
๐Ÿชช ๐Ÿšฉ The node link is not set.
NodeLinkNotUnique
๐Ÿชช ๐Ÿšฉ The node link is not unique.
NonNegativeRequired
โ…€ ๐Ÿšฉ A non-negative value is required.
NonNiche
โˆ… โš—๏ธ A zero-cost wrapper that mimics a niche type without using a niche.
NonValueI8
โ…€ โš—๏ธ A signed integer that is known not to equal some specific value.
NonValueI16
โ…€ โš—๏ธ A signed integer that is known not to equal some specific value.
NonValueI32
โ…€ โš—๏ธ A signed integer that is known not to equal some specific value.
NonValueI64
โ…€ โš—๏ธ A signed integer that is known not to equal some specific value.
NonValueI128
โ…€ โš—๏ธ A signed integer that is known not to equal some specific value.
NonValueIsize
โ…€ โš—๏ธ A signed integer that is known not to equal some specific value.
NonValueU8
โ…€ โš—๏ธ An unsigned integer that is known not to equal some specific value.
NonValueU16
โ…€ โš—๏ธ An unsigned integer that is known not to equal some specific value.
NonValueU32
โ…€ โš—๏ธ An unsigned integer that is known not to equal some specific value.
NonValueU64
โ…€ โš—๏ธ An unsigned integer that is known not to equal some specific value.
NonValueU128
โ…€ โš—๏ธ An unsigned integer that is known not to equal some specific value.
NonValueUsize
โ…€ โš—๏ธ An unsigned integer that is known not to equal some specific value.
NonZero
โ…€ โš—๏ธ core A value that is known not to equal zero.
NonZeroRequired
โ…€ ๐Ÿšฉ A non-zero value is required.
NotEnoughElements
๐Ÿชช ๐Ÿšฉ There are not enough elements for the operation.
NotEnoughSpace
๐Ÿชช ๐Ÿšฉ There is not enough free space for the operation.
NotImplemented
โˆ… ๐Ÿšฉ The requested functionality is not implemented.
NotSupported
โˆ… ๐Ÿšฉ The requested functionality is not supported by this type.
Oncestd
๐Ÿงต std A synchronization primitive for one-time global initialization.
OnceCell
๐Ÿซ— ๐ŸŒฑ core A cell which can nominally be written to only once.
OnceLockstd
๐Ÿงต std A synchronization primitive which can be written to only once.
OnceStatestd
๐Ÿงต std State yielded to Once::call_once_force()โ€™s closure parameter.
OptionFmt
๐Ÿ–น The type returned from OptionExt::fmt_or_empty.
OptionFmtOr
๐Ÿ–น The type returned from OptionExt::fmt_or.
OptionFmtOrElse
๐Ÿ–น The type returned from OptionExt::fmt_or_else.
Order
โ…€ ๐Ÿงฑ ๐Ÿ› ๏ธ Unified namespace for multi-dimensional ordering schemes.
Orientation
๐Ÿ“ ๐Ÿงญ A unitless directional vector in D-dimensional space.
OsStrstd
๐“ ๐Ÿƒ ๐Ÿ–ฅ๏ธ std Borrowed reference to an OS string (See OsString).
OsStringstd
๐“ ๐Ÿ–ฅ๏ธ std A type for owned, mutable native strings, interconvertible with Rust strings.
Otp
๐Ÿ” ๐Ÿ”€ A generated one-time password code.
Outputstd
๐Ÿ–ฅ๏ธ โฌก std The output of a finished process.
Overflow
โ…€ ๐Ÿšฉ An arithmetic overflow error, with an optional associated sign.
Own
โš–๏ธ A return type encapsulating an owned state S and a value V.
Panicstd
๐Ÿ› ๏ธ Panic-related operations.
PanicAssertUnwindSafe
โŒ— ๐Ÿ’ฏ core A simple wrapper around a type to assert that it is unwind safe.
PanicHookInfostd
โŒ— std Passed to std::panic::set_hook where panics can have arbitrary payloads.
PanicInfo
โŒ— core Passed to #[panic_handler] in no_std, carries a formatted message.
PanicLocation
โŒ— core A struct containing information about the location of a panic.
ParseFloatError
๐“ ::= โ…€ ๐Ÿšฉ core An error which can be returned when parsing an float.
ParseIntError
๐“ ::= โ…€ ๐Ÿšฉ core An error which can be returned when parsing an integer.
PartiallyAdded
๐Ÿชช ๐Ÿšฉ The operation could only add a subset of the elements.
Pathstd
๐Ÿ“ ๐Ÿƒ std A slice of a path (akin to str).
PathBufstd
๐Ÿ“ std An owned, mutable path (akin to String).
PathStripPrefixErrorstd
๐Ÿ“ ๐Ÿšฉ std An error returned from Path::strip_prefix if the prefix was not found.
PathWindowsPrefixComponentstd
๐Ÿ“ ๐ŸชŸ std Wraps a Windows path prefix as well as its unparsed string representation.
Pcg32
๐ŸŽฒ A 32-bit PCG PRNG.
PcmBufaudio
๐Ÿ”Š ๐Ÿชช Typed PCM sample buffer over caller-chosen storage.
PcmRawaudio
๐Ÿ”Š ๐Ÿฅก Headerless raw PCM operations.
PcmRawBufaudio
๐Ÿ”Š ๐Ÿชช Raw PCM byte buffer over borrowed or owned storage.
PcmSpecaudio
๐Ÿ”Š Essential metadata describing a PCM audio stream.
PcmWavaudio
๐Ÿ”Š ๐Ÿฅก RIFF/WAVE operations for PCM-family audio.
PcmWavBufaudio
๐Ÿ”Š ๐Ÿชช Parsed WAVE byte buffer over borrowed or owned storage.
PcmWavFmtaudio
๐Ÿ”Š ::= Parsed WAVE fmt chunk.
PhantomData
โŒ— core Zero-sized type used to mark things that โ€œact likeโ€ they own a T.
PhantomPinned
โŒ— core A marker type which does not implement Unpin.
Pin
๐Ÿƒ ๐Ÿซ— ๐Ÿ”’ core A pointer which pins its pointee in place.
Pinnedunsafe_ptr
๐Ÿซ— ๐Ÿƒ A wrapper for structurally pinned data.
Pnm
๐Ÿ–ผ๏ธ ๐Ÿ› ๏ธ A collection of methods for encoding and decoding PNM bitmap formats.
Point
๐Ÿ“ A coordinate position in D-space without extent.
Points
๐Ÿ“ A static sequence of N D-dimensional Points.
PoisonErrorstd
๐Ÿงต ๐Ÿšฉ std A type of error which can be returned whenever a lock is acquired.
Position
๐Ÿ“ A location in D-dimensional space.
PositiveRequired
โ…€ ๐Ÿšฉ A positive value is required.
Processstd
๐Ÿงต std Representation of a running or exited child process.
ProcessStderrstd
๐Ÿ”Œ std A handle to a child processโ€™s stderr.
ProcessStdinstd
๐Ÿ”Œ std A handle to a child processโ€™s standard input (stdin).
ProcessStdoutstd
๐Ÿ”Œ std A handle to a child processโ€™s standard output (stdout).
Ptr
๐Ÿซ— ๐Ÿ› ๏ธ Pointer-related operations.
PtrNonNull
๐Ÿซ— โš—๏ธ core *mut T but non-zero and covariant.
RandFakerand
๐ŸŽฒ ๐ŸŽญ A test-friendly random source backed by a fixed sequence.
RandQualities
๐ŸŽฒ โІ Semantic qualities of a random source.
RandomStatestd
๐Ÿ”€ std The default state for HashMapStd.
Range
๐Ÿ“ core A range value bounded inclusively below and exclusively above (start..end).
RangeFrom
๐Ÿ“ core A range value bounded inclusively below (start..).
RangeFull
๐Ÿ“ core An unbounded range (..).
RangeInclusive
๐Ÿ“ core A range value bounded inclusively below and above (start..=end).
RangeTo
๐Ÿ“ core A range bounded exclusively above (..end).
RangeToInclusive
๐Ÿ“ core A range value bounded inclusively above (..=end).
RasterBytesMut
๐Ÿ–ผ๏ธ ๐Ÿƒ Borrowed mutable byte raster view with explicit row layout.
RasterBytesRef
๐Ÿ–ผ๏ธ ๐Ÿƒ Borrowed byte raster view with explicit row layout.
RasterFormat
๐Ÿ–ผ๏ธ ๐Ÿงฑ Sample layout and color meaning of raster memory.
RasterLayout
๐Ÿ–ผ๏ธ ๐Ÿงฑ Describes the extent and memory stepping of raster storage.
RasterMut
๐Ÿ–ผ๏ธ ๐Ÿƒ Borrowed mutable dense raster view over typed samples.
RasterRef
๐Ÿ–ผ๏ธ ๐Ÿƒ Borrowed dense raster view over typed samples.
Ratio
๐Ÿ“ A generic ratio representing a proportional relationship between two values.
Rcalloc
๐Ÿซ— ๐Ÿƒ alloc A single-threaded reference-counting pointer.
RcWeakalloc
๐Ÿซ— ๐Ÿƒ alloc A version of Rc that holds a non-owning ref to the managed allocation.
Ref
๐Ÿƒ core A wrapper type for an inmutably borrowed value from a RefCell<T>
RefCell
๐Ÿซ— ๐Ÿƒ core A mutable memory location with dynamically checked borrow rules.
RefCellBorrowError
๐Ÿƒ ๐Ÿšฉ core An error returned by RefCell::try_borrow.
RefCellBorrowMutError
๐Ÿƒ ๐Ÿšฉ core An error returned by RefCell::try_borrow_mut.
RefMut
๐Ÿƒ core A wrapper type for a mutably borrowed value from a RefCell<T>
Region
๐Ÿ“ A Positioned Extent.
RegionStrided
๐Ÿ“ A Strided Region defining structured traversal.
Reverse
โ…€ โ‰ค core A helper struct for reverse ordering.
Rfc4648
๐Ÿฅก The RFC 4648 standard encoding, used in Base16, Base32, and Base64.
Rfc4648Hex
๐Ÿฅก The RFC 4648 hexadecimal-variant encoding, used in Base32.
Rgbcolor
๐ŸŽจ RGB color with 3 channels.
Rgbacolor
๐ŸŽจ RGB+A color with 4 channels.
Riff
๐Ÿชช ๐Ÿฅก RIFF tagged binary container operations.
RiffChunk
๐Ÿชช ๐Ÿฅก A borrowed RIFF chunk.
RiffChunkIter
๐Ÿชช ๐Ÿฅก ๐Ÿ”„ An iterator over borrowed RIFF chunks.
RunCap
โฌก The capabilities supported by a Runtime.
RunCapAudio
โฌก ๐Ÿ”Š Runtime audio capabilities.
RunCapColor
โฌก ๐ŸŽจ Runtime color capabilities.
RunCapImage
โฌก ๐Ÿ–ผ๏ธ Runtime image capabilities.
RunCapInput
โฌก ๐ŸŽฎ โІ Runtime input capabilities.
RunCapSystem
โฌก โІ Runtime system capabilities.
RunCapText
โฌก ๐“ โІ Runtime text capabilities.
RunCapWindow
โฌก Runtime window capabilities.
RunCycle
โฌก Manages run phases and guards phase transitions.
RunDriver
โฌก Orchestrates stepwise runtime progression over a backend and an app.
RunFrame
โฌก ๐Ÿ•˜ A per-frame snapshot passed to rendering or other backend-facing work.
RunPacer
โฌก ๐Ÿ•˜ Controls presentation cadence independently of simulation.
RunStep
โฌก ๐Ÿ•˜ A per-step snapshot passed to app logic.
RunSystemInfoalloc
โฌก Runtime system identity metadata.
Runtime
โฌก A handle to the live execution context of a running system.
RuntimeTick
โฌก ๐Ÿ•˜ A deterministic logical execution-time counter.
RwLockstd
๐Ÿงต std A reader-writer lock
RwLockReadGuardstd
๐Ÿงต std RAII structure used to release the shared read access of a lock when dropped.
RwLockWriteGuardstd
๐Ÿงต std RAII structure used to release the exclusive write access of a lock when dropped.
Saturating
โ…€ core Provides intentionally-saturating arithmetic on T.
ScopeGuard
๐Ÿ”’ A general-purpose RAII guard that executes a callback on drop.
Sha1_docs_examples
โœจ ๐Ÿ” ๐Ÿ”€ Incremental SHA-1 state.
Sha256_docs_examples
โœจ ๐Ÿ” ๐Ÿ”€ Incremental SHA-256 state.
Sha512_docs_examples
โœจ ๐Ÿ” ๐Ÿ”€ Incremental SHA-512 state.
ShellLexshell
๐•ƒ ::= Splits shell-like input into command words.
ShellQuoteshell
๐•ƒ ๐“ Quotes shell words for command strings.
SixelCharterm
๐Ÿ–ผ๏ธ ๐Ÿฎ– A sixel character.
SixelColorterm
๐ŸŽจ ๐Ÿฎ– Sixel color representation.
SixelEncoderterm
๐Ÿ–ผ๏ธ ๐Ÿฎ– Encoder for Sixel graphics with fixed buffer output
SixelPaletteterm
๐ŸŽจ ๐Ÿฎ– Palette of Sixel colors with fixed capacity.
SixelPaletteIterterm
๐ŸŽจ ๐Ÿ”„ ๐Ÿฎ– An iterator over SixelPalette colors.
Slice
๐Ÿƒ ๐Ÿ› ๏ธ Slice-related operations, most of them const.
SliceIter
๐Ÿ”„ ๐Ÿƒ A lending iterator over a shared slice.
SliceIterMut
๐Ÿ”„ ๐Ÿƒ A lending iterator over an exclusive slice.
SocketAddrV4
๐Ÿ“ก core An IPv4 socket address.
SocketAddrV6
๐Ÿ“ก core An IPv6 socket address.
Sort
๐Ÿ› ๏ธ โ…€ Provides sorting methods for arrays and slices of T.
SparseSetArray
๐Ÿ—ƒ๏ธ โІ A sparse integer set with constant-time insertion, removal, lookup and clearing.
SpinLockunsafe_sync
๐Ÿงต A spinlock providing mutual exclusion without blocking.
SpinLockGuardunsafe_sync
A guard that grants exclusive access to a SpinLock value.
SplitMix64
๐ŸŽฒ SplitMix64 pseudo-random number generator.
Stack_stackยทยท
๐Ÿ—ƒ๏ธ A static stack backed by an Array.
StackIter_stackยทยท
๐Ÿ”„ An iterator over Stack elements.
StdRandstd
๐ŸŽฒ Standard-library hash-random source.
StdSystemTimeErrorstd
๐Ÿ•˜ ๐Ÿšฉ std Error returned from SystemTime duration_since and elapsed.
Stderrstd
๐Ÿ”Œ std A handle to the standard error stream of a process.
Stdinstd
๐Ÿ”Œ std A handle to the standard input stream of a process.
Stdiostd
๐Ÿ–ฅ๏ธ โฌก ๐Ÿ”Œ std Specifies how to handle standard I/O streams in Command.
Stdoutstd
๐Ÿ”Œ std A handle to the global standard output stream of the current process.
Str
๐Ÿงถ ๐Ÿ› ๏ธ A string slice namespace.
StrBuf
๐Ÿงถ A borrowed UTF-8 string buffer over caller-provided bytes.
Stride
๐Ÿ“ A step size for traversing dimensions or repetitions.
StridedIter
๐Ÿ”„ Iterates over a slice using an affine index progression.
StridedIterMut
๐Ÿ”„ Iterates mutably over a slice using an affine index progression.
Stringalloc
๐“ alloc A UTF-8โ€“encoded, growable string.
StringNonul
๐Ÿงถ A null-terminated UTF-8 string with up to u8::MAX bytes capacity.
StringSmallAllocalloc
๐Ÿงถ A UTF-8 string with inline storage and heap spillover.
StringU8
๐Ÿงถ A UTF-8 string with fixed capacity that stores length explicitly.
SystemAllocstd
๐Ÿงบ std The default memory allocator provided by the operating system.
SystemInstantstd
๐Ÿ•˜ std A measurement of a monotonically nondecreasing clock.
SystemTimestd
๐Ÿ•˜ std A measurement of the system clock.
SystemTimeErrorstd
๐Ÿ•˜ ๐Ÿšฉ Returned from duration_since and elapsed on SystemTime.
TcpListenerstd
๐Ÿ“ก std A TCP socket server, listening for connections.
TcpStreamstd
๐Ÿ“ก std A TCP stream between a local and a remote socket.
TermCapsterm
๐Ÿฎ– โฌก โІ โ–ซ๏ธ Terminal capability bits.
TermColorterm
๐Ÿฎ– ๐ŸŽจ โ–ซ๏ธ A packed terminal color and its composition mode.
TermColorsterm
๐Ÿฎ– ๐ŸŽจ Packed foreground and background terminal colors.
TermGridterm
๐Ÿฎ– ๐Ÿ—ƒ๏ธ A dense row-major grid of terminal-space elements.
TermInputParserevent and term
๐Ÿฎ– ๐ŸŽซ ::= Parses terminal input bytes into normalized events.
TermLinuxevent and linux and term
๐Ÿฎ– ๐Ÿง Linux terminal frontend.
TermModeterm
๐Ÿฎ– โฌก โІ Terminal session mode request.
TermPenterm
๐Ÿฎ– ๐“ ๐ŸŽจ Reusable terminal style and colors for constructing elements.
TermRendererterm
๐Ÿฎ– โฌก Terminal renderer over caller-provided byte-frame storage.
TermSessionterm
๐Ÿฎ– ๐Ÿ”’ Scoped terminal session guard.
TermSizeterm
๐Ÿฎ– ๐Ÿงฑ ๐Ÿ›ก๏ธ The size of the terminal.
TermStyleterm
๐Ÿฎ– ๐“ โІ A compact set of broadly supported terminal text styles.
TermStyleExtterm
๐Ÿฎ– ๐“ โІ A complete set of terminal text styles.
Termelterm
๐Ÿฎ– ๐“ ๐ŸŽจ ๐Ÿ—ƒ๏ธ A textual element with terminal style and colors.
TermelMetaterm
๐Ÿฎ– ๐“ ๐Ÿงฑ โ–ซ๏ธ Compact terminal-cell occupancy metadata for a Termel.
TextCursor
๐“ Continuation point within a caller-defined text traversal.
TextIndex
๐“ ๐Ÿงฑ Position within a caller-defined text-oriented sequence.
TextLayout
๐“ ๐Ÿงฑ ๐Ÿ› ๏ธ Text layout engine configuration.
TextLayoutSpan
๐“ ๐Ÿงฑ ๐Ÿ“ Mapping between a contiguous text range and its consumed inline space.
TextLayoutStep
๐“ ๐Ÿงฑ โš–๏ธ Result of a single text layout step.
TextParseError
๐“ ::= ๐Ÿšฉ A text parsing failure paired with its cursor location.
TextRange
๐“ A half-open range within a caller-defined text-oriented sequence.
TextScanner
๐“ ::= A byte scanner over source text.
TextSymbol
๐“ ๐Ÿงฑ ๐Ÿ”Œ Layout participation record for a single text symbol.
Textel
๐“ ๐Ÿ—ƒ๏ธ A textual element carried by a rendering cell.
Threadstd
๐Ÿงต ๐Ÿซ† std A handle to a thread.
ThreadAccessErrorstd
๐Ÿงต ๐Ÿšฉ std An error returned by ThreadLocalKey::try_with.
ThreadBuilderstd
๐Ÿ—๏ธ ๐Ÿงต std Thread factory, which can be used to configure the properties of a new thread.
ThreadIdstd
๐Ÿงต ๐Ÿซ† std A unique identifier for a running thread.
ThreadJoinHandlestd
๐Ÿงต std An owned permission to join on a thread (block on its termination).
ThreadLocalKeystd
๐Ÿงต std A thread local storage key which owns its contents.
ThreadScopestd
๐Ÿงต std A scope to spawn scoped threads in.
ThreadScopedJoinHandlestd
๐Ÿงต std An owned permission to join on a scoped thread (block on its termination).
TimeDelta
๐Ÿ•˜ A signed duration of time, stored as an (i64, i32) pair of secs and nanos.
TimeFaketarget_has_atomic=64
๐Ÿ•˜ ๐ŸŽญ A test-friendly time source that allows manual control.
TimeFakeReftarget_has_atomic=64
๐Ÿ•˜ ๐ŸŽญ A borrowed configuration handle selecting a specific TimeFake timeline.
TimeSplit
๐Ÿ•˜ A full time split from years to nanoseconds.
TimeUnixI64time
๐Ÿ•˜ 64-bit Unix time, supporting negative values.
TimeUnixU32time
๐Ÿ•˜ 32-bit Unix time, supporting only non-negative values.
Timecode
๐Ÿ•˜ Timecode splitting and formatting.
Timed
๐Ÿ•˜ A value paired with a time-like companion.
Timeout
๐Ÿ•˜ ๐Ÿšฉ The operation has exceeded the allowed execution time.
Translit
๐“ ๐Ÿ› ๏ธ Lossy text transliteration utilities.
True
โŒ— โˆง A type-level logical true.
TryFromIntError
โ…€ ๐Ÿšฉ core The error type returned when a checked integral type conversion fails.
TupleFmt_tuple
๐Ÿ–น ๐Ÿ› A formatting wrapper for Tuples, implementing Display and Debug.
TupleIter_tuple
โŒ— ๐Ÿ”„ cgen An iterator over elements of a Tuple.
TupleIterMut_tuple
โŒ— ๐Ÿ”„ ๐Ÿƒ cgen An iterator over exclusive references to elements of a Tuple.
TupleIterRef_tuple
โŒ— ๐Ÿ”„ ๐Ÿƒ cgen An iterator over shared references to elements of a Tuple.
TypeId
โŒ— ๐Ÿซ† core Represents a globally unique identifier for a type.
TypeResource
โŒ— ๐Ÿซ† A newtype-based ID that associates a resource with its inner ID.
UdpSocketstd
๐Ÿ“ก std A UDP socket.
UnexpectedEof
๐Ÿชช ๐Ÿšฉ The input ended before the operation could complete.
UnsafeCell
๐Ÿซ— core The core primitive for interior mutability in Rust.
ValueQuant
๐Ÿ“ โš–๏ธ A value with associated quantification.
Vec
๐Ÿ—ƒ๏ธ alloc A contiguous growable array.
VecDequealloc
๐Ÿ—ƒ๏ธ alloc A double-ended growable queue.
VecPointsalloc
๐Ÿ“ A dynamic sequence of D-dimensional Points.
Vectorlin
โŠ• A static D-dimensional vector, backed by a primitive array.
Version
โŒ— A compact three-part semantic version core.
VersionFull
โŒ— A semantic version with optional borrowed metadata.
WaitTimeoutResultstd
๐Ÿงต โš–๏ธ std Whether a timed wait on a Condvar returned due to a time out or not.
Wasm
โฌก ๐Ÿ› ๏ธ A Wasm namespace.
WasmAllocWebAssembly and alloc and unsafe_layout
โฌก ๐Ÿงบ A WebAssembly global memory allocator that uses a bump allocation strategy.
WaveletHaarwave
ใ€ฐ๏ธ A Haar wavelet is a simple, piecewise-constant wavelet.
WaveletUnitVecalloc and wave
ใ€ฐ๏ธ A single unit of the wavelet decomposition at a specific level and position.
Webweb
๐ŸŒ ๐Ÿ› ๏ธ A Web API namespace.
WebDocumentweb
๐ŸŒ ๐Ÿซ† Handle to the browerโ€™s global Document associated APIs.
WebElementweb
๐ŸŒ ๐Ÿซ† Handle to a DOM Element.
WebEventKeyevent and web
๐ŸŽซ ๐ŸŒ A web API keyboard event.
WebEventMouseevent and web
๐ŸŽซ ๐ŸŒ A web API Mouse Event.
WebEventPointerevent and web
๐ŸŽซ ๐ŸŒ A web API Pointer Event.
WebEventWheelevent and web
๐ŸŽซ ๐ŸŒ A web API Wheel Event.
WebWindowweb
โ–ฆ ๐ŸŒ Handle to the browserโ€™s global Window and Screen associated APIs.
WebWindowStateweb
โ–ฆ ๐ŸŒ Aggregates the live state of a WebWindow, including geometry and screen context.
WebWorkerweb
๐ŸŒ ๐Ÿซ† A handle to a JavaScript Web Worker.
WebWorkerJobweb
๐ŸŒ ๐Ÿซ† Represents a job running inside a WebWorker.
WindowIdevent
โ–ฆ ๐Ÿซ† A backend-agnostic identifier for a UI window.
Wrapping
โ…€ core Provides intentionally-wrapped arithmetic on T.
XCpuBufferunsafe_ffi and x11
๐Ÿš โฌก Cpu-backed pixel buffer for X11 image upload.
XDisplayunsafe_ffi and x11
๐Ÿš โฌก ๐Ÿ”’ A connection to an X11 display server.
XEventunsafe_ffi and x11
๐Ÿš ๐ŸŽซ Wrapper for an XCB event.
XFrontendunsafe_ffi and x11
๐Ÿš โฌก An X11 frontend for frame-driven runtimes.
XPresentunsafe_ffi and x11
๐Ÿš โฌก Borrowed byte-backed presentation artifact for X11.
XRasterRendererunsafe_ffi and x11
๐Ÿš โฌก Projects a byte-backed X11 image scene into a borrowed presentation artifact.
XShmBufferffi_xcb_shmยทยท and unsafe_ffi and x11
๐Ÿš โฌก MIT-SHM-backed pixel buffer for X11 image upload.
XSurfaceFrameunsafe_ffi and x11
๐Ÿš โฌก Borrowed mutable X11 surface for direct frame rendering.
XWindowunsafe_ffi and x11
๐Ÿš ๐Ÿซ† ๐Ÿ”’ X11 top-level drawable host and presentation target.
Xabcrand
๐ŸŽฒ X ABC PRNG for 8-bit devices.
XorShift8rand
๐ŸŽฒ The XorShift8 PRNG.
XorShift16rand
๐ŸŽฒ The XorShift16 PRNG.
XorShift32rand
๐ŸŽฒ The XorShift32 PRNG.
XorShift64rand
๐ŸŽฒ The XorShift64 PRNG.
XorShift128rand
๐ŸŽฒ The XorShift128 PRNG.
XorShift128prand
๐ŸŽฒ The XorShift128+ PRNG.
Xoroshiro128pprand
๐ŸŽฒ The Xoroshiro128++ PRNG.
Xyza8arand
๐ŸŽฒ A simple 8-bit PRNG with 32-bit of state, based on the XorShift algorithm.
Xyza8brand
๐ŸŽฒ A simple 8-bit PRNG with 32-bit of state, based on the XorShift algorithm.
char7
๐“ A 7-bit Unicode scalar, limited to basic latin subset (ASCII).
char8
๐“ An 8-bit Unicode scalar, limited to basic latin and latin-1 subsets.
char16
๐“ A 16-bit Unicode scalar, limited to the Basic Multilingual Plane subset.
charu
๐“ A 32-bit Unicode scalar, with UTF-8 representation.
charu_niche
๐“ A 32-bit Unicode scalar, with UTF-8 representation, and niche-memory optimization.
f32bits
โ…€ ๐Ÿ›ก๏ธ Bitwise wrapper for f32 providing Eq, Ord, and Hash.
f32bits_niche
โ…€ โš—๏ธ Bitwise wrapper for f32 stored through a masked NonMaxU32.
f64bits
โ…€ ๐Ÿ›ก๏ธ Bitwise wrapper for f64 providing Eq, Ord, and Hash.
f64bits_niche
โ…€ โš—๏ธ Bitwise wrapper for f64 stored through a masked NonMaxU64.
g_bvec2glsl
๐Ÿ“ Equivalent to GLSL bvec2, a vector of 2ร—g_bools.
g_bvec3glsl
๐Ÿ“ Equivalent to GLSL bvec3, a vector of 3ร—g_bools.
g_bvec4glsl
๐Ÿ“ Equivalent to GLSL bvec4, a vector of 4ร—g_bools.
g_dmat2glsl
๐Ÿ“ Equivalent to GLSL dmat2, a column-major 2ร—2 matrix of g_doubles.
g_dmat3glsl
๐Ÿ“ Equivalent to GLSL dmat3, a column-major 3ร—3 matrix of g_doubles.
g_dmat4glsl
๐Ÿ“ Equivalent to GLSL dmat4, a column-major 4ร—4 matrix of g_doubles.
g_dvec2glsl
๐Ÿ“ Equivalent to GLSL dvec2, a vector of 2ร—g_doubles.
g_dvec3glsl
๐Ÿ“ Equivalent to GLSL dvec3, a vector of 3ร—g_doubles.
g_dvec4glsl
๐Ÿ“ Equivalent to GLSL dvec4, a vector of 4ร—g_doubles.
g_ivec2glsl
๐Ÿ“ Equivalent to GLSL ivec2, a vector of 2ร—g_ints.
g_ivec3glsl
๐Ÿ“ Equivalent to GLSL ivec3, a vector of 3ร—g_ints.
g_ivec4glsl
๐Ÿ“ Equivalent to GLSL ivec4, a vector of 4ร—g_ints.
g_mat2glsl
๐Ÿ“ Equivalent to GLSL mat2, a column-major 2ร—2 matrix of g_floats.
g_mat3glsl
๐Ÿ“ Equivalent to GLSL mat3x3, a column-major 3ร—3 matrix of g_floats.
g_mat4glsl
๐Ÿ“ Equivalent to GLSL mat4x4, a column-major 4ร—4 matrix of g_floats.
g_mat2x3glsl
๐Ÿ“ Equivalent to GLSL mat2x3, a column-major 2ร—3 matrix of g_floats.
g_mat2x4glsl
๐Ÿ“ Equivalent to GLSL mat2x4, a column-major 2ร—4 matrix of g_floats.
g_mat3x2glsl
๐Ÿ“ Equivalent to GLSL mat3x2, a column-major 3ร—2 matrix of g_floats.
g_mat3x4glsl
๐Ÿ“ Equivalent to GLSL mat3x4, a column-major 3ร—4 matrix of g_floats.
g_mat4x2glsl
๐Ÿ“ Equivalent to GLSL mat4x2, a column-major 4ร—2 matrix of g_floats.
g_mat4x3glsl
๐Ÿ“ Equivalent to GLSL mat4x3, a column-major 4ร—3 matrix of g_floats.
g_uvec2glsl
๐Ÿ“ Equivalent to GLSL ivec2, a vector of 2ร—g_uints.
g_uvec3glsl
๐Ÿ“ Equivalent to GLSL ivec3, a vector of 3ร—g_uints.
g_uvec4glsl
๐Ÿ“ Equivalent to GLSL ivec4, a vector of 4ร—g_uints.
g_vec2glsl
๐Ÿ“ Equivalent to GLSL vec2, a vector of 2ร—g_floats.
g_vec3glsl
๐Ÿ“ Equivalent to GLSL vec3, a vector of 3ร—g_floats.
g_vec4glsl
๐Ÿ“ Equivalent to GLSL vec4, a vector of 4ร—g_floats.
g_vertex2glsl
๐Ÿ“ A convenient 2D GLSL vertex representation with g_floats (position + UV).
g_vertex3glsl
๐Ÿ“ A convenient 3D GLSL vertex representation with g_floats (position + UV).
m128dep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch The data for a 128-bit SSE register of four f32 lanes.
m256dep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch The data for a 256-bit AVX register of eight f32 lanes.
m128ddep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch The data for a 128-bit SSE register of two f64 values.
m128idep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch The data for a 128-bit SSE register of integer data.
m256ddep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch The data for a 256-bit AVX register of four f64 values.
m256idep_safe_arch
๐Ÿ–ฅ๏ธ safe_arch The data for a 256-bit AVX register of integer data.
IterFromCoroutineExperimentalnightly_coro
๐Ÿ”„ โฌก core Creates an iterator where each iteration calls the provided coroutine.
SimdExperimental
โ…€ core A SIMD vector with the shape of [T; N] but the operations of T.

Enumsยง

AlsaErroralsa
๐Ÿ”Š ๐Ÿง ๐Ÿšฉ ALSA PCM error.
AngleDirection
๐Ÿ“ The direction of rotation of an angle.
AngleKind
๐Ÿ“ The kind of Angle, based on its normalized turn.
AnsiColorterm
๐Ÿฎ– ๐ŸŽจ Complete ANSI color selection
AnsiColor3term
๐Ÿฎ– ๐ŸŽจ ANSI 3-bit color codes, 8 colors.
AppControl
โฌก ๐ŸŽซ External control notice directed at an application.
AsyncPoll
๐Ÿงต โฌก core Indicates whether a value is ready or if the current task is still pending.
AtomicOrdering
๐Ÿงต โš›๏ธ โ‰ค core Atomic memory ordering.
AudioChannelaudio
๐Ÿ”Š Individual spatial audio channel positions.
AudioChannelsaudio
๐Ÿ”Š Fixed, discrete multichannel audio layouts (1.0, 2.0, 5.1, 7.1, โ€ฆ).
AudioDeviceDir
๐Ÿ”Š ๐Ÿงญ Direction capability of an audio endpoint.
AudioStreamDir
๐Ÿ”Š ๐Ÿงญ Direction of an audio stream.
BTreeMapEntryalloc
๐Ÿ—ƒ๏ธ โ‰ค alloc An entry of an ordered map based on a B-Tree.
Backing
๐Ÿคท ๐Ÿƒ Controls how memory is provided for a value.
BacktraceStatusstd
๐Ÿ› std The current status of a backtrace.
Bound
๐Ÿ“ core An endpoint of a range of keys.
Boundary1d
๐Ÿ“ ๐Ÿงญ Orientation relative to a one-dimensional boundary.
Boundary2d
๐Ÿ“ ๐Ÿงญ Orientation relative to a two-dimensional rectangular boundary.
Boundary3d
๐Ÿ“ ๐Ÿงญ Orientation relative to a three-dimensional bounding volume.
CallBindTime
โ†ฆ When the callee identity becomes fixed.
CallContext
โ†ฆ Where the callableโ€™s execution environment resides.
CallDispatch
โ†ฆ Mechanism by which control transfers to the callee.
CallOpenness
โ†ฆ Whether the behavior set is fixed or extensible.
CallStorage
โ†ฆ Where the callable representation resides.
CharAscii
๐“ One of 128 Unicode characters (U+0000 to U+007F), the ASCII subset.
ColorDepth
๐ŸŽจ Color vocabulary depth.
CompressionMode
๐Ÿฅก The type of compression applied to data.
ControlFlow
โŒ— core Used to tell an operation whether it should exit early or go on as usual.
Cowalloc
๐Ÿซ— ๐Ÿƒ ๐Ÿ’ฑ alloc A clone-on-write smart pointer.
CryptoError
๐Ÿ” ๐Ÿšฉ An error from a cryptographic codec or primitive.
DataNotEnough
๐Ÿšฉ+ An error composite of NotEnoughElements + NotEnoughSpace.
DiagLevel
๐Ÿชต The severity of a diagnostic emission.
EncodingMode
๐Ÿฅก The primary mode for data encoding.
EnumExampledoc or test
โœจ โŒ— โˆˆ An example enum generated with enumset!.
EnumintI8Exampledoc or test
โœจ โ…€ โš—๏ธ An example compact i8 enum from -126 to 126, generated with enumint!.
EventButtonevent
๐ŸŽซ ๐ŸŽฎ โˆˆ A normalized pressable pointer/mouse button.
EventButtonStateevent
๐ŸŽซ ๐ŸŽฎ Represents the state of a button.
EventKindevent
๐ŸŽซ An enumeration of concrete event variants.
EventPointerKindevent
๐ŸŽซ ๐ŸŽฎ Enum representing the type of pointer.
EventTagevent
๐ŸŽซ ๐Ÿซ† โˆˆ A lightweight, data-less identifier for EventKind.
EventTargetevent
๐ŸŽซ ๐Ÿซ† Identifies what an Event is conceptually directed to.
EventTimestampModeevent
๐ŸŽซ ๐Ÿ•˜ Selects how an EventTimestamp should be formatted.
EventWheelUnitevent
๐ŸŽซ ๐ŸŽฎ The semantic unit carried by an EventWheel.
EventWindowevent
๐ŸŽซ ๐ŸŽฎ Events related to a window, viewport, or presentation surface.
FloatCategory
โ…€ core A classification of floating point numbers.
FmtAlignment
๐Ÿ–น core Possible alignments returned by Formatter::align.
FmtNumSign
๐Ÿ–น โ…€ Controls how the sign of a number is formatted.
GraphemeBoundarygrapheme
๐“ Indicates how to handle a code point when detecting grapheme cluster boundaries.
GraphemeKindgrapheme
๐“ The kinds of supported graphemes.
GraphemePropCbgrapheme
๐“ EGC property values from Unicode Standard Annex #29.
GraphemePropInCbgrapheme
๐“ Break property for Indic scripts that prevents splitting within orthographic syllables.
HashMapEntrydep_hashbrown or std
๐Ÿ—ƒ๏ธ ๐Ÿ”€ โ‰กstd A view into a single entry in a map, which may either be vacant or occupied.
HttpErrorhttp
๐Ÿ“ก โ‡„ ๐Ÿšฉ HTTP parsing and formatting error.
HttpMethodhttp
๐Ÿ“ก โ‡„ HTTP request method.
HttpStatusClasshttp
๐Ÿ“ก โ‡„ The response class of an HTTP status code.
HttpVersionhttp
๐Ÿ“ก โ‡„ HTTP protocol version.
ImageError
๐Ÿ–ผ๏ธ ๐Ÿšฉ+ An image-related error.
Infallible
โˆ… ๐Ÿšฉ core The error type for errors that can never occur.
IntError
๐Ÿšฉ+ All possible integer operation errors.
InvalidText
๐Ÿšฉ+ ๐“ An error composite of InvalidChar + InvalidUtf8 + MismatchedCapacity.
IoErrorKind
๐Ÿ”Œ ๐Ÿšฉ+ ?std A list specifying general categories of I/O error.
IpAddr
๐Ÿ“ก core An IP address, either IPv4 or IPv6.
JsValuejs
โฌก ๐Ÿ’ฑ A JavaScript value for FFI communication.
Keyevent
๐ŸŽฎ Keyboard codes, used in EventKey.
KeyDeadevent
๐ŸŽฎ Dead-key accent operators used during text composition.
KeyFfiffiยทยท
๐ŸŽฎ ๐Ÿ›ก๏ธ An FFI-safe version of Key, used in EventKeyFfi.
KeyMediaevent
๐ŸŽฎ Media key codes.
KeyModevent
๐ŸŽฎ โˆˆ Modifier key codes (when pressed by themselves)
KeyPadevent
๐ŸŽฎ Keypad keys.
KeyStateevent
๐ŸŽฎ Represents the state of a Key.
LinuxClocklinux
๐Ÿง ๐Ÿ•˜ ๐Ÿซ† Linux clock identifiers.
LinuxErrorlinux
๐Ÿง ๐Ÿšฉ+ Represents a Linux-related error.
LinuxRandomModelinux
๐ŸŽฒ ๐Ÿง Linux getrandom randomness mode.
LinuxSignallinux
๐Ÿง ๐Ÿ“ถ โˆˆ A linux signal
LinuxTermiosCharSizelinux
๐Ÿง ๐Ÿฎ– A Linux termios character size.
MaybeOwned
๐Ÿคท ๐Ÿƒ A container that may hold either a borrowed or owned value.
MemHedgeError
๐Ÿซ— ๐Ÿงต ๐Ÿšฉ Errors produced by hedged control-state operations.
MemHedgeState
๐Ÿซ— ๐Ÿงต โš›๏ธ Lifecycle state of a hedged read request.
MemReplicaError
๐Ÿšฉ ๐Ÿซ— Errors produced by replicated layout construction and access.
MismatchedBounds
๐Ÿšฉ+ An error composite of MismatchedCapacity + IndexOutOfBounds + MismatchedIndices
Monthtime
๐Ÿ•˜ The months of the year.
MpscRecvTimeoutErrorstd
๐Ÿงต ๐Ÿšฉ+ std Possible errors that made recv_timeout unable to return data.
MpscTryRecvErrorstd
๐Ÿงต ๐Ÿšฉ+ std Possible reasons that try_recv could not return data when called.
MpscTrySendErrorstd
๐Ÿงต ๐Ÿšฉ+ std Possible error outcomes for the try_send method.
NicheValueError
๐Ÿšฉ+ Invalid or problematic values for niche types.
NotAvailable
โˆ… ๐Ÿšฉ+ An error composite of NotImplemented + NotSupported.
NumError
โ…€ ๐Ÿšฉ+ A numeric-related error.
Oneof
โŒ— A generic, parameterized enum for expressing structured alternatives.
Option
โš—๏ธ core A type that represents an optional value.
Ordering
โ…€ โ‰ค โš–๏ธ core The result of a comparison between two values.
ParseIntErrorKind
๐“ ::= โ…€ ๐Ÿšฉ core Kinds of errors that can cause parsing an integer to fail.
PartialSpace
๐Ÿšฉ+ An error composite of NotEnoughSpace + PartiallyAdded.
PathComponentstd
๐Ÿ“ std A single component of a path.
PathWindowsPrefixstd
๐Ÿ“ ๐ŸชŸ std Windows path prefixes, e.g., C: or \\server\share.
PcmLayoutaudio
๐Ÿ”Š ๐Ÿงฑ Sample arrangement of a PCM buffer.
PcmRawErroraudio
๐Ÿ”Š ๐Ÿšฉ Raw PCM encoding and decoding error.
PcmSampleaudio
๐Ÿ”Š Numeric encoding of a single PCM sample.
PcmWavErroraudio
๐Ÿ”Š ๐Ÿšฉ WAVE encoding and decoding error.
ReprMode
โŒ— ๐Ÿชช Selects how a value exposes one of its representations.
Result
โš–๏ธ core A type that represents either success (Ok) or failure (Err).
RiffError
๐Ÿชช ๐Ÿฅก ๐Ÿšฉ RIFF parsing error.
RunControl
โฌก Control returned by a runtime step.
RunDriverError
โฌก ๐Ÿšฉ Errors returned while driving a runtime step.
RunDriverFrameError
โฌก ๐Ÿšฉ Errors returned while driving a runtime frame step.
RunPhase
โฌก High-level phases of a running system.
ShellWordErrorshell
๐•ƒ ๐Ÿšฉ+ An error while parsing or quoting shell words.
Sign
๐Ÿ“ The three-valued sign of a number: negative (โˆ’1), zero (0), or positive (+1).
SocketAddr
๐Ÿ“ก ๐Ÿซ† core An internet socket address, either IPv4 or IPv6.
SparseSetError
๐Ÿ—ƒ๏ธ ๐Ÿšฉ โІ Sparse-set operation error.
StaticMapEntry
๐Ÿ—ƒ๏ธ Represents an entry in a static map allowing for in-place mutation or insertion.
TcpShutdownstd
๐Ÿ“ก std Possible values which can be passed to the TcpStream::shutdown method.
TermCapterm
๐Ÿฎ– โฌก โˆˆ Terminal capability flag.
TermColorKindterm
๐Ÿฎ– ๐ŸŽจ The stored representation of a terminal color.
TermColorModeterm
๐Ÿฎ– ๐ŸŽจ The composition mode of one terminal color.
TermGridErrorterm
๐Ÿฎ– ๐Ÿ—ƒ๏ธ ๐Ÿšฉ Terminal grid construction, access, and rendering error.
TermLineModeterm
๐Ÿฎ– ๐ŸŽฎ How terminal input is delivered to an application.
TermPollPolicyterm
๐Ÿฎ– ๐ŸŽซ Terminal event polling policy.
TermelOccupancyterm
๐Ÿฎ– ๐“ ๐Ÿงฑ โ–ซ๏ธ The cell-space occupancy represented by terminal-element metadata.
TextCohesion
๐“ ๐Ÿงฑ Spatial cohesion rules for a text symbol during layout.
TextError
๐“ ๐Ÿšฉ+ A text-related composite error.
TextFit
๐“ ๐Ÿงฑ โš–๏ธ Result of testing whether text fits within an inline extent.
TextParseErrorKind
๐“ ::= ๐Ÿšฉ The category of a text parsing failure.
TimeErrorstd
๐Ÿšฉ+ ๐Ÿ•˜ A time-related composite error.
TimeScale
๐Ÿ•˜ Describes the conceptual scale at which time is expressed or interpreted.
TryLockErrorstd
๐Ÿงต ๐Ÿšฉ+ std An enumeration of possible errors associated with a TryLockResult.
TupleElement_tuple
โŒ— cgen An element of a Tuple.
TupleElementMut_tuple
โŒ— ๐Ÿƒ cgen An exclusive reference to an element of a Tuple.
TupleElementRef_tuple
โŒ— ๐Ÿƒ cgen A shared reference to an element of a Tuple.
UiErroruiยทยท
โ–ฆ ๐Ÿšฉ+ A user-interface error.
UnitBiunit
โ…€ Binary unit prefixes.
UnitSiunit
โ…€ SI (metric) unit prefixes.
ValueKind
๐Ÿชช ๐Ÿ’ฑ The semantic category of a value word.
ValueKind4
๐Ÿชช ๐Ÿ’ฑ A 4-bit compact value category.
VarErrorstd
๐Ÿšฉ ๐Ÿ–ฅ๏ธ std Returned from Env::var.
VecChunkalloc
๐Ÿ—ƒ๏ธ A persistent data structure with efficient append and concatenation operations.
WaveletUnitRolewave
ใ€ฐ๏ธ Distinguishes the role of a component in wavelet analysis.
WebEventKindevent and web
๐ŸŽซ ๐ŸŒ ๐Ÿซ† A typed selector for web event names used by the web API browser bridge.
WebKeyLocationevent and web
๐ŸŽฎ ๐ŸŒ Which part of the keyboard the key event originates from.
WebPermissionweb
๐ŸŒ Web API permissions
WebPermissionStateweb
๐ŸŒ โš–๏ธ Permission query result state.
WebWorkerErrorweb
๐ŸŒ ๐Ÿšฉ Errors that can occur when working with JavaScript Web Workers.
Weekdaytime
๐Ÿ•˜ The days of the week.
XErrorunsafe_ffi and x11
๐Ÿš ๐Ÿšฉ XCB/X11 error categories.
XImageModeunsafe_ffi and x11
๐Ÿš โฌก Presentation backing policy for X11 image upload.
c_void
โš™๏ธ core Equivalent to Cโ€™s void type when used as a pointer.
CoroutineStateExperimentalnightly_coro
๐Ÿงต โฌก โš–๏ธ core The result of a coroutine resumption.

Constantsยง

FONT_ART_4_3font
๐Ÿ…ต A simple 4x3 Unicode-art font.
FONT_BIT_3_3font
๐Ÿ…ต A simple 3x3 bitmap font.
FONT_BIT_3_5font
๐Ÿ…ต A simple 3x5 bitmap font.
FONT_BIT_5_6font
๐Ÿ…ต A simple 5x6 bitmap font.
UNIX_EPOCHstd
๐Ÿ•˜ std A SystemTime anchored to โ€œ1970-01-01 00:00:00 UTCโ€.

Staticsยง

__LOGGER_sixel_encoder_64_64__dbg
๐Ÿ› ๐Ÿชต ๐Ÿ–ผ๏ธ ๐Ÿฎ– Static debug logger for SixelEncoder.

Traitsยง

Add
โ…€ core The addition operator +.
AddAssign
โ…€ core The addition assignment operator +=.
Any
โŒ— core A trait to emulate dynamic typing.
AnyExt
โŒ— Extension trait providing convenience methods for T:Any.
AppEnvstd
๐Ÿ–ฅ๏ธ Manages directory paths in an environment-aware manner.
ArrayExt
๐Ÿ—ƒ๏ธ Extension trait providing convenience methods for [T; N] arrays.
AsFdstd
๐Ÿ“ std A trait to borrow the file descriptor from an underlying object.
AsFdRawstd
๐Ÿ“ ๐Ÿซ† std A trait to extract the raw file descriptor from an underlying object.
AsMut
๐Ÿƒ core Used to do a cheap mutable-to-mutable reference conversion.
AsRef
๐Ÿƒ core Used to do a cheap reference-to-reference conversion.
AsyncWakealloc
๐Ÿงต โš›๏ธ โฌก ?alloc The implementation of waking a task on an executor.
Binary
๐Ÿ–น โ…€ core b formatting.
BitAnd
โˆง core The bitwise AND operator &.
BitAndAssign
โˆง core The bitwise AND assignment operator &=.
BitOps
โ…€ ๐Ÿ› ๏ธ Provides bitwise operations on T.
BitOr
โˆง core The bitwise OR operator |.
BitOrAssign
โˆง core The bitwise OR assignment operator |=.
BitSized
๐Ÿซ— Type size information in bits.
BitXor
โˆง core The bitwise XOR operator ^.
BitXorAssign
โˆง core The bitwise XOR assignment operator ^=.
Borrow
๐Ÿƒ core A trait for borrowing data.
BorrowMut
๐Ÿƒ core A trait for mutably borrowing data.
ByteSized
๐Ÿซ— Type size information in bytes.
Canvasdraw
๐Ÿ–ผ๏ธ A writable 2D drawing surface over abstract spatial units.
CanvasReaddraw
๐Ÿ–ผ๏ธ Read access to colors from a canvas-like surface.
CanvasTexteldraw
๐Ÿ–ผ๏ธ ๐“ A Canvas that can place text render elements.
CellOptionExt
๐Ÿซ— Extension trait providing additional methods for Cell<Option>.
Clone
๐Ÿ’ฑ core A common trait that allows explicit creation of a duplicate value. (Derivable)
Color
๐ŸŽจ Base trait for general color data representation.
ConstBool
โŒ— โˆง Allows to convert compile-time constants into type-level booleans.
ConstInit
๐ŸŒฑ A trait for giving a type a useful const-friendly initial value.
Copy
โŒ— core Types whose values can be duplicated simply by copying bits. (Derivable)
DataArray
๐Ÿ—ƒ๏ธ An abstract array data type.
DataCollection
๐Ÿ—ƒ๏ธ An abstract collection data type.
DataDeque
๐Ÿ—ƒ๏ธ An abstract double-ended queue data type.
DataDesta
๐Ÿ—ƒ๏ธ An abstract double-ended stack data type.
DataQueue
๐Ÿ—ƒ๏ธ An abstract queue data type.
DataStack
๐Ÿ—ƒ๏ธ An abstract stack data type.
Debug
๐Ÿ–น ๐Ÿ› core ? formatting. (Derivable)
DebugExt
๐Ÿ–น ๐Ÿ› Extension for contextual debugging.
Default
๐ŸŒฑ core A trait for giving a type a useful default value. (Derivable)
Deref
๐Ÿƒ core Used for immutable dereferencing operations, like *v.
DerefMut
๐Ÿƒ core Used for mutable dereferencing operations, like in *v = 1;.
DiagOut
๐Ÿชต Emits leveled diagnostic text.
Display
๐Ÿ–น core Format trait for an empty format, {}.
Div
โ…€ core The division operator /.
DivAssign
โ…€ core The division assignment operator /=.
Drop
๐Ÿ”’ core Custom code within the destructor.
DstBufunsafe_layout
๐Ÿ—ƒ๏ธ Represents the backing buffer for storing dynamically sized types.
Eq
โ…€ core Trait for comparisons corresponding to equivalence relations. (Derivable)
Error
โŒ— ๐Ÿšฉ core A trait representing the basic expectations for error values.
FloatConst
โ…€ ๐Ÿ› ๏ธ Extension trait for floating-point types. Associated constants.
FloatExt
โ…€ ๐Ÿ› ๏ธ Extension trait for floating-point types. Associated methods.
FmtWrite
๐Ÿ–น core Writing or formatting into Unicode-accepting buffers or streams.
Fn
โŒ— core The version of the call operator that takes an immutable receiver.
FnMut
โŒ— core The version of the call operator that takes a mutable receiver.
FnOnce
โŒ— core The version of the call operator that takes a by-value receiver.
From
๐Ÿ’ฑ core Used to do value-to-value conversions while consuming the input value.
FromFdRawstd
๐Ÿ“ ๐Ÿซ† ๐Ÿ’ฑ std Expresses the ability to construct an object from a raw file descriptor.
FromRand
๐ŸŽฒ ๐Ÿ—๏ธ Infallible construction from a source of randomness.
FromRandTry
๐ŸŽฒ ๐Ÿ—๏ธ Fallible construction from a source of randomness.
FromStr
๐“ ๐Ÿƒ core Parse a value from a string.
Future
๐Ÿงต โฌก core An asynchronous computation obtained by use of async.
FutureExt
๐Ÿงต โฌก Extension trait providing additional methods for Futures.
GlobalAllocalloc
๐Ÿงบ alloc A memory allocator that can be registered as the standard libraryโ€™s default.
Graphemegrapheme
๐“ Common trait for EGC types.
Hash
๐Ÿ”€ core A trait for creating instances of Hasher. (Derivable)
Hasher
๐Ÿ”€ core A trait for hashing an arbitrary stream of bytes.
HasherBuild
๐Ÿ”€ core A trait for creating instances of Hasher.
Hook
โŒ— ๐Ÿ’ฑ Hooks operations into a value without breaking its flow.
Index
๐Ÿ’ฑ ๐Ÿƒ core Used for indexing operations (container[index]) in immutable contexts.
IndexMut
๐Ÿ’ฑ ๐Ÿƒ core Used for indexing operations (container[index]) in mutable contexts.
IndexRepr
โŒ— ๐Ÿซ— โ…€ โš™๏ธ โš—๏ธ A representation accepted for compact contiguous indexing.
Into
๐Ÿ’ฑ core A value-to-value conversion that consumes the input value.
IntoFdRawstd
๐Ÿ“ ๐Ÿซ† ๐Ÿ’ฑ std Expresses the ability to consume an object and own its raw file descriptor.
IntoFuture
๐Ÿ’ฑ ๐Ÿงต โฌก core Conversion into a Future.
Introspect
๐Ÿ”Ž Introspection core trait.
IoBufRead
๐Ÿ”Œ ?std A type of Reader which has an internal buffer.
IoDuplex
๐Ÿ”Œ A duplex byte I/O primitive.
IoRead
๐Ÿ”Œ ?std Allows for reading bytes from a source.
IoSeek
๐Ÿ”Œ ?std Provides a cursor which can be moved within a stream of bytes.
IoWrite
๐Ÿ”Œ ?std A trait for objects which are byte-oriented sinks.
Iterator
๐Ÿ”„ core A trait for dealing with iterators.
IteratorDoubleEnded
๐Ÿ”„ core An iterator able to yield elements from both ends.
IteratorExactSize
๐Ÿ”„ core An iterator that knows its exact length.
IteratorExtend
๐Ÿ”„ core Extend a collection with the contents of an iterator.
IteratorFrom
๐Ÿ”„ core Conversion from an Iterator.
IteratorFused
๐Ÿ”„ core An iterator that always continues to yield None when exhausted.
IteratorInto
๐Ÿ”„ core Conversion into an Iterator.
IteratorLending
๐Ÿ”„ ๐Ÿƒ A lending iterator using a generic associated lifetime.
IteratorLendingDoubleEnded
๐Ÿ”„ ๐Ÿƒ A lending iterator that can yield items from the back.
IteratorLendingExactSize
๐Ÿ”„ ๐Ÿƒ A lending iterator with a known remaining length.
IteratorLendingPeek
๐Ÿ”„ ๐Ÿƒ A lending iterator that can inspect the next item without advancing.
IteratorLendingPeekDoubleEnded
๐Ÿ”„ ๐Ÿƒ A lending iterator that can inspect the next item from the back, without advancing.
IteratorProduct
๐Ÿ”„ โ…€ core Represents types that can be created by multiplying elements of an iterator.
IteratorSum
๐Ÿ”„ โ…€ core Represents types that can be created by summing up an iterator.
LowerExp
๐Ÿ–น โ…€ core e formatting.
LowerHex
๐Ÿ–น โ…€ core x formatting.
MemAligned
๐Ÿซ— Marker trait to verify memory alignment between two types.
MemExt
๐Ÿ› ๏ธ Extension trait for type memory information and manipulation.
MemPodunsafe_layout
๐Ÿซ— Indicates a type is Plain Old Data, and meets specific memory layout guarantees.
Morph
โŒ— ๐Ÿ’ฑ Morphs a value by threading it through a function.
Mul
โ…€ core The multiplication operator *.
MulAssign
โ…€ core The multiplication assignment operator *=.
Neg
โ…€ core The unary negation operator -.
Not
โˆง core The unary logical negation operator !.
Numnum
โ…€ Common trait for numeric types.
NumConst
โ…€ Fundamental numeric constants for both integer and floating-point types.
NumIntint
โ…€ Common trait for integer types.
NumRefnum
โ…€ ๐Ÿƒ Common auto-trait for referenced numeric types.
NumRefIntint
โ…€ ๐Ÿƒ Common auto-trait for referenced integer types.
NumVectorlin
๐Ÿšง โŠ• A common trait for all vectors.
Octal
๐Ÿ–น โ…€ core o formatting.
OptResExt
โš–๏ธ Extension trait providing additional methods for OptRes.
OptionExt
โš–๏ธ Extension trait providing additional methods for Option.
Ord
โ…€ โ‰ค core Trait for types that form a total order. (Derivable)
OutputExtstd
๐Ÿ–ฅ๏ธ ๐Ÿงต ๐Ÿ› ๏ธ Extension trait providing convenience methods interpreting process Output.
Ownership
๐Ÿƒ Defines the relationship between a borrowed type and its owned counterpart.
PanicRefUnwindSafe
โŒ— ๐Ÿƒ core A marker trait which represents a shared reference considered unwind safe.
PanicUnwindSafe
โŒ— core A marker trait which represents โ€œpanic safeโ€ types in Rust.
PartialEq
โ…€ core Trait for comparisons using the equality operator. (Derivable)
PartialOrd
โ…€ โ‰ค core Trait for types that form a partial order. (Derivable)
PathExtstd
๐Ÿ“ Extension trait providing additional methods for Path and PathBuf.
PcmDrainaudio
A PCM stream that can wait for pending playback frames to finish.
PcmSampleTypeaudio
๐Ÿ”Š Rust sample type with a fixed PCM sample encoding.
PcmSinkaudio
๐Ÿ”Š A stream that writes interleaved PCM frames.
PcmSinkPlanaraudio
๐Ÿ”Š A stream that writes planar PCM frames.
PcmSourceaudio
๐Ÿ”Š A stream that reads interleaved PCM frames.
PcmSourcePlanaraudio
๐Ÿ”Š A stream that reads planar PCM frames.
PcmStreamaudio
๐Ÿ”Š A configured PCM stream.
Pointer
๐Ÿ–น core p formatting.
Prim
โŒ— โš™๏ธ Language primitive value types.
PrimCast
โ…€ โš™๏ธ Offers methods for casting between primitives.
PrimFitPtr
โŒ— ๐Ÿซ— โš™๏ธ Primitive value types that fit in pointer-width on supported Rust targets.
PrimFloat
โŒ— โ…€ โš™๏ธ Primitive floating-point numbers.
PrimIndex
โŒ— ๐Ÿซ— โ…€ โš™๏ธ Primitive types that can be used for indexing.
PrimInt
โŒ— โ…€ โš™๏ธ Primitive integer numbers.
PrimJoin
โ…€ โš™๏ธ Offers methods to construct a primitive from an array or slice of smaller primitives.
PrimScalar
โŒ— โ…€ โš™๏ธ Primitive scalars, both integers and floating-point numbers.
PrimSint
โŒ— โ…€ โš™๏ธ Signed primitive integer numbers.
PrimSplit
โ…€ โš™๏ธ Offers methods to split a primitive into an array of smaller primitives.
PrimUint
โŒ— โ…€ โš™๏ธ Unsigned primitive integer numbers.
ProcessExtstd
๐Ÿ–ฅ๏ธ ๐Ÿงต ๐Ÿ› ๏ธ Extension trait providing additional methods for Processes.
ProcessTerminationstd
๐Ÿ–ฅ๏ธ โฌก std A trait for implementing arbitrary return types in the main function.
Rand
๐ŸŽฒ Infallible source of raw random data.
RandSeedable
๐ŸŽฒ Construction from explicit seed material or another random source.
RandTry
๐ŸŽฒ Fallible source of raw random data.
RangeBounds
๐Ÿ“ core Implemented by Rustโ€™s built-in range types
Raster
๐Ÿ–ผ๏ธ A retained dense raster that owns its sample storage.
RasterBuf
๐Ÿ–ผ๏ธ Exclusive access to a dense 2D raster over contiguous samples.
RasterBufBytes
๐Ÿ–ผ๏ธ Exclusive access to a dense 2D byte raster with explicit row layout.
RasterSamplePacked
๐Ÿ–ผ๏ธ Marker for packed sample types supported by safe byte reinterpretation.
RasterView
๐Ÿ–ผ๏ธ A borrowed dense 2D raster view over contiguous samples.
RasterViewBytes
๐Ÿ–ผ๏ธ A borrowed dense 2D byte raster view with explicit row layout.
RasterViewPacked
๐Ÿ–ผ๏ธ A typed raster view whose packed samples can be exposed as bytes.
Rem
โ…€ core The remainder operator %.
RemAssign
โ…€ core The remainder assignment operator %=.
ResultExt
โš–๏ธ Extension trait providing additional methods for Result.
RunApp
โฌก App logic driven step-by-step by a runtime.
RunBackend
โฌก Minimal backend contract for runtime-driven frontends.
RunPresent
โฌก Presentation finalization driven by a runtime.
RunRender
โฌก Rendering logic driven by a runtime frame.
RunService
โฌก Reports runtime service metadata.
RunServiceProbe
โฌก Actively refreshes runtime service capabilities.
Send
โŒ— ๐Ÿงต core Types that can be transferred across thread boundaries.
Sized
โŒ— core Types with a constant size known at compile time.
SliceExt
๐Ÿ› ๏ธ Extension trait providing additional methods for &[T].
SliceExtMut
๐Ÿ› ๏ธ Extension trait providing additional methods for &mut [T].
Storage
๐Ÿซ— Allows data structures to be generic over their storage strategy.
StrExt
๐Ÿงถ Extension trait providing additional methods for &str.
StringExtalloc
๐Ÿงถ Extension trait providing additional methods for String.
Sub
โ…€ core The subtraction operator -.
SubAssign
โ…€ core The subtraction assignment operator -=.
Sync
โŒ— ๐Ÿงต core Types for which it is safe to share references between threads.
TextIn
๐Ÿ”Œ ๐“ Reads UTF-8 text from an input surface into caller-provided storage.
TextOut
๐Ÿ”Œ ๐“ Emits UTF-8 text to an output surface.
ThreadExtstd
๐Ÿงต ๐Ÿ› ๏ธ Extension trait providing additional methods for Threads.
TimePoint
๐Ÿ•˜ A comparable representation of a point on a time-like timeline.
TimeSource
๐Ÿ•˜ A source of time points with a canonical numeric projection.
TimeSourceCfg
๐Ÿ•˜ A configurable source of time points with a canonical numeric projection.
TimeSpan
๐Ÿ•˜ A comparable span on a time-like timeline.
ToOwnedalloc
๐Ÿซ— ๐Ÿ’ฑ alloc A generalization of Clone to borrowed data.
ToSocketAddrsstd
๐Ÿ“ก std Objects which can be converted or resolved to one or more SocketAddr values.
ToStringalloc
๐“ ๐Ÿ’ฑ alloc A trait for converting a value to a String.
TryFrom
๐Ÿ’ฑ core Simple and safe type conversions that may fail in a controlled way.
TryInto
๐Ÿ’ฑ core An attempted conversion that consumes self, which may be expensive.
Tuple_tuple
โŒ— ๐Ÿ—ƒ๏ธ cgen Extension trait providing convenience methods for tuples.
TypeResourced
โŒ— ๐Ÿซ† Represents an association between a resource and its inner data type.
UnicodeScalar
๐“ Common trait for Unicode scalar types.
Unitunit
โ…€ Common trait for unit prefixes.
Unpin
โŒ— core Types that do not require any pinning guarantees.
UpperExp
๐Ÿ–น โ…€ core E formatting.
UpperHex
๐Ÿ–น โ…€ core X formatting.
VecExtalloc
๐Ÿ—ƒ๏ธ Extension trait providing additional methods for Vec.
WaveletCompressionVecalloc and wave
ใ€ฐ๏ธ Trait for lossy compression of wavelet coefficients.
WaveletTransformVecalloc and wave
ใ€ฐ๏ธ Trait defining essential wavelet transform operations.
Word
๐Ÿชช โ–ฃ A fixed-width copyable item with an explicit raw representation.
CoroutineExperimentalnightly_coro
๐Ÿงต โฌก core The trait implemented by builtin coroutine types.
SimdConstPtrExperimental
โ…€ ๐Ÿƒ core Operations on SIMD vectors of constant pointers.
SimdFloatExperimental
โ…€ core Operations on SIMD vectors of floats.
SimdIntExperimental
โ…€ core Operations on SIMD vectors of signed integers.
SimdMutPtrExperimental
โ…€ ๐Ÿƒ core Operations on SIMD vectors of mutable pointers.
SimdOrdExperimental
โ…€ โ‰ค core Parallel Ord.
SimdPartialEqExperimental
โ…€ core Parallel PartialEq.
SimdPartialOrdExperimental
โ…€ โ‰ค core Parallel PartialOrd.
SimdUintExperimental
โ…€ core Operations on SIMD vectors of unsigned integers.

Functionsยง

__logger_sixel_encoder_64_64โš __dbg
๐Ÿ› ๐Ÿชต ๐Ÿ–ผ๏ธ ๐Ÿฎ– Static debug logger for SixelEncoder. Returns a mutable reference to the global static __LOGGER_sixel_encoder_64_64.
ansi_printlinux or std
๐Ÿฎ– ๐Ÿ–ฅ๏ธ A function to print an ANSI escape sequence of bytes to stdout
ansi_print_linuxlinux
๐Ÿฎ– ๐Ÿง The most efficient print method, exclusive for linux.
ansi_print_stdstd
๐Ÿฎ– ๐Ÿ–ฅ๏ธ The most efficient print method, exclusive for std.
any_type_name
โŒ— core Returns the name of a type as a string slice.
array_from_fn
๐Ÿ—ƒ๏ธ core Creates an array [T; N], where each T is returned from cb from its index.
array_from_mut
๐Ÿ—ƒ๏ธ core Converts a mutable reference to T into &mut [T; 1] (without copying).
array_from_ref
๐Ÿ—ƒ๏ธ core Converts a reference to T into &[T; 1] (without copying).
assert_uncheckedโš 
๐Ÿ’ฏ core Makes a soundness promise to the compiler that the condition holds.
atomic_compiler_fence
๐Ÿงต โš›๏ธ core A compiler memory fence.
atomic_fence
๐Ÿงต โš›๏ธ core An atomic fence.
black_box
โŒ— core Hints the compiler to be maximally pessimistic about what black_box could do.
cold_path
โŒ— core Hints to the compiler that given path is cold, i.e., unlikely to be taken.
fn_addr_eq
๐Ÿซ— core Compares the addresses of the two function pointers for equality.
identity
โˆ… core The identity function. Just returns back its input.
is_leap_yeartime
๐Ÿ•˜ Returns true if the provided year is a leap year.
likely
โŒ— Indicate that a given condition is likely to be true.
prime_number_theorem
โ…€ The prime number theorem formula.
select_unpredictable
โŒ— core Hints the compiler that the condition is branch-unpredictable.
serr
โš–๏ธ Wraps the given OptRes value in a Some(Err(error)).
sok
โš–๏ธ Wraps the given OptRes value in a Some(Ok(value)).
spin_loop
โŒ— core Signals the processor that it is running in a busy-wait spin-loop.
transmuteโš Deprecated
๐Ÿซ— core Reinterprets the bits of a value of one type as another type.
unlikely
โŒ— Indicate that a given condition is likely to be false.
unreachable_uncheckedโš 
๐Ÿ’ฏ core Informs the compiler that the current calling site is not reachable.

Type Aliasesยง

Bare
โˆ… ๐Ÿซ— core A zero-sized marker for a Storage type that wraps its data in a BareBox.
Base16
๐Ÿฅก Base16 standard encoding (hex), with linear search. Case-insensitive.
Base32
๐Ÿฅก Base32 standard encoding, using LUT decoding. Case-sensitive.
Base64
๐Ÿฅก Base64 standard encoding, using LUT decoding. Case-sensitive.
Base32Crockford
๐Ÿฅก Base32 Crockford encoding. Case-insensitive, remaps O โ†’ 0, I/L โ†’ 1.
Base32Hex
๐Ÿฅก Base32Hex uses RFC 4648 hex-encoding (0-9 A-V instead of A-Z 2-7).
Base32Padded
๐Ÿฅก Base32 encoding with padding (=) enabled, using LUT decoding.
Base64Padded
๐Ÿฅก Base64 encoding with padding (=) enabled, using LUT decoding.
DestaqueU8_destaque_u8
๐Ÿ—ƒ๏ธ A Destaque with an 8-bit index size.
Distance1
๐Ÿ“ A 1-dimensional Distance.
Distance2
๐Ÿ“ A 2-dimensional Distance.
Distance3
๐Ÿ“ A 3-dimensional Distance.
DstArrayUsizeunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated buffer for storing DSTs with pointer alignment.
DstQueueUsizeunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated FIFO queue of DSTs with pointer alignment.
DstStackUsizeunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated LIFO stack of DSTs with pointer alignment.
DstValueUsizeunsafe_layout
๐Ÿ—ƒ๏ธ A statically allocated DST value with pointer alignment.
DstVecUsizealloc and unsafe_layout
๐Ÿ—ƒ๏ธ A dynamically allocated buffer for storing DSTs with pointer alignment.
EventKindTimedevent
๐ŸŽซ ๐Ÿ•˜ ๐Ÿคท A convenience helper for optionally timed event kinds.
Extent1
๐Ÿ“ A 1-dimensional Extent.
Extent2
๐Ÿ“ A 2-dimensional Extent.
Extent3
๐Ÿ“ A 3-dimensional Extent.
FdRaw
๐Ÿ“ ๐Ÿซ† Raw file descriptors.
FmtResult
๐Ÿ–น โš–๏ธ The type returned by formatter methods.
HashMapFxhash and (std, or dep_hashbrown and hash)
๐Ÿ—ƒ๏ธ ๐Ÿ”€ A HashMap using a default Fx hasher.
HashMapStdstd
๐Ÿ—ƒ๏ธ ๐Ÿ”€ The HashMap in the standard library.
HashSetFxhash and (std, or dep_hashbrown and hash)
๐Ÿ—ƒ๏ธ ๐Ÿ”€ โІ A HashSet using a default Fx hasher.
HashSetStdstd
๐Ÿ—ƒ๏ธ ๐Ÿ”€ โІ The HashSet in the standard library.
HasherBuildFnvhash
๐Ÿ”€ ๐ŸŒฑ A builder for default Fnv hashers.
HasherBuildFx
๐Ÿ”€ ๐ŸŒฑ A builder for default Fx hashers.
ImageResult
๐Ÿ–ผ๏ธ โš–๏ธ An image-related result.
InfallibleResult
โš–๏ธ โˆ… ๐Ÿšฉ A result type whose error case can never occur.
IntResult
โ…€ โš–๏ธ A result of a fallible integer operation.
IoResult
๐Ÿ”Œ โš–๏ธ ?std A specialized Result type for I/O operations.
LINUX_SYSlinux
๐Ÿง ๐Ÿ–ฅ๏ธLinux sys/syscall.h constants for the current compilation target.
Lightnesscolor
๐ŸŽจ Perceptual lightness (L*).
LinearLightnesscolor
๐ŸŽจ Linearized perceptual lightness (L* in linear space).
LinuxResultlinux
๐Ÿง โš–๏ธ The return type for Linux-related functions that can fail.
LockResultstd
๐Ÿงต โš–๏ธ std A type alias for the result of a lock method which can be poisoned.
Lumacolor
๐ŸŽจ Gamma-encoded luma (Yโ€ฒ).
Luminancecolor
๐ŸŽจ Physical luminance.
MaybeByte
๐Ÿคท ๐Ÿซ— A byte type that may be uninitialized depending on features.
MaybeTimed
๐Ÿ•˜ ๐Ÿคท A value paired with an optional time-like companion.
NoData
โˆ… ๐Ÿชช Represents the absence of some data.
NoNum
โˆ… โ…€ Represents the absence of a number.
NoTime
โˆ… ๐Ÿ•˜ Represents the absence of time.
NonMaxU8
โ…€ โš—๏ธ An unsigned integer that is known not to equal its MAX value.
NonMaxU16
โ…€ โš—๏ธ An unsigned integer that is known not to equal its MAX value.
NonMaxU32
โ…€ โš—๏ธ An unsigned integer that is known not to equal its MAX value.
NonMaxU64
โ…€ โš—๏ธ An unsigned integer that is known not to equal its MAX value.
NonMaxU128
โ…€ โš—๏ธ An unsigned integer that is known not to equal its MAX value.
NonMaxUsize
โ…€ โš—๏ธ An unsigned integer that is known not to equal its MAX value.
NonMinI8
โ…€ โš—๏ธ A signed integer that is known not to equal its MIN value.
NonMinI16
โ…€ โš—๏ธ A signed integer that is known not to equal its MIN value.
NonMinI32
โ…€ โš—๏ธ A signed integer that is known not to equal its MIN value.
NonMinI64
โ…€ โš—๏ธ A signed integer that is known not to equal its MIN value.
NonMinI128
โ…€ โš—๏ธ A signed integer that is known not to equal its MIN value.
NonMinIsize
โ…€ โš—๏ธ A signed integer that is known not to equal its MIN value.
NonZeroI8
โ…€ โš—๏ธ core A signed integer that is known not to equal zero.
NonZeroI16
โ…€ โš—๏ธ core A signed integer that is known not to equal zero.
NonZeroI32
โ…€ โš—๏ธ core A signed integer that is known not to equal zero.
NonZeroI64
โ…€ โš—๏ธ core A signed integer that is known not to equal zero.
NonZeroI128
โ…€ โš—๏ธ core A signed integer that is known not to equal zero.
NonZeroIsize
โ…€ โš—๏ธ core A signed integer that is known not to equal zero.
NonZeroU8
โ…€ โš—๏ธ core An unsigned integer that is known not to equal zero.
NonZeroU16
โ…€ โš—๏ธ core An unsigned integer that is known not to equal zero.
NonZeroU32
โ…€ โš—๏ธ core An unsigned integer that is known not to equal zero.
NonZeroU64
โ…€ โš—๏ธ core An unsigned integer that is known not to equal zero.
NonZeroU128
โ…€ โš—๏ธ core An unsigned integer that is known not to equal zero.
NonZeroUsize
โ…€ โš—๏ธ core An unsigned integer that is known not to equal zero.
NumResult
โ…€ โš–๏ธ A numeric-related result.
OptRes
โš–๏ธ An optional result type that combines success, failure, and absence.
Orientation1
๐Ÿ“ ๐Ÿงญ A 1-dimensional Orientation.
Orientation2
๐Ÿ“ ๐Ÿงญ A 2-dimensional Orientation.
Orientation3
๐Ÿ“ ๐Ÿงญ A 3-dimensional Orientation.
Point2d
๐Ÿ“ A specific position in 2d-space without a size.
Point3d
๐Ÿ“ A specific position in 3d-space without a size.
Points2d
๐Ÿ“ A static sequence of 2-dimensional Points.
Position1
๐Ÿ“ A 1-dimensional Position.
Position2
๐Ÿ“ A 2-dimensional Position.
Position3
๐Ÿ“ A 3-dimensional Position.
Region1
๐Ÿ“ A 1-dimensional Region.
Region2
๐Ÿ“ A 2-dimensional Region.
Region3
๐Ÿ“ A 3-dimensional Region.
RegionS
๐Ÿ“ A Positioned Extent sharing the Same type.
RegionS1
๐Ÿ“ A 1-dimensional RegionS.
RegionS2
๐Ÿ“ A 2-dimensional RegionS.
RegionS3
๐Ÿ“ A 3-dimensional RegionS.
Rgb8color
๐ŸŽจ RGB color with 8-bit integer channels (sRGB gamma space).
Rgb16color
๐ŸŽจ RGB color with 16-bit integer channels (sRGB gamma space).
RgbF32color
๐ŸŽจ RGB color with 32-bit float channels (sRGB gamma space).
RgbF64color
๐ŸŽจ RGB color with 64-bit float channels (sRGB gamma space).
RgbLinF32color
๐ŸŽจ RGB color with 32-bit float channels (linear space).
RgbLinF64color
๐ŸŽจ RGB color with 64-bit float channels (linear space).
Rgba8color
๐ŸŽจ RGB+A color with 8-bit integer channels (sRGB gamma space, straight alpha).
Rgba16color
๐ŸŽจ RGB+A color with 16-bit integer channels (sRGB gamma space, straight alpha).
RgbaF32color
๐ŸŽจ RGB+A color with 32-bit float channels (sRGB gamma space, straight alpha).
RgbaF64color
๐ŸŽจ RGB+A color with 64-bit float channels (sRGB gamma space, straight alpha).
RgbaLinF32color
๐ŸŽจ RGB+A color with 32-bit float channels (linear space, straight alpha).
RgbaLinF64color
๐ŸŽจ RGB+A color with 64-bit float channels (linear space, straight alpha).
RgbaLinPreF32color
๐ŸŽจ RGB+A color with 32-bit float channels (linear space, premultiplied alpha).
RgbaLinPreF64color
๐ŸŽจ RGB+A color with 64-bit float channels (linear space, premultiplied alpha).
RgbaPre8color
๐ŸŽจ RGB+A color with 8-bit integer channels (sRGB gamma space, premultiplied alpha).
RgbaPre16color
๐ŸŽจ RGB+A color with 16-bit integer channels (sRGB gamma space, premultiplied alpha).
RgbaPreF32color
๐ŸŽจ RGB+A color with 32-bit float channels (sRGB gamma space, premultiplied alpha).
RgbaPreF64color
๐ŸŽจ RGB+A color with 64-bit float channels (sRGB gamma space, premultiplied alpha).
StackU8_stack_u8
๐Ÿ—ƒ๏ธ A Stack with an 8-bit index size.
Stride1
๐Ÿ“ A 1-dimensional Stride.
Stride2
๐Ÿ“ A 2-dimensional Stride.
Stride3
๐Ÿ“ A 3-dimensional Stride.
TextResult
๐“ โš–๏ธ A text-related result.
TextUnit
๐“ Basic text-domain unit.
ThreadResultstd
๐Ÿงต โš–๏ธ std A specialized Result type for threads.
TimeSplitHourNano
๐Ÿ•˜ A time split from hours to nanoseconds.
TimeSplitHourNanoNorm
๐Ÿ•˜ A time split from hours to nanoseconds, normalized (128b payload).
TimeSplitHourSec
๐Ÿ•˜ A time split from hours to seconds.
TimeSplitHourSecNorm
๐Ÿ•˜ A time split from hours to seconds, normalized (80b payload).
TimeSplitMilliNano
๐Ÿ•˜ A time split from milliseconds to nanoseconds.
TimeSplitMilliNanoNorm
๐Ÿ•˜ A time split from milliseconds to nanoseconds, normalized (48b payload).
TimeSplitNorm
๐Ÿ•˜ A time split from years to nanoseconds, normalized (152b payload).
TimeSplitYearDay
๐Ÿ•˜ A time split from years to days.
TimeSplitYearDayNorm
๐Ÿ•˜ A time split from years to days, normalized (80b payload).
TimeSplitYearSec
๐Ÿ•˜ A time split from years to seconds.
TimeSplitYearSecNorm
๐Ÿ•˜ A time split from years to seconds, normalized (104b payload).
TryLockResultstd
๐Ÿงต โš–๏ธ std A type alias for the result of a nonblocking locking method.
UiResultuiยทยท
โ–ฆ โš–๏ธ A user-interface result.
Vector2dlin
โŠ• A static 2-dimensional vector.
Vector3dlin
โŠ• A static 3-dimensional vector.
c_bool
โš™๏ธ โˆง Equivalent to C99 _Bool / <stdbool.h> bool.
c_char
โš™๏ธ ๐“ core Equivalent to the corresponding C type.
c_double
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_float
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_int
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_long
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_longlong
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_mode_t
โš™๏ธ โ…€ Equivalent to Cโ€™s mode_t type.
c_off_t
โš™๏ธ โ…€ Equivalent to Cโ€™s off_t type.
c_schar
โš™๏ธ ๐“ core Equivalent to the corresponding C type.
c_short
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_size_t
โš™๏ธ โ…€ Equivalent to Cโ€™s size_t type.
c_ssize_t
โš™๏ธ โ…€ Equivalent to Cโ€™s ssize_t type.
c_uchar
โš™๏ธ ๐“ core Equivalent to the corresponding C type.
c_uint
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_ulong
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_ulonglong
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
c_ushort
โš™๏ธ โ…€ core Equivalent to the corresponding C type.
char
โš™๏ธ ๐“ core A 32-bit Unicode scalar.
fsize16-bit or 32-bit or 64-bit
โš™๏ธ โ…€ A pointer-sized floating-point primitive.
g_boolglsl
โš™๏ธ โˆง A GLSL boolean.
g_doubleglsl
โš™๏ธ โ…€ A GLSL double-precision floating-point number.
g_floatglsl
โš™๏ธ โ…€ A GLSL single-precision floating-point number.
g_intglsl
โš™๏ธ โ…€ A GLSL signed 32-bit integer.
g_uintglsl
โš™๏ธ โ…€ A GLSL unsigned 32-bit integer.
isize_down16-bit or 32-bit or 64-bit
โš™๏ธ โ…€ A downcasted pointer-sized signed integer primitive.
isize_up16-bit or 32-bit or 64-bit
โš™๏ธ โ…€ An upcasted pointer-sized signed integer primitive.
js_booljs
โš™๏ธ โˆง A JavaScript boolean (true / false).
js_int32js
โš™๏ธ โ…€ A JavaScript signed 32-bit integer.
js_nulljs
โš™๏ธ โˆ… The JavaScript null value.
js_numberjs
โš™๏ธ โ…€ A JavaScript Number.
js_strjs
โš™๏ธ ๐“ A JavaScript string reference.
js_uint32js
โš™๏ธ โ…€ A JavaScript unsigned 32-bit integer.
js_undefinedjs
โš™๏ธ โˆ… The JavaScript undefined value.
usize_down16-bit or 32-bit or 64-bit
โš™๏ธ โ…€ A downcasted pointer-sized unsigned integer primitive.
usize_up16-bit or 32-bit or 64-bit
โš™๏ธ โ…€ An upcasted pointer-sized unsigned integer primitive.

Unionsยง

MaybeUninit
๐Ÿคท ๐Ÿซ— core A wrapper type to construct uninitialized instances of T.

Attribute Macrosยง

compile
โŒ— proc Conditionally compiles the thing it is attached to based on the predicate.
compile_attr
โŒ— proc Conditionally compiles the given attributes based on the predicate.
macro_apply
โŒ— proc Applies a declarative macro to the decorated item.
macro_derive
โŒ— proc Runs classic derives and declarative derives from one list.
macro_derive_with
โŒ— proc Runs declarative derive-like macros over the decorated item.

Derive Macrosยง

Clone
๐Ÿ’ฑ core A common trait that allows explicit creation of a duplicate value. (Derivable)
Copy
โŒ— core Types whose values can be duplicated simply by copying bits. (Derivable)
Debug
๐Ÿ–น ๐Ÿ› core ? formatting. (Derivable)
Default
๐ŸŒฑ core A trait for giving a type a useful default value. (Derivable)
Eq
โ…€ core Trait for comparisons corresponding to equivalence relations. (Derivable)
Hash
๐Ÿ”€ core A trait for creating instances of Hasher. (Derivable)
Ord
โ…€ โ‰ค core Trait for types that form a total order. (Derivable)
PartialEq
โ…€ core Trait for comparisons using the equality operator. (Derivable)
PartialOrd
โ…€ โ‰ค core Trait for types that form a partial order. (Derivable)