Module

core

source

The core library: the language's own vocabulary types. Needs no allocator and no operating system.

Modules

arrayFixed-length arrays over caller-provided storage.
asciiASCII character classes and case conversion.
atomicMemory orderings for the atomic operations on raw pointers (unsafe p.atomic_load(Ordering::Acquire), unsafe fence(...), ...), with the meanings C11 gives them.
borrowBorrowed views of values through the Borrow trait.
capBranded access capabilities: one exclusive writer or a tree of shared readers.
cmpOrdering and comparison traits.
cstrNUL-terminated strings for C interfaces.
cursorText cursors for incremental parsing.
fmtThe writer protocol and the printing and formatting traits.
hashHashing and equality traits, and the keyed hash behind them.
iterThe iterator protocol and iterator adapters.
memMemory ownership and access vocabulary built from brands and linear values.
numNumber limits, float classification and rounding, and float bits.
optionOptional values and fallible results.
parseParsing integers from byte views.
processProcess traps and termination primitives.
ptrRaw pointer operations.
rawRaw reads over flat buffers.
sliceChecked contiguous views over borrowed storage.
strText: read-only views of bytes.
utf8UTF-8 validation and decoding.