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 pro! crates instead of directly using std or alloc
crates. If needed we shall instead enhance the exposed types here.
The pro_prelude crate guarantees a stable interface between std and no_std mode.
Modules§
- borrow
- A module for working with borrowed data.
- boxed
- The
Box<T>type for heap allocation. - collections
- Collection types.
- string
- A UTF-8–encoded, growable string.
- vec
- A contiguous growable array type with heap-allocated contents, written
Vec<T>.