Trait bevy::render::render_resource::std430::Std430Convertible
[−]pub trait Std430Convertible<T>: Copy where
T: Std430, {
fn into_std430(self) -> T;
fn from_std430(T) -> Self;
}
Expand description
Trait specifically for Std430::Padded, implements conversions between padded type and base type.
Required methods
fn into_std430(self) -> T
fn into_std430(self) -> T
Convert from self to Std430
fn from_std430(T) -> Self
fn from_std430(T) -> Self
Convert from Std430 to self