Module sp_std::prelude

source ·
Expand description

Prelude of common useful imports.

This should include only things which are in the normal std prelude.

Macros

Derive macro generating an impl of the trait Clone.
Derive macro generating an impl of the trait Eq.
Derive macro generating an impl of the trait PartialEq.

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 equality comparisons which are equivalence relations.
Conversion into an Iterator.
Trait for equality comparisons.
A generalization of Clone to borrowed data.