WriterExt

Trait WriterExt 

Source
pub trait WriterExt<'w, W = File>
where W: Write,
{ // Required methods fn tag(self, name: &str) -> TagBuilder<'w, W>; fn write_value(&mut self, value: &impl XmlWrite) -> XmlResult<()>; fn write_text(&mut self, text: &(impl Display + ?Sized)) -> XmlResult<()>; }

Required Methods§

Source

fn tag(self, name: &str) -> TagBuilder<'w, W>

Source

fn write_value(&mut self, value: &impl XmlWrite) -> XmlResult<()>

Source

fn write_text(&mut self, text: &(impl Display + ?Sized)) -> XmlResult<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'w, W> WriterExt<'w, W> for &'w mut Writer<W>
where W: Write,