[][src]Enum gfx_hal::pso::ImageDescriptorType

pub enum ImageDescriptorType {
    Sampled {
        with_sampler: bool,
    },
    Storage {
        read_only: bool,
    },
}

Specific type of an image descriptor.

Variants

Sampled

A sampled image allows sampling operations.

Fields of Sampled

with_sampler: bool

If true, this descriptor corresponds to both a sampled image and a sampler to be used with that image.

Storage

A storage image allows load, store and atomic operations.

Fields of Storage

read_only: bool

If true, store operations are not permitted on this image.

Trait Implementations

impl Clone for ImageDescriptorType[src]

impl Copy for ImageDescriptorType[src]

impl Debug for ImageDescriptorType[src]

impl Eq for ImageDescriptorType[src]

impl Hash for ImageDescriptorType[src]

impl Ord for ImageDescriptorType[src]

impl PartialEq<ImageDescriptorType> for ImageDescriptorType[src]

impl PartialOrd<ImageDescriptorType> for ImageDescriptorType[src]

impl StructuralEq for ImageDescriptorType[src]

impl StructuralPartialEq for ImageDescriptorType[src]

Auto Trait Implementations

impl RefUnwindSafe for ImageDescriptorType

impl Send for ImageDescriptorType

impl Sync for ImageDescriptorType

impl Unpin for ImageDescriptorType

impl UnwindSafe for ImageDescriptorType

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.