[][src]Enum vulkano::descriptor::descriptor::DescriptorDescSupersetError

pub enum DescriptorDescSupersetError {
    ArrayTooSmall {
        len: u32,
        required: u32,
    DimensionsMismatch {
        provided: DescriptorImageDescDimensions,
        expected: DescriptorImageDescDimensions,
    FormatMismatch {
        provided: Option<Format>,
        expected: Format,
    MultisampledMismatch {
        provided: bool,
        expected: bool,
    IncompatibleArrayLayers {
        provided: DescriptorImageDescArray,
        required: DescriptorImageDescArray,

Error when checking whether a descriptor is a superset of another one.



The number of array elements of the descriptor is smaller than expected.

Fields of ArrayTooSmall

len: u32required: u32

The descriptor type doesn't match the type of the other descriptor.


The descriptor is marked as read-only, but the other is not.


The shader stages are not a superset of one another.


Fields of DimensionsMismatch

provided: DescriptorImageDescDimensionsexpected: DescriptorImageDescDimensions

Fields of FormatMismatch

provided: Option<Format>expected: Format

Fields of MultisampledMismatch

provided: boolexpected: bool

Fields of IncompatibleArrayLayers

provided: DescriptorImageDescArrayrequired: DescriptorImageDescArray

Trait Implementations

impl From<ShaderStagesSupersetError> for DescriptorDescSupersetError[src]

impl Clone for DescriptorDescSupersetError[src]

impl Eq for DescriptorDescSupersetError[src]

impl PartialEq<DescriptorDescSupersetError> for DescriptorDescSupersetError[src]

impl Display for DescriptorDescSupersetError[src]

impl Debug for DescriptorDescSupersetError[src]

impl StructuralPartialEq for DescriptorDescSupersetError[src]

impl StructuralEq for DescriptorDescSupersetError[src]

impl Error for DescriptorDescSupersetError[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> ToString for T where
    T: Display + ?Sized

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