pub enum Dimension {
    D1,
    D2,
    D3,
    Cube,
}
Available on crate feature tex only.
Expand description

The dimension kind of a texture.

Variants

D1

D2

D3

Cube

Trait Implementations

Formats the value using the given formatter. Read more
The amount of bits used by the specifier.
The base type of the specifier. Read more
The interface type of the specifier. Read more
Converts some bytes into the in-out type. Read more
Converts the given bytes into the in-out type. Read more

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.