Module sp_std::prelude

source ·
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

Derive 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. The behavior of this macro is described in detail here.