pub struct XmlWriter<W: Write> { /* private fields */ }Implementations§
Source§impl<W: Write> XmlWriter<W>
impl<W: Write> XmlWriter<W>
pub fn new(inner: W) -> Self
pub fn write_declaration(&mut self) -> Result<()>
pub fn start_element(&mut self, name: &str) -> ElementBuilder<'_, W>
pub fn end_element(&mut self, name: &str) -> Result<()>
pub fn write_text(&mut self, text: &str) -> Result<()>
Auto Trait Implementations§
impl<W> Freeze for XmlWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for XmlWriter<W>where
W: RefUnwindSafe,
impl<W> Send for XmlWriter<W>where
W: Send,
impl<W> Sync for XmlWriter<W>where
W: Sync,
impl<W> Unpin for XmlWriter<W>where
W: Unpin,
impl<W> UnwindSafe for XmlWriter<W>where
W: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more