Module scale_info::prelude

source ·
Expand description

Exports from std, core and alloc crates.

Guarantees a stable interface between std and no_std modes.

Modules

  • Utilities for dynamic typing or type reflection.
  • A module for working with borrowed data.
  • The Box<T> type for heap allocation.
  • Utilities for comparing and ordering values.
  • Collection types.
  • Utilities for formatting and printing Strings.
  • Generic hashing support.
  • Primitive traits and types representing basic properties of types.
  • Basic functions for dealing with memory.
  • Additional functionality for numerics.
  • Overloadable operators.
  • A UTF-8–encoded, growable string.
  • A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros

  • Creates a String using interpolation of runtime expressions.
  • Creates a Vec containing the arguments.