[][src]Crate sr_std

Lowest-abstraction level for the Substrate runtime: just exports useful primitives from std or core/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

borrow

A module for working with borrowed data.

boxed

A pointer type for heap allocation.

cell

Shareable mutable containers.

clone

The Clone trait for types that cannot be 'implicitly copied'.

cmp

Functionality for ordering and comparison.

collections
convert

Traits for conversions between types.

fmt

Utilities for formatting and printing Strings.

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 Result type.

slice

A dynamically-sized view into a contiguous sequence, [T].

vec

A contiguous growable array type with heap-allocated contents, written Vec<T>.

Macros

map
vec

Creates a Vec containing the arguments.