Type Alias DisplayFnTyped

Source
pub type DisplayFnTyped<T> = fn(&T, &mut Formatter<'_>) -> Result<(), Error>;
Expand description

Function to format a value for display

If both DisplayFn and ParseFn are set, we should be able to round-trip the value.