Skip to main content

Module heap

Module heap 

Source
Expand description

Heap-backed containers for generated mode = "heap" message fields (RFC-0033). Available whenever an allocator is (the alloc or std feature). Generated code refers to nros_core::heap::{Vec, String} so the same path works in both crate and inline (build.rs) codegen modes.

Structs§

String
A UTF-8–encoded, growable string.
Vec
A contiguous growable array type, written as Vec<T>, short for ‘vector’.