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
ArrayTooSmall
The number of array elements of the descriptor is smaller than expected.
Fields of ArrayTooSmall
len: u32 | |
required: u32 |
TypeMismatch
The descriptor type doesn't match the type of the other descriptor.
MutabilityRequired
The descriptor is marked as read-only, but the other is not.
ShaderStagesNotSuperset
The shader stages are not a superset of one another.
DimensionsMismatch
Fields of DimensionsMismatch
provided: DescriptorImageDescDimensions | |
expected: DescriptorImageDescDimensions |
FormatMismatch
Fields of FormatMismatch
provided: Option<Format> | |
expected: Format |
MultisampledMismatch
Fields of MultisampledMismatch
provided: bool | |
expected: bool |
IncompatibleArrayLayers
Fields of IncompatibleArrayLayers
provided: DescriptorImageDescArray | |
required: DescriptorImageDescArray |
Trait Implementations
impl Debug for DescriptorDescSupersetError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for DescriptorDescSupersetError
[src]
fn clone(&self) -> DescriptorDescSupersetError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for DescriptorDescSupersetError
[src]
fn eq(&self, __arg_0: &DescriptorDescSupersetError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DescriptorDescSupersetError) -> bool
[src]
This method tests for !=
.
impl Eq for DescriptorDescSupersetError
[src]
impl Error for DescriptorDescSupersetError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for DescriptorDescSupersetError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<ShaderStagesSupersetError> for DescriptorDescSupersetError
[src]
fn from(err: ShaderStagesSupersetError) -> DescriptorDescSupersetError
[src]
Performs the conversion.