Expand description
Implementations for tuples.
We only support tuples of up to 12 elements of the same ZeroCopy type.
The is no repr(C) for tuples, so we cannot guarantee that the storage
order of the fields is
well-defined.
To circumvent this problem, you can define a tuple newtype with a repr(C)
attribute.
We also provide a TypeHash implementation for tuples of up to 12
elements to help with the idiom PhantomData<(T1, T2, …)>.
Note that up to ε-serde 0.7.0 we provided an erroneous implementation for mixed zero-copy types. If you serialized a structure using such a tuple, it will be no longer deserializable.