[][src]Enum vulkano::descriptor::descriptor::DescriptorDescTy

pub enum DescriptorDescTy {
    TexelBuffer {
        storage: bool,
        format: Option<Format>,
    InputAttachment {
        multisampled: bool,
        array_layers: DescriptorImageDescArray,

Describes the content and layout of each array element of a descriptor.



Fields of TexelBuffer

storage: bool

If true, this describes a storage texel buffer.

format: Option<Format>

The format of the content, or None if the format is unknown. Depending on the context, it may be invalid to have a None value here. If the format is Some, only buffer views that have this exact format can be attached to this descriptor.


Fields of InputAttachment

multisampled: bool

If true, the input attachment is multisampled. Only multisampled images can be attached to this descriptor. If false, only single-sampled images can be attached.

array_layers: DescriptorImageDescArray


impl DescriptorDescTy[src]

pub fn ty(&self) -> Option<DescriptorType>[src]

Returns the type of descriptor.

Returns None if there's not enough info to determine the type.

pub fn is_superset_of(
    other: &DescriptorDescTy
) -> Result<(), DescriptorDescSupersetError>

Checks whether we are a superset of another descriptor type.

Trait Implementations

impl Clone for DescriptorDescTy[src]

impl Eq for DescriptorDescTy[src]

impl PartialEq<DescriptorDescTy> for DescriptorDescTy[src]

impl Debug for DescriptorDescTy[src]

impl StructuralPartialEq for DescriptorDescTy[src]

impl StructuralEq for DescriptorDescTy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Content for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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