[][src]Module sp_std::prelude

Prelude of common useful imports.

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

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.

Structs

Box

A pointer type for heap allocation.

Reverse

A helper struct for reverse ordering.

Vec

A contiguous growable array type, written Vec<T> but pronounced 'vector'.

Traits

Clone

A common trait for the ability to explicitly duplicate an object.

Eq

Trait for equality comparisons which are equivalence relations.

PartialEq

Trait for equality comparisons which are partial equivalence relations.