Type Alias DisplayFn
Source pub type DisplayFn = for<'mem> unsafe fn(PtrConst<'mem>, &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.
ยงSafety
The value parameter must point to aligned, initialized memory of the correct type.