macro_rules! serialize_deserialize_primefield { ($field:ident) => { ... }; }
Expand description
A macro to help define serialization and deserialization for prime field implementations that use `$field::Repr`` representations. This assumes the concerned type implements PrimeField (for from_repr, to_repr).