pub fn render_fn<F>(f: F) -> RenderFn<F>where F: Fn(&mut Formatter<'_>) -> Result,
Creates a type whose Render impl is provided with the function f.
Render
f