pub fn parse_conversion_map(
    types: &HashMap<Atom, String>,
) -> Result<HashMap<Atom, Conversion>, ConversionError> {
    types
        .into_iter()
        .map(|(field, typename)| {
            typename
                .parse::<Conversion>()
                .map(|conv| (field.clone(), conv))
        })
        .collect()
}
/// Helper function to parse a mapping of conversion descriptions into actual Conversion values.
Helper function to parse a mapping of conversion descriptions into actual Conversion values.
Helper function to parse a mapping of conversion descriptions into actual Conversion values .
pub fn parse_conversion_map(
    types: &HashMap<Atom, String>,
) -> Result<HashMap<Atom, Conversion>, ConversionError> {
    types
        .into_iter()
        .map(|(field, typename)| {
            typename
                .parse::<Conversion>()
                .map(|conv| (field.clone(), conv))
        })
        .collect()
}
pub fn parse_conversion_map ( types : & HashMap < Atom , String > , ) -> Result < HashMap < Atom , Conversion > , ConversionError > { types . into_iter ( ) . map ( | ( field , typename ) | { typename . parse :: < Conversion > ( ) . map ( | conv | ( field . clone ( ) , conv ) ) } ) . collect ( ) }
Helper function to parse a mapping of conversion descriptions into actual Conversion values.
Helper function to parse a mapping of conversion descriptions into actual Conversion values .
types
&HashMap<Atom, String>