VecMap1

Type Alias VecMap1 

Source
pub type VecMap1<K, V> = VecMap<[(K, V); 1]>;
Expand description

Type alias for a VecMap with up to 1 mapping with inline storage.

This is a good default, since for usize sized keys and values, 1 mapping is the max you can fit in without making the struct larger.

Aliased Typeยง

pub struct VecMap1<K, V>(/* private fields */);