Trait custom_print::WriteBytes
source · pub trait WriteBytes {
type Output;
// Required method
fn write_bytes(&mut self, buf: &[u8]) -> Self::Output;
}
Expand description
A trait for objects which can write bytes returning a specific output.
This trait is used by IoWriter
.
Required Associated Types§
Required Methods§
sourcefn write_bytes(&mut self, buf: &[u8]) -> Self::Output
fn write_bytes(&mut self, buf: &[u8]) -> Self::Output
Performs byte writing.