Enum gfx_core::shade::ContainerType [] [src]

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

Number of components this parameter represents.

Variants

Scalar value

A vector with Dimension components.

A matrix.

Trait Implementations

impl Clone for ContainerType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for ContainerType
[src]

impl Debug for ContainerType
[src]

[src]

Formats the value using the given formatter.

impl Eq for ContainerType
[src]

impl Hash for ContainerType
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for ContainerType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.