/// Create a new BufferManager with default values.
Create a new BufferManager with default values.
Create a new BufferManager with default values .
pub fn new() -> BufferManager {
        BufferManager {
            buffers: vec![Buffer::new()],
            current_buffer_index: 0,
        }
    }
pub fn new ( ) -> BufferManager { BufferManager { buffers : vec ! [ Buffer new ( ) ] , current_buffer_index : 0 , } }
Create a new BufferManager with default values.
Create a new BufferManager with default values .