Skip to main content

indent_columns_for_new_line

Function indent_columns_for_new_line 

Source
pub fn indent_columns_for_new_line(
    method: IndentMethod,
    prev: Option<&str>,
    next: Option<&str>,
    unit: IndentUnit,
    brackets: BracketSyntax,
) -> u16
Expand description

indent_for_new_line in display columns, before rendering. Separate so IN.2’s engine can compare its own answer against the fallback’s without allocating.