pub type DebugFn = for<'mem> unsafe fn(_: PtrConst<'mem>, _: &mut Formatter<'_>) -> Result<(), Error>;Expand description
Function to format a value for debug. If this returns None, the shape did not implement Debug.
ยงSafety
The value parameter must point to aligned, initialized memory of the correct type.