pub trait BufferWrite {
// Required method
fn write_to_buffer(&self, buffer: &mut Vec<u8>);
}Expand description
Writes VT escape sequences to a byte buffer.
Implement this trait to enable use with the splat! macro.
Required Methods§
Sourcefn write_to_buffer(&self, buffer: &mut Vec<u8>)
fn write_to_buffer(&self, buffer: &mut Vec<u8>)
Appends the VT sequence bytes to the buffer.