pub fn register_collection_fields(
template: ClassTemplateId,
slots: Vec<FieldSlot>,
)Expand description
Registers (same discipline as register_handle_fields) the ordered
list of template’s own non-static fields that hold a collection handle
(a queue, dynamic array or associative array; ledger XC-059): release
frees each such collection when its object dies and copy gives the new
object its own copy-on-write clone (LRM 8.12: a shallow copy of a
collection property is a value copy, never an alias).