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

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

Number of components this parameter represents.

Variants

Single

Scalar value

Vector(Dimension)

A vector with Dimension components.

Matrix(MatrixFormatDimensionDimension)

A matrix.

Trait Implementations

impl Clone for ContainerType[src]

impl Copy for ContainerType[src]

impl Debug for ContainerType[src]

impl Eq for ContainerType[src]

impl Hash for ContainerType[src]

impl PartialEq<ContainerType> for ContainerType[src]

impl StructuralEq for ContainerType[src]

impl StructuralPartialEq for ContainerType[src]

Auto Trait Implementations

impl RefUnwindSafe for ContainerType

impl Send for ContainerType

impl Sync for ContainerType

impl Unpin for ContainerType

impl UnwindSafe for ContainerType

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.