Trait dunge::uniform::IntoValue

source ·
pub trait IntoValue {
    type Value: Value;

    // Required method
    fn into_value(self) -> Self::Value;
}

Required Associated Types§

Required Methods§

source

fn into_value(self) -> Self::Value

Implementations on Foreign Types§

source§

impl IntoValue for Mat3

§

type Value = [[f32; 3]; 3]

source§

fn into_value(self) -> Self::Value

source§

impl IntoValue for Mat2

§

type Value = [[f32; 2]; 2]

source§

fn into_value(self) -> Self::Value

source§

impl IntoValue for Mat4

§

type Value = [[f32; 4]; 4]

source§

fn into_value(self) -> Self::Value

source§

impl IntoValue for Vec4

§

type Value = [f32; 4]

source§

fn into_value(self) -> Self::Value

source§

impl IntoValue for Vec2

§

type Value = [f32; 2]

source§

fn into_value(self) -> Self::Value

source§

impl IntoValue for Vec3

§

type Value = [f32; 3]

source§

fn into_value(self) -> Self::Value

Implementors§

source§

impl<U> IntoValue for U
where U: Value,

§

type Value = U