[][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

escape

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

template

Template strings.

xml

Template XML-like.

Structs

CommaFmt

Formats tuples as a comma separated items.

Escape

Escapes &<>"' with their equivalent entities.

FnFmt

Implements Display for closures.

SpacedSet

Formats an iterable with spaces between the items.

Functions

spaced_comma_set

Formats an iterable with spaces of comma formatted items.