Module stdlib
Source - char
- Utilities for the
char
primitive type. - fmt
- Utilities for formatting and printing
String
s. - 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.
- 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.
- ord
- An
Ordering
is the result of a comparison between two values.
- Borrow
- A trait for borrowing data.
- Debug
?
formatting.
- type_size
- Returns the size of a type in bytes.
- Debug
- Derive macro generating an impl of the trait
Debug
.