Skip to main content

Module stdlib

Module stdlib 

Source

Modules§

iter
Composable external iteration.
mem
Basic functions for dealing with memory.
ops
Overloadable operators.
ptr
Manually manage memory through raw pointers.
rc
Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
time
Temporal quantification.

Structs§

BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
BinaryHeap
A priority queue implemented with a binary heap.
Cell
A mutable memory location.
Dummy
Zero-sized type used to mark things that “act like” they own a T.
Formatter
Configuration for formatting.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
Rc
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
VecDeque
A double-ended queue implemented with a growable ring buffer.

Enums§

ord
An Ordering is the result of a comparison between two values.

Traits§

Borrow
A trait for borrowing data.
Debug
? formatting.
Display
Format trait for an empty format, {}.

Functions§

type_size
Returns the size of a type in bytes.

Type Aliases§

fmtRes
The type returned by formatter methods.

Derive Macros§

Debug
Derive macro generating an impl of the trait Debug.