write_indented

Function write_indented 

Source
pub fn write_indented(
    formatter: &mut dyn Formatter,
    recorded_content: &FormatRecorder,
    write_prefix: impl FnMut(&mut dyn Formatter) -> Result<()>,
) -> Result<()>
Expand description

Indents each line by the given prefix preserving labels.