Enum vulkano::descriptor::pipeline_layout::PipelineLayoutNotSupersetError
[−]
[src]
pub enum PipelineLayoutNotSupersetError { DescriptorsCountMismatch { set_num: u32, self_num_descriptors: u32, other_num_descriptors: u32, }, ExpectedEmptyDescriptor { set_num: u32, descriptor: u32, }, IncompatibleDescriptors { error: DescriptorDescSupersetError, set_num: u32, descriptor: u32, }, }
Error that can happen when creating a graphics pipeline.
Variants
DescriptorsCountMismatch
There are more descriptors in the child than in the parent layout.
Fields of DescriptorsCountMismatch
set_num: u32 | |
self_num_descriptors: u32 | |
other_num_descriptors: u32 |
ExpectedEmptyDescriptor
Expected an empty descriptor, but got something instead.
Fields of ExpectedEmptyDescriptor
set_num: u32 | |
descriptor: u32 |
IncompatibleDescriptors
Two descriptors are incompatible.
Fields of IncompatibleDescriptors
error: DescriptorDescSupersetError | |
set_num: u32 | |
descriptor: u32 |
Trait Implementations
impl Clone for PipelineLayoutNotSupersetError
[src]
fn clone(&self) -> PipelineLayoutNotSupersetError
[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 Debug for PipelineLayoutNotSupersetError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for PipelineLayoutNotSupersetError
[src]
fn eq(&self, __arg_0: &PipelineLayoutNotSupersetError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PipelineLayoutNotSupersetError) -> bool
[src]
This method tests for !=
.
impl Eq for PipelineLayoutNotSupersetError
[src]
impl Error for PipelineLayoutNotSupersetError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for PipelineLayoutNotSupersetError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<PipelineLayoutNotSupersetError> for ComputePipelineCreationError
[src]
fn from(err: PipelineLayoutNotSupersetError) -> ComputePipelineCreationError
[src]
Performs the conversion.
impl From<PipelineLayoutNotSupersetError> for GraphicsPipelineCreationError
[src]
fn from(err: PipelineLayoutNotSupersetError) -> GraphicsPipelineCreationError
[src]
Performs the conversion.