Skip to main content

render_items

Function render_items 

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

Render a slice of Serialize items as pretty-printed, indented XML lines. Filters out empty items. Returns empty string if no items render.