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
It is currently not possible to derive Inspect on unsized structs.
Should be possible to at least determine alignment with a derive macro by calculating max of alignment of field types or parsing #[repr(align(...))] attribute.
However, calculating offset of fields is not possible (Gilnaa/memoffset#25). Native Rust offset_of! macro may help somewhat, but still isn't a complete solution.
It is currently not possible to derive
Inspect
on unsized structs.Should be possible to at least determine alignment with a derive macro by calculating max of alignment of field types or parsing
#[repr(align(...))]
attribute.However, calculating offset of fields is not possible (Gilnaa/memoffset#25). Native Rust
offset_of!
macro may help somewhat, but still isn't a complete solution.Some initial work on unsized branch.
The text was updated successfully, but these errors were encountered: