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

pub enum DescriptorDescSupersetError {
    ArrayTooSmall {
        len: u32,
        required: u32,
    },
    TypeMismatch,
    MutabilityRequired,
    ShaderStagesNotSuperset,
    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.

Variants

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

Fields of ArrayTooSmall

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

Fields of FormatMismatch

Fields of MultisampledMismatch

Fields of IncompatibleArrayLayers

Trait Implementations

impl Debug for DescriptorDescSupersetError
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for DescriptorDescSupersetError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for DescriptorDescSupersetError
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for DescriptorDescSupersetError
[src]

impl Error for DescriptorDescSupersetError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more

impl Display for DescriptorDescSupersetError
[src]

[src]

Formats the value using the given formatter. Read more

impl From<ShaderStagesSupersetError> for DescriptorDescSupersetError
[src]

Auto Trait Implementations