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