Enum naga::ImageClass[][src]

pub enum ImageClass {
    Sampled {
        kind: ScalarKind,
        multi: bool,
    },
    Depth,
    Storage(StorageFormat),
}

Sub-class of the image type.

Variants

Sampled

Regular sampled image.

Fields of Sampled

kind: ScalarKind

Kind of values to sample.

multi: bool
Depth

Depth comparison image.

Storage(StorageFormat)

Storage image.

Trait Implementations

impl Clone for ImageClass[src]

impl Copy for ImageClass[src]

impl Debug for ImageClass[src]

impl Eq for ImageClass[src]

impl Hash for ImageClass[src]

impl Ord for ImageClass[src]

impl PartialEq<ImageClass> for ImageClass[src]

impl PartialOrd<ImageClass> for ImageClass[src]

impl StructuralEq for ImageClass[src]

impl StructuralPartialEq for ImageClass[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 = 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.