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
cell_w: usize
cell_h: usize