unsafe fn display<A: 'static, H: AttachmentHandler<A>>(
ptr: RawAttachmentRef<'_>,
formatter: &mut Formatter<'_>,
) -> ResultExpand description
Formats an attachment using its handler’s display implementation.
§Safety
The caller must ensure that the type A matches the actual attachment type stored in the AttachmentData.