pub trait BufferMut<T>: Buffer<T> { // Required method fn get_mut(&mut self, x: u32, y: u32) -> &mut T; }
2D mutable buffer trait.
Get a mutable value at (x, y). This function must not panic when x < self.width() && y < self.height() (unless you want blit functions to panic). It will not be called with values outside of that range.
x < self.width() && y < self.height()