[−][src]Macro serde_shims::impl_serde_for_bitflags
Implements Serialize
and Deserialize
for a bitflags!
generated structure.
Note that impl_serde_for_bitflags
requires the flag type to
implement Serialize
and Deserialize
.
All primitive integer types satisfy these requirements.
See the bitflags
shim for a full example.