pub trait AsStd140 {
type Std140Type;
// Required method
fn as_std140(&self) -> Self::Std140Type;
}Expand description
A type that can be converted to a std140 type.
Required Associated Types§
Sourcetype Std140Type
type Std140Type
The std140 type that this type can be converted to.
Required Methods§
Sourcefn as_std140(&self) -> Self::Std140Type
fn as_std140(&self) -> Self::Std140Type
Convert this type to a std140 type.