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