Module indexed
Expand description
Provides a collection type for crate::encoding::Encoding
s 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 EncodingId
s.
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ยง
- A reference to an encoding in an
IndexedEncodings
collection. - A collection of encodings which can be accessed using
EncodingId
s.