Trait glsl_layout::Std140

source ·
pub unsafe trait Std140: Sized + Uniform<Std140 = Self> {
    fn as_raw(&self) -> &[u8]  { ... }
}
Expand description

Special marker trait implemented only for std140 types.

Safety

The type must not have any padding bytes

Provided Methods§

Convert to bytes-slice.

Implementors§