pub fn generate_enum<SrcPath: AsRef<Path>, Name: AsRef<str>>(
src_path: SrcPath,
enum_name: Name,
options: &Options,
) -> Result<String, Error>Expand description
Generate Rust code that defines an enum based on the map keys of the given markup file.