Struct matrix_display::Format [] [src]

pub struct Format {
    pub cell_w: usize,
    pub cell_h: usize,
}

Format of a cell in a matrix

Decide of the cell width and the cell height. The matrix will pad its cells according to a Format.

Example: let format = matrix_display::Format::new(7,3)

Fields

Methods

impl Format
[src]

Trait Implementations

impl Default for Format
[src]

Returns the "default value" for a type. Read more