pub enum UniformType {
Show 15 variants U32(u32), I32(i32), Uv2(u32u32), Iv2(i32i32), Uv3(u32u32u32), Iv3(i32i32i32), Uv4(u32u32u32u32), Iv4(i32i32i32i32), F32(f32), F64(f64), Fv2(f32f32), Fv3(f32f32f32), Fv4(f32f32f32f32), M3(*const f32), M4(*const f32),
}

Variants

U32(u32)

I32(i32)

Uv2(u32u32)

Iv2(i32i32)

Uv3(u32u32u32)

Iv3(i32i32i32)

Uv4(u32u32u32u32)

Iv4(i32i32i32i32)

F32(f32)

F64(f64)

Fv2(f32f32)

Fv3(f32f32f32)

Fv4(f32f32f32f32)

M3(*const f32)

M4(*const f32)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.