Crate sp_std[−][src]
Lowest-abstraction level for the Substrate runtime: just exports useful primitives from std or client/alloc to be used with any code that depends on the runtime. Substrate runtime standard library as compiled when linked with Rust’s standard library.
Modules
alloc | Memory allocation APIs. |
any | This module implements the |
borrow | A module for working with borrowed data. |
boxed | A pointer type for heap allocation. |
cell | Shareable mutable containers. |
clone | The |
cmp | Functionality for ordering and comparison. |
collections | |
convert | Traits for conversions between types. |
default | The |
fmt | Utilities for formatting and printing |
hash | Generic hashing support. |
iter | Composable external iteration. |
marker | Primitive traits and types representing basic properties of types. |
mem | Basic functions for dealing with memory. |
num | Additional functionality for numerics. |
ops | Overloadable operators. |
prelude | Prelude of common useful imports. |
ptr | Manually manage memory through raw pointers. |
rc | Single-threaded reference-counting pointers. ‘Rc’ stands for ‘Reference Counted’. |
result | Error handling with the |
slice | A dynamically-sized view into a contiguous sequence, |
str | Unicode string slices. |
sync | Useful synchronization primitives. |
thread | |
vec | A contiguous growable array type with heap-allocated contents, written
|
Macros
if_std | Feature gate some code that should only be run when |
map | |
vec | Creates a |
Structs
Writer | A target for |