Expand description
Prelude of common useful imports.
This should include only things which are in the normal std prelude.
Structs§
- Box
- A pointer type that uniquely owns a heap allocation of type
T
. - Reverse
- A helper struct for reverse ordering.
- Vec
- A contiguous growable array type, written as
Vec<T>
, short for ‘vector’.
Traits§
- Clone
- A common trait for the ability to explicitly duplicate an object.
- Eq
- Trait for comparisons corresponding to equivalence relations.
- Into
Iterator - Conversion into an
Iterator
. - Partial
Eq - Trait for comparisons using the equality operator.
- ToOwned
- A generalization of
Clone
to borrowed data.