WitMap

Type Alias WitMap 

Source
pub type WitMap<T> = Vec<(String, T)>;
Expand description

Representation of maps (AKA associative arrays) that are usable from WIT

This representation is required because WIT does not natively have support for a map type, so we must use a list of tuples

Aliased Typeยง

pub struct WitMap<T> { /* private fields */ }