Customize your struct layout with this one weird trick.
The custom attributes to randomize struct members layout
Check that the layout of a rust struct matches the layout of a given type in SPIRV
This crate is just an implementation detail of the spirv-struct-layout crate
explicit struct layouts.
Derivable trait to view the layout of a struct, useful for debugging.
Struct memory layout analyzer for C, C++, Rust, Go, and Zig
Assert struct layouts, including field sizes and offsets.
Analyze binary memory layouts to detect padding inefficiencies
memory layout analysis tool for structs, enums, unions, tuples, and references
Compiler forge — ABI, IR, binary, and bootstrap diagnostics for self-hosting compilers
Derivable trait to view the layout of a struct, useful for debugging. Patched for syn 2.