Skip to main content

render_items

Function render_items 

Source
pub fn render_items(items: &[RustItem]) -> String
Expand description

Render a list of RustItems to formatted Rust source code.

Converts each item to its string representation, joins them, then formats the result via syn::parse_file + prettyplease::unparse.