pub fn sort_values_by_modules_dependencies<C: Context, TValue>(
module_value_tuples: Vec<(&dyn ModuleInfo<Context = C>, TValue)>
) -> Result<Vec<TValue>, Error>where
TValue: Clone,
Expand description
Accepts Vec<> of tuples (&ModuleInfo, &TValue), and returns Vec<&TValue> sorted by mapped module dependencies