BufferWrite

Trait BufferWrite 

Source
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§

Source

fn write_to_buffer(&self, buffer: &mut Vec<u8>)

Appends the VT sequence bytes to the buffer.

Implementations on Foreign Types§

Source§

impl BufferWrite for str

Source§

fn write_to_buffer(&self, buffer: &mut Vec<u8>)

Source§

impl BufferWrite for [u8]

Source§

fn write_to_buffer(&self, buffer: &mut Vec<u8>)

Implementors§