Skip to main content

Module heapless_ordered_map

Module heapless_ordered_map 

Source
Expand description

Stack-allocated insertion-order map.

This module is the stack half of SmallOrderedMap. It wraps heapless::LinearMap and adds full Borrow-based lookup and a remove that preserves insertion order, returning Err((key, value)) when the inner map is full so the caller can transparently spill to a heap OrderMap.

Structsยง

HeaplessOrderedMap
A stack-allocated, insertion-order-preserving map backed by heapless::LinearMap.