Skip to main content

from_fn

Function from_fn 

Source
pub fn from_fn<F>(f: F) -> FromFn<F>
where F: Fn(&mut Formatter<'_>) -> Result,
Expand description

Creates a formatter from a function.