logo
pub trait Std140Convertible<T>: Copy where
    T: Std140
{ fn into_std140(self) -> T;
fn from_std140(T) -> Self; }
Expand description

Trait specifically for Std140::Padded, implements conversions between padded type and base type.

Required methods

Convert from self to Std140

Convert from Std140 to self

Implementors