Struct xmlsafe::AttWriter[][src]

pub struct AttWriter<'a>(_);
Expand description

An XML attribute writer returned by XmlWriter::open_start_tag.

Implementations

Writes an attribute. Avoid writing two attributes with the same name or your XML will be invalid.

Writes the given attribute and returns the Writer to allow method chaining. Avoid writing two attributes with the same name or your XML will be invalid.

Consumes the writer, writes a key and returns an AttValueWriter.

Closes the opening tag, returning an XmlWriter you can use to write the element content. To produce a valid XML document you will need to close the tag after the content.

Closes the element with a self-closing tag. Returns the XmlWriter so you can continue writing the document.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.