Type Alias PrintCallback

Source
pub type PrintCallback = fn(PrintLevel, String);
Expand description

The type of callback functions suitable for being provided to set_print.