Module prelude

Source
Expand description

Exports from std, core and alloc crates.

Guarantees a stable interface between std and no_std modes.

Modules§

any
Utilities for dynamic typing or type reflection.
borrow
A module for working with borrowed data.
boxed
The Box<T> type for heap allocation.
cmp
Utilities for comparing and ordering values.
collections
Collection types.
fmt
Utilities for formatting and printing Strings.
hash
Generic hashing support.
iter
Composable external iteration.
marker
Primitive traits and types representing basic properties of types.
mem
Basic functions for dealing with memory.
num
Additional functionality for numerics.
ops
Overloadable operators.
rc
Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
string
A UTF-8–encoded, growable string.
sync
Useful synchronization primitives.
time
Temporal quantification.
vec
A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros§

format
Creates a String using interpolation of runtime expressions.
vec
Creates a Vec containing the arguments.