Skip to main content

Module indexed

Module indexed 

Expand description

Provides a collection type for crate::encoding::Encodings that can be used in self-referential structures and can be serialized to disk.

When building self-referential datastructures or serializing to disk, it is not possible to use references. The IndexedEncodings type can be used to obtain EncodingIds. These IDs reference encodings in the IndexedEncodings type. The IDs can be safely used in self-referential types and can be serialized to disk.

Structsยง

EncodingId
A reference to an encoding in an IndexedEncodings collection.
IndexedEncodings
A collection of encodings which can be accessed using EncodingIds.