[][src]Function starling::utils::tree_utils::generate_leaf_map

pub fn generate_leaf_map<ArrayType, ValueType>(
    keys: &[ArrayType]
) -> HashMap<ArrayType, Option<ValueType>> where
    ArrayType: Array

This function initializes a hashmap to have entries for each provided key. Values are initialized to None.