pub fn format_with_flags<R, F: FnOnce() -> R>( flags: BitFlags<PrintFlag>, f: F, ) -> R
For the duration of the closure F change the way type variables are formatted (on this thread only) according to the specified flags.