[][src]Crate format_xml

Template XML formatting

Minimal compiletime templating in Rust!

Get started by taking a look at the template! and xml! macros.

Modules

template

Replace the standard formatting macros using template syntax.

xml

Replaces the standard formatting macros using xml syntax.

Macros

csv

Displays the arguments as comma-separated values.

escape

Formats the arguments while escaping &<>"' with their equivalent entities.

join

Displays the arguments joined with the given separator.

spaced

Displays the arguments as space-separated values.

template

Template strings.

xml

Template XML-like.

Functions

csv

Displays an iterable with commas between each item.

escape

Escapes &<>"' with their equivalent entities.

fmt

Returns a Display implementation using the provided closure.

join

Displays an iterable with given separator between each item.

spaced

Displays an iterable with spaces between each item.