spirv_struct_layout/
lib.rs

1pub use spirv_struct_layout_derive::*;
2
3/// Trait for structs that should have their layout checked against a SPIRV type
4pub trait CheckSpirvStruct {
5    /// Check this struct against the named instance in the given spirv
6    fn check_spirv_layout(name: &str, spirv: Vec<u32>);
7}