pub fn create_enum_from_source<Source: AsRef<str>, DestPath: AsRef<Path>, Name: AsRef<str>>(
source: Source,
dest_path: DestPath,
enum_name: Name,
format: Format,
options: &Options,
) -> Result<(), Error>Expand description
Create a Rust source file that defines an enum based on the map keys of the given markup source.