Function edres::create_enum_from_filenames
source · [−]pub fn create_enum_from_filenames<DirPath: AsRef<Path>, DestPath: AsRef<Path>, Name: AsRef<str>>(
dir_path: DirPath,
dest_path: DestPath,
enum_name: Name,
options: &Options
) -> Result<(), Error>
Expand description
Create a Rust source file that defines an enum based on the file names within the given directory.