Trait pulldown_cmark_escape::StrWrite
source · pub trait StrWrite {
// Required methods
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
.