Function format_with_flags

Source
pub fn format_with_flags<R, F: FnOnce() -> R>(
    flags: BitFlags<PrintFlag>,
    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.