Function edres::create_structs_from_files
source · [−]pub fn create_structs_from_files<DirPath: AsRef<Path>, DestPath: AsRef<Path>, Name: AsRef<str>>(
dir_path: DirPath,
dest_path: DestPath,
struct_name: Name,
options: &Options
) -> Result<(), Error>
Expand description
Create a Rust source file that defines a set of structs based on the contents of the files in the given directory.