Trait pulldown_cmark::escape::StrWrite
source · [−]pub trait StrWrite {
fn write_str(&mut self, s: &str) -> Result<()>;
fn write_fmt(&mut self, args: Arguments<'_>) -> Result<()>;
}
Expand description
Trait that allows writing string slices. This is basically an extension
of std::io::Write
in order to include String
.