zerovec

Module maps

Source
Expand description

This module contains additional utility types and traits for working with ZeroMap and ZeroMap2d. See their docs for more details on the general purpose of these types.

ZeroMapBorrowed and ZeroMap2dBorrowed are versions of ZeroMap and ZeroMap2d that can be used when you wish to guarantee that the map data is always borrowed, leading to relaxed lifetime constraints.

The ZeroMapKV trait is required to be implemented on any type that needs to be used within a map type. ZeroVecLike and MutableZeroVecLike are traits used in the internal workings of the map types, and should typically not be used or implemented by users of this crate.

Re-exports§

Structs§

Traits§