Expand description
Utilities for serializing and deserializing with serde
.
These modules and functions can be combined with serde
’s field
attributes to better control how to
serialize and deserialize colors. See each item’s examples for more details.
Modules§
Functions§
- Deserialize a value from an array of its components.
- Deserialize a value from an unsigned integer.
- Deserialize a transparent color without requiring the alpha to be specified.
- Deserialize a premultiplied transparent color without requiring the alpha to be specified.
- Serialize the value as an array of its components.
- Serialize the value as an unsigned integer.