Enum gfx::device::shade::ContainerType [] [src]

pub enum ContainerType {
    Single,
    Vector(Dimension),
    Matrix(MatrixFormat, Dimension, Dimension),
}

Number of components this parameter represents.

Variants

Single

Scalar value

Vector

A vector with Dimension components.

Matrix

A matrix.

Trait Implementations

Derived Implementations

impl Debug for ContainerType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for ContainerType

fn eq(&self, __arg_0: &ContainerType) -> bool

fn ne(&self, __arg_0: &ContainerType) -> bool

impl Clone for ContainerType

fn clone(&self) -> ContainerType

fn clone_from(&mut self, source: &Self)

impl Copy for ContainerType