pub struct EndElementBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> EndElementBuilder<'a>
impl<'a> EndElementBuilder<'a>
A builder for a closing element event.
sourcepub fn name<N>(self, name: N) -> EndElementBuilder<'a> where
N: Into<Name<'a>>,
pub 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.
Trait Implementations
sourceimpl<'a> From<EndElementBuilder<'a>> for XmlEvent<'a>
impl<'a> From<EndElementBuilder<'a>> for XmlEvent<'a>
sourcefn from(b: EndElementBuilder<'a>) -> XmlEvent<'a>
fn from(b: EndElementBuilder<'a>) -> XmlEvent<'a>
Performs the conversion.
Auto Trait Implementations
impl<'a> RefUnwindSafe for EndElementBuilder<'a>
impl<'a> Send for EndElementBuilder<'a>
impl<'a> Sync for EndElementBuilder<'a>
impl<'a> Unpin for EndElementBuilder<'a>
impl<'a> UnwindSafe for EndElementBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more