Enum solstice::shader::RawUniformValue[][src]

pub enum RawUniformValue {
    SignedInt(i32),
    Float(f32),
    Mat2(ColumnMatrix2<f32>),
    Mat3(ColumnMatrix3<f32>),
    Mat4(ColumnMatrix4<f32>),
    Vec2(Vector2<f32>),
    Vec3(Vector3<f32>),
    Vec4(Vector4<f32>),
    IntVec2(Vector2<i32>),
    IntVec3(Vector3<i32>),
    IntVec4(Vector4<i32>),
}

Variants

SignedInt(i32)
Float(f32)
Vec2(Vector2<f32>)
Vec3(Vector3<f32>)
Vec4(Vector4<f32>)
IntVec2(Vector2<i32>)
IntVec3(Vector3<i32>)
IntVec4(Vector4<i32>)

Trait Implementations

impl Clone for RawUniformValue[src]

impl Copy for RawUniformValue[src]

impl Debug for RawUniformValue[src]

impl From<ColumnMatrix2<f32>> for RawUniformValue[src]

impl From<ColumnMatrix3<f32>> for RawUniformValue[src]

impl From<ColumnMatrix4<f32>> for RawUniformValue[src]

impl From<Vector2<f32>> for RawUniformValue[src]

impl From<Vector2<i32>> for RawUniformValue[src]

impl From<Vector3<f32>> for RawUniformValue[src]

impl From<Vector3<i32>> for RawUniformValue[src]

impl From<Vector4<f32>> for RawUniformValue[src]

impl From<Vector4<i32>> for RawUniformValue[src]

impl From<f32> for RawUniformValue[src]

impl From<i32> for RawUniformValue[src]

impl PartialEq<RawUniformValue> for RawUniformValue[src]

impl PartialOrd<RawUniformValue> for RawUniformValue[src]

impl StructuralPartialEq for RawUniformValue[src]

impl TryInto<ColumnMatrix2<f32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<ColumnMatrix3<f32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<ColumnMatrix4<f32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<Vector2<f32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<Vector2<i32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<Vector3<f32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<Vector3<i32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<Vector4<f32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<Vector4<i32>> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<f32> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

impl TryInto<i32> for RawUniformValue[src]

type Error = &'static str

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.