You can:
- just use a
Vecinstead - create a newtype wrapper around
[Bar; 100]and manually implementSerializefor it by forwarding to theSerializeimpl on slices.
You can:
Vec instead[Bar; 100] and manually implement Serialize for it by forwarding to the Serialize impl on slices.