Function alacritty::display::compute_cell_size[][src]

fn compute_cell_size(config: &UiConfig, metrics: &Metrics) -> (f32, f32)
Expand description

Calculate the cell dimensions based on font metrics.

This will return a tuple of the cell width and height.