[][src]Enum vulkano::command_buffer::validity::CheckDescriptorSetsValidityError

pub enum CheckDescriptorSetsValidityError {
    MissingDescriptor {
        set_num: usize,
        binding_num: usize,
    },
    IncompatibleDescriptor {
        error: DescriptorDescSupersetError,
        set_num: usize,
        binding_num: usize,
    },
}

Error that can happen when checking descriptor sets validity.

Variants

MissingDescriptor

A descriptor is missing in the descriptor sets that were provided.

Fields of MissingDescriptor

set_num: usize

The index of the set of the descriptor.

binding_num: usize

The binding number of the descriptor.

IncompatibleDescriptor

A descriptor in the provided sets is not compatible with what is expected.

Fields of IncompatibleDescriptor

error: DescriptorDescSupersetError

The reason why the two descriptors aren't compatible.

set_num: usize

The index of the set of the descriptor.

binding_num: usize

The binding number of the descriptor.

Trait Implementations

impl Clone for CheckDescriptorSetsValidityError[src]

impl Debug for CheckDescriptorSetsValidityError[src]

impl Display for CheckDescriptorSetsValidityError[src]

impl Error for CheckDescriptorSetsValidityError[src]

impl From<CheckDescriptorSetsValidityError> for DispatchError[src]

impl From<CheckDescriptorSetsValidityError> for DrawError[src]

impl From<CheckDescriptorSetsValidityError> for DrawIndexedError[src]

impl From<CheckDescriptorSetsValidityError> for DrawIndirectError[src]

impl From<CheckDescriptorSetsValidityError> for DrawIndexedIndirectError[src]

Auto Trait Implementations

impl RefUnwindSafe for CheckDescriptorSetsValidityError

impl Send for CheckDescriptorSetsValidityError

impl Sync for CheckDescriptorSetsValidityError

impl Unpin for CheckDescriptorSetsValidityError

impl UnwindSafe for CheckDescriptorSetsValidityError

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> Content for T[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> ToString for T where
    T: Display + ?Sized
[src]

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.