scale_info

Module 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.
  • Composable external iteration.
  • Primitive traits and types representing basic properties of types.
  • Basic functions for dealing with memory.
  • Additional functionality for numerics.
  • Overloadable operators.
  • Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’.
  • A UTF-8–encoded, growable string.
  • Useful synchronization primitives.
  • Temporal quantification.
  • 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.