pub enum DescriptorRequirementsIncompatible {
DescriptorType,
ImageFormat,
ImageScalarType,
ImageMultisampled,
ImageViewType,
}
Expand description
An error that can be returned when trying to create the intersection of two
DescriptorRequirements
values.
Variants§
DescriptorType
The allowed descriptor types of the descriptors do not overlap.
ImageFormat
The descriptors require different formats.
ImageScalarType
The descriptors require different scalar types.
ImageMultisampled
The multisampling requirements of the descriptors differ.
ImageViewType
The descriptors require different image view types.
Trait Implementations§
source§impl Clone for DescriptorRequirementsIncompatible
impl Clone for DescriptorRequirementsIncompatible
source§fn clone(&self) -> DescriptorRequirementsIncompatible
fn clone(&self) -> DescriptorRequirementsIncompatible
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Error for DescriptorRequirementsIncompatible
impl Error for DescriptorRequirementsIncompatible
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()