pub fn generate_record(record: &Record) -> Result<String, CodegenError>Expand description
Generate formatted Rust source for a single record data type.
ยงErrors
Returns CodegenError if the generated tokens are not valid Rust.
pub fn generate_record(record: &Record) -> Result<String, CodegenError>Generate formatted Rust source for a single record data type.
Returns CodegenError if the generated tokens are not valid Rust.