#[repr_std140]Expand description
Attribute macro that can be applied to a struct to ensure its representation is compatible with the std140 memory layout convention.
Can only be applied to a struct if all of its fields implement ReprStd140.
Any struct marked with this attribute will automatically implement Std140Struct
ยงExample
#[std140::repr_std140]
struct PointLight {
position: std140::vec3,
intensity: std140::float,
}