pub fn clear_line(&mut self, line: usize) {
        for x in 0..self.width {
            self[(x,line)] = Cell::Empty;
        }
    }
//clear line without moving others down
clear line without moving others down
clear line without moving others down
pub fn clear_line(&mut self, line: usize) {
        for x in 0..self.width {
            self[(x,line)] = Cell::Empty;
        }
    }
pub fn clear_line ( & mut self , line : usize ) { for x in 0 .. self . width { self [ ( x , line ) ] = Cell :: Empty ; } }
clear line without moving others down
clear line without moving others down
&mut self
line
usize
&mut self
line
usize