Function edres::generate_structs
source · [−]pub fn generate_structs<SrcPath: AsRef<Path>, Name: AsRef<str>>(
src_path: SrcPath,
struct_name: Name,
options: &Options
) -> Result<String, Error>
Expand description
Generate Rust code that defines a set of structs based on a given markup file.