Module hecs::serialize[][src]

Expand description

Convenience tools for serializing Worlds

Components are not necessarily serializable, so we cannot directly implement serde::Serialize for World. The helpers defined in this module allow serialization and deserialization based on purpose-defined traits to control the procedures explicitly.

Backwards-incompatible changes to the serde data models herein are subject to the same semantic versioning stability guarantees as the hecs API.

Modules

columncolumn-serialize

Fast column-major serialization

rowrow-serialize

Human-friendly row-major serialization