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, }, }
Expand description
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.
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.
Show fields
Fields of DimensionsMismatch
provided: DescriptorImageDescDimensions
expected: DescriptorImageDescDimensions
Show fields
Fields of IncompatibleArrayLayers
provided: DescriptorImageDescArray
required: DescriptorImageDescArray
Trait Implementations
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DescriptorDescSupersetError
impl Send for DescriptorDescSupersetError
impl Sync for DescriptorDescSupersetError
impl Unpin for DescriptorDescSupersetError
impl UnwindSafe for DescriptorDescSupersetError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.