You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could presumably do something similar for other traits, and we could presumably support other #[repr(...)] attributes and other kinds (enums and unions). Ideally this would let us drastically simplify the internals of our derives.
The text was updated successfully, but these errors were encountered:
Imagine the following type:
Imagine further that this type has hand-rolled impls of all of the zerocopy traits.
We could then simplify our derives to handle types like:
By emitting:
We could presumably do something similar for other traits, and we could presumably support other
#[repr(...)]
attributes and other kinds (enums and unions). Ideally this would let us drastically simplify the internals of our derives.The text was updated successfully, but these errors were encountered: