Contents

AnyAttachmentContent

A type-erased attachment content.

Declaration

@MainActor @frozen @preconcurrency struct AnyAttachmentContent

Overview

An AnyAttachmentContent allows changing the type of attachment used in a given attachment content. Whenever the type of attachment content used with an AnyAttachmentContent changes, the old content is destroyed and the new content is created for the new type.

Topics

Initializers

See Also

Attachment types