Skip to main content

gpu_info_lines

Function gpu_info_lines 

Source
pub(crate) fn gpu_info_lines(info: &GpuInfo) -> Vec<GpuInfoLine>
Expand description

The lines the GPU-info panel shows, top to bottom.

The wording lives here and nowhere else: the width measurement and the drawing both walk this list, so a fact cannot be measured as one string and drawn as another, nor measured in one font and drawn in another.