[][src]Trait pulldown_cmark::escape::StrWrite

pub trait StrWrite {
    fn write_str(&mut self, s: &str) -> Result<()>;
fn write_fmt(&mut self, args: Arguments<'_>) -> Result<()>; }

Trait that allows writing string slices. This is basically an extension of std::io::Write in order to include String.

Required methods

fn write_str(&mut self, s: &str) -> Result<()>

fn write_fmt(&mut self, args: Arguments<'_>) -> Result<()>

Loading content...

Implementations on Foreign Types

impl<'w> StrWrite for String[src]

impl<W, '_> StrWrite for &'_ mut W where
    W: StrWrite
[src]

Loading content...

Implementors

impl<W> StrWrite for WriteWrapper<W> where
    W: Write
[src]

Loading content...