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