Module libspa::pod

source ·
Expand description

This module deals with SPA pods, providing ways to represent pods using idiomatic types and serialize them into their raw representation, and the other way around.

Everything concerning serializing raw pods from rust types is in the serialize submodule. and everything about deserializing rust types from raw pods is in the deserialize submodule.

The entire serialization and deserialization approach is inspired by and similar to the excellent serde crate, but is much more specialized to fit the SPA pod format.

Modules§

Macros§

Structs§

Enums§

Traits§

  • Implementors of this trait are the canonical representation of a specific type of fixed sized SPA pod.
  • Implementors of this trait can be serialized into pods that always have the same size. This lets them be used as elements in Array type SPA Pods.