merge_configs

Function merge_configs 

Source
fn merge_configs(cfgs: Vec<ConfigFile>) -> ConfigFile
Expand description

Merge separate InstantiatedConfig objects together in a hierarchical way.

The supplied cfgs is assumed to have the configurations listed in order of priority, with the highest priority element first. Options listed in configurations at the end of the list will be overruled if those same options are Some() in earlier configurations.