Expand description
Specification trait implementations for this combinator.
Mapper traits for type transformations used by super::Mapped.
Structs§
Traits§
- Lossless
Mapper - A
SpecMapperthat is lossless (i.e., non-malleable). - Lossy
Mapper - A
SpecMapperthat can be lossy (i.e., malleable). - SpecMap
- Spec
Mapper - A bidirectional mapping between two types (forward for parsing, reverse for
serialization). For roundtrip guarantees, implement and prove
LossyMapperorLosslessMapperas appropriate.