Function edres::create_enum
source · [−]pub fn create_enum<SrcPath: AsRef<Path>, DestPath: AsRef<Path>, Name: AsRef<str>>(
src_path: SrcPath,
dest_path: DestPath,
enum_name: Name,
options: &Options
) -> Result<(), Error>
Expand description
Create a Rust source file that defines an enum based on the map keys of the given markup file.