Struct xml::writer::events::EndElementBuilder
[−]
[src]
pub struct EndElementBuilder<'a> { /* fields omitted */ }
Methods
impl<'a> EndElementBuilder<'a>
[src]
A builder for a closing element event.
fn name<N>(self, name: N) -> EndElementBuilder<'a> where N: Into<Name<'a>>
Sets the name of this closing element.
Usually the writer is able to determine closing element names automatically. If this functionality is enabled (by default it is), then this name is checked for correctness. It is possible, however, to disable such behavior; then the user must ensure that closing element name is correct manually.