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,
},
}
Expand description
Error that can happen when creating a graphics pipeline.
Variants
DescriptorsCountMismatch
There are more descriptors in the child than in the parent layout.
ExpectedEmptyDescriptor
Expected an empty descriptor, but got something instead.
IncompatibleDescriptors
Two descriptors are incompatible.
Trait Implementations
sourceimpl Clone for PipelineLayoutNotSupersetError
impl Clone for PipelineLayoutNotSupersetError
sourcefn clone(&self) -> PipelineLayoutNotSupersetError
fn clone(&self) -> PipelineLayoutNotSupersetError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Error for PipelineLayoutNotSupersetError
impl Error for PipelineLayoutNotSupersetError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
sourceimpl From<PipelineLayoutNotSupersetError> for ComputePipelineCreationError
impl From<PipelineLayoutNotSupersetError> for ComputePipelineCreationError
sourcefn from(err: PipelineLayoutNotSupersetError) -> ComputePipelineCreationError
fn from(err: PipelineLayoutNotSupersetError) -> ComputePipelineCreationError
Converts to this type from the input type.
sourceimpl From<PipelineLayoutNotSupersetError> for GraphicsPipelineCreationError
impl From<PipelineLayoutNotSupersetError> for GraphicsPipelineCreationError
sourcefn from(err: PipelineLayoutNotSupersetError) -> GraphicsPipelineCreationError
fn from(err: PipelineLayoutNotSupersetError) -> GraphicsPipelineCreationError
Converts to this type from the input type.
sourceimpl PartialEq<PipelineLayoutNotSupersetError> for PipelineLayoutNotSupersetError
impl PartialEq<PipelineLayoutNotSupersetError> for PipelineLayoutNotSupersetError
sourcefn eq(&self, other: &PipelineLayoutNotSupersetError) -> bool
fn eq(&self, other: &PipelineLayoutNotSupersetError) -> bool
impl Eq for PipelineLayoutNotSupersetError
impl StructuralEq for PipelineLayoutNotSupersetError
impl StructuralPartialEq for PipelineLayoutNotSupersetError
Auto Trait Implementations
impl RefUnwindSafe for PipelineLayoutNotSupersetError
impl Send for PipelineLayoutNotSupersetError
impl Sync for PipelineLayoutNotSupersetError
impl Unpin for PipelineLayoutNotSupersetError
impl UnwindSafe for PipelineLayoutNotSupersetError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.