Type Definition indenter::Inserter[][src]

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

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