Trait custom_print::WriteStr
source · pub trait WriteStr {
type Output;
// Required method
fn write_str(&mut self, buf: &str) -> Self::Output;
}
Expand description
A trait for objects which can write str
returning a specific output.
This trait is used by FmtWriter
and ConcatWriter
writers.