Module std

Source
Expand description

Custom std module.

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.
cell
Shareable mutable containers.
cmp
Utilities for comparing and ordering values.
convert
Traits for conversions between 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.
ops
Overloadable operators.
ptr
Manually manage memory through raw pointers.
rc
Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
slice
Utilities for the slice primitive type.
string
A UTF-8–encoded, growable string.
sync
Useful synchronization primitives.
u32Deprecation planned
Redundant constants module for the u32 primitive type.
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.