[][src]Enum grr::ImageType

pub enum ImageType {
    D1 {
        width: u32,
        layers: u32,
    },
    D2 {
        width: u32,
        height: u32,
        layers: u32,
        samples: u32,
    },
    D3 {
        width: u32,
        height: u32,
        depth: u32,
    },
}

Image dimensionality type.

Layer, as in arrays or cube maps, don't affect the dimensionality type.

Variants

D1

Fields of D1

width: u32layers: u32
D2

Fields of D2

width: u32height: u32layers: u32samples: u32
D3

Fields of D3

width: u32height: u32depth: u32

Auto Trait Implementations

impl Send for ImageType

impl Sync for ImageType

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.