Module borsh::maybestd

source ·
Expand description

A facade around all the types we need from the std, core, and alloc crates. This avoids elaborate import wrangling having to happen in every module.

Modules

  • A module for working with borrowed data.
  • The Box<T> type for heap allocation.
  • Collection types.
  • Traits, helpers, and type definitions for core I/O functionality.
  • 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.