Module sp_std::prelude[][src]

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 for heap allocation.

A helper struct for reverse ordering.

A contiguous growable array type, written as Vec<T> and pronounced ‘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 which are partial equivalence relations.

Simple and safe type conversions that may fail in a controlled way under some circumstances. It is the reciprocal of TryInto.

An attempted conversion that consumes self, which may or may not be expensive.