[][src]Enum cart_tmp_gdesc::DescriptorType

pub enum DescriptorType {
    Sampler,
    Image {
        ty: ImageDescriptorType,
    },
    Buffer {
        ty: BufferDescriptorType,
        format: BufferDescriptorFormat,
    },
    InputAttachment,
}

The type of a descriptor.

Variants

Sampler

A descriptor associated with sampler.

Image

A descriptor associated with an image.

Fields of Image

ty: ImageDescriptorType

The specific type of this image descriptor.

Buffer

A descriptor associated with a buffer.

Fields of Buffer

ty: BufferDescriptorType

The type of this buffer descriptor.

format: BufferDescriptorFormat

The format of this buffer descriptor.

InputAttachment

A descriptor associated with an input attachment.

Trait Implementations

impl Clone for DescriptorType[src]

impl Copy for DescriptorType[src]

impl Debug for DescriptorType[src]

impl Eq for DescriptorType[src]

impl Hash for DescriptorType[src]

impl Ord for DescriptorType[src]

impl PartialEq<DescriptorType> for DescriptorType[src]

impl PartialOrd<DescriptorType> for DescriptorType[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.