[][src]Enum spirq::reflect::ImageArrangement

pub enum ImageArrangement {
    Image1D,
    Image2D,
    Image2DMS,
    Image3D,
    CubeMap,
    Image1DArray,
    Image2DArray,
    Image2DMSArray,
    CubeMapArray,
}

Variants

Image1D
Image2D
Image2DMS
Image3D
CubeMap
Image1DArray
Image2DArray
Image2DMSArray
CubeMapArray

Methods

impl ImageArrangement[src]

pub fn from_spv_def(
    dim: Dim,
    is_array: bool,
    is_multisampled: bool
) -> Result<ImageArrangement>
[src]

Do note this dim is not the number of dimensions but a enumeration of values specified in SPIR-V specification.

Trait Implementations

impl Clone for ImageArrangement[src]

impl Copy for ImageArrangement[src]

impl Hash for ImageArrangement[src]

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 = !

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.