Trait bevy::render::render_resource::std140::Std140Convertible
[−]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
fn into_std140(self) -> T
fn into_std140(self) -> T
Convert from self to Std140
fn from_std140(T) -> Self
fn from_std140(T) -> Self
Convert from Std140 to self