Type Alias DisplayFn
Source pub type DisplayFn = for<'mem> unsafe fn(value: PtrConst<'mem>, f: &mut Formatter<'_>) -> Result;
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.