Trait custom_print::WriteStr[][src]

pub trait WriteStr {
    type Output;
    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.

Associated Types

The resulting type after writing.

Required methods

Performs byte writing.

Implementors