Crate tagger[−][src]
This crate provides primitives to build up a html/xml/svg document programatically. Instead of using a templating engine, write data/markup that 'looks like' rust.
Why so many closures?
Unlike Drop, passing closures allows us to guarantee that some code runs that could fail during nominal execution.
Modules
| prelude | The prelude to import the element manipulation convenience macros. |
| svg | svg related building blocks |
| tag_types | Common tags to be used in |
Macros
| wr | Convenience macro to reduce code. Create a closure that will use write!() with the formatting arguments. |
Structs
| AttributeWriter | Builder to write out attributes to an element. |
| Element | An element. |
| ElementHeaderWriter | Used by |
| HeaderWrittenCertificate | Struct indicating that the |
| WriterAdaptor | Used by |
Traits
| WriteAttr | Functions the user can call to add attributes.
|
Functions
| upgrade | Upgrade a |