Function format_with_flags

Source
pub fn format_with_flags<G: Into<BitFlags<PrintFlag>>, R, F: FnOnce() -> R>(
    flags: G,
    f: F,
) -> R
Expand description

For the duration of the closure F change the way type variables are formatted (on this thread only) according to the specified flags.