Module data

Module data 

Source
Expand description

This module encapsulates the fields of the AttachmentData. Since this is the only place they are visible, this means that the type of the AttachmentVtable is guaranteed to always be in sync with the type of the actual attachment. This follows from the fact that they are in sync when created and that the API offers no way to change the AttachmentVtable or attachment type after creation.

Structsยง

AttachmentData ๐Ÿ”’
Type-erased attachment data structure with vtable-based dispatch.