Type Definition indenter::Inserter[][src]

type Inserter = dyn FnMut(usize, &mut dyn Write) -> Result;

A callback for Format::Custom used to insert indenation after a new line

The first argument is the line number within the output, starting from 0