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§
- This module deals with deserializing raw SPA pods into rust types.
- This module deals with serializing rust types into raw SPA pods.
Macros§
Structs§
- An object from a pod.
- A transparent wrapper around a
spa_sys::spa_pod
. - A transparent wrapper around a
spa_sys::spa_pod_object
. - A transparent wrapper around a
spa_sys::spa_pod_prop
. - A transparent wrapper around a
spa_sys::spa_pod_struct
. - An object property.
- Property flags
Enums§
- A typed choice.
- A typed pod value.
- an array of same type objects.
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.