const_shader_layout 0.2.1

Compile-time checks for whether structs conform to WGSL's memory layout rules
Documentation
1
2
3
4
5
#[cfg(feature = "half")]
use half::f16;

impl_shader_layout_raw!(f16);
impl_shader_layout_array!(f16);