Lokathor / bytemuck

A crate for mucking around with piles of bytes
https://docs.rs/bytemuck
Apache License 2.0
697 stars 77 forks source link

Deriving Pod for arbitrary generic types #222

Open reinerp opened 7 months ago

reinerp commented 7 months ago

If we were willing to break backwards compatibility, it would be possible to support deriving Pod for arbitrary generic types.

The approach:

Lokathor commented 7 months ago

We might do this some day for version 2 (but that's far far in the future).