Skip to main content

report

Function report 

Source
pub fn report<S: AsRef<str>>(
    lang: &Lang,
    variants: &[S],
    widths: &CellWidths,
    code: &str,
    options: &Options,
) -> Result<String, String>
Expand description

The report for the pack code of lang (a tag in any spelling LangCode::parse reads: pt_br is pt-BR), or why there is none. variants are a line’s variants, in the pack files’ order; widths measure the screen text against its places (the font atlas’s, CellWidths::of, or CellWidths::NARROW).