Trait dyon::embed::ConvertVec4
source · pub trait ConvertVec4: Sized {
// Required methods
fn from(val: [f32; 4]) -> Self;
fn to(&self) -> [f32; 4];
}
Expand description
Implemented by types that can be converted to and from vec4.