pub fn display_closure_as<F: Format>( f: F, c: impl Fn(&mut Formatter<'_>) -> Result<(), Error>, ) -> impl DisplayAs<F>
Display the given closure as this format.
This is used internally in template handling.