Playing around with @fasterthanlimeamos's facet (https://facet.rs/) and this maybe is kinda cool.
I re-implemented (parts of) Zig's std.MultiArrayList in Rust using facet and this example works.
Not even Miri complains.
If you have a fediverse account, you can quote this note from your own instance. Search https://hachyderm.io/users/jer/statuses/114473131381774611 on your instance and quote it. (Note that quoting is not supported in Mastodon.)