Crate ink_prelude
source · [−]Expand description
Data structures to operate on contract memory during contract execution.
These definitions are useful since we are operating in a no_std
environment
and should be used by all ink! crates instead of directly using std
or alloc
crates. If needed we shall instead enhance the exposed types here.
The ink_prelude
crate guarantees a stable interface between std
and no_std
mode.
Modules
A module for working with borrowed data.
A pointer type for heap allocation.
Collection types.
A UTF-8–encoded, growable string.
A contiguous growable array type with heap-allocated contents, written
Vec<T>
.