Module stdlib

Source

Modules§

char
Utilities for the char primitive type.
fmt
Utilities for formatting and printing Strings.
iter
Composable external iteration.
mem
Basic functions for dealing with memory.
ops
Overloadable operators.
ptr
Manually manage memory through raw pointers.
slice
Utilities for the slice primitive type.
time
Temporal quantification.

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
BTreeMap
An ordered map based on a B-Tree.
BTreeSet
An ordered set based on a B-Tree.
Cell
A mutable memory location.
Dummy
Zero-sized type used to mark things that “act like” they own a T.
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
HashSet
A hash set implemented as a HashMap where the value is ().
Range
A (half-open) range bounded inclusively below and exclusively above (start..end).
Rc
A single-threaded reference-counting pointer. ‘Rc’ stands for ‘Reference Counted’.
VecDeque
A double-ended queue implemented with a growable ring buffer.
Weak
Weak is a version of Rc that holds a non-owning reference to the managed allocation.

Enums§

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

Traits§

Borrow
A trait for borrowing data.
Debug
? formatting.

Functions§

type_size
Returns the size of a type in bytes.

Derive Macros§

Debug
Derive macro generating an impl of the trait Debug.