display

Function display 

Source
unsafe fn display<A: 'static, H: AttachmentHandler<A>>(
    ptr: RawAttachmentRef<'_>,
    formatter: &mut Formatter<'_>,
) -> Result
Expand 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.