Skip to main content

core_enum_path_remapped

Function core_enum_path_remapped 

Source
pub fn core_enum_path_remapped(
    enum_def: &EnumDef,
    core_import: &str,
    remaps: &[(&str, &str)],
) -> String
Expand description

Like core_enum_path but rewrites the leading crate segment when it matches a known source→override mapping. See core_type_path_remapped for details.