Trait glsl_layout2::Std140
source · pub unsafe trait Std140: Sized + Uniform<Std140 = Self> {
// Provided method
fn as_raw(&self) -> &[u8] ⓘ { ... }
}
Expand description
Special marker trait implemented only for std140
types.
Safety
The type must not have any padding bytes