Skip to main content

core_enum_path

Function core_enum_path 

Source
pub fn core_enum_path(enum_def: &EnumDef, core_import: &str) -> String
Expand description

Derive the Rust import path for an enum, replacing hyphens with underscores.