pub fn new(rows: usize, columns: usize) -> Self {
        AsciiCanvas {
            rows: rows,
            columns: columns,
            characters: vec![' '; columns * rows],
            styles: vec![Style::new(); columns * rows],
        }
    }
/// Create a canvas of the given size. We will automatically add
/// rows as needed, but the columns are fixed at creation.
Create a canvas of the given size. We will automatically add
rows as needed, but the columns are fixed at creation.
Create a canvas of the given size . We will automatically add rows as needed but the columns are fixed at creation .
pub fn new(rows: usize, columns: usize) -> Self {
        AsciiCanvas {
            rows: rows,
            columns: columns,
            characters: vec![' '; columns * rows],
            styles: vec![Style::new(); columns * rows],
        }
    }
pub fn new ( rows : usize , columns : usize ) -> Self { AsciiCanvas { rows : rows , columns : columns , characters : vec ! [ ' ' columns rows ] , styles : vec ! [ Style new ( ) columns rows ] , } }
Create a canvas of the given size.
Create a canvas of the given size .
rows
usize
columns
usize
rows
usize
columns
usize