Module prelude

Source

Structs§

Box
A pointer type that uniquely owns a heap allocation of type T.
Reverse
A helper struct for reverse ordering.
String
A UTF-8–encoded, growable string.
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.
IntoIterator
Conversion into an Iterator.
PartialEq
Trait for comparisons using the equality operator.
ToOwned
A generalization of Clone to borrowed data.
ToString
A trait for converting a value to a String.

Derive Macros§

Clone
Derive macro generating an impl of the trait Clone.
Eq
Derive macro generating an impl of the trait Eq.
PartialEq
Derive macro generating an impl of the trait PartialEq. The behavior of this macro is described in detail here.