macro_rules! impl_encoding { ($id:literal, $code:expr, $Name:ident) => { ... }; }
Expand description
Macro to generate all the necessary code for a new type of array encoding. Including:
- New Array type that implements AsRef<Array>,GetArrayMetadata,ToArray,IntoArray, and multiple usefulFrom/TryFromimplementations.
- New Encoding type that implements ArrayEncoding.
- New metadata type that implements ArrayMetadata.