pub enum ComputePipelineCreationError {
OomError(OomError),
PipelineLayoutCreationError(PipelineLayoutCreationError),
IncompatiblePipelineLayout(PipelineLayoutNotSupersetError),
}
Expand description
Error that can happen when creating a compute pipeline.
Variants
OomError(OomError)
Not enough memory.
PipelineLayoutCreationError(PipelineLayoutCreationError)
Error while creating the pipeline layout object.
IncompatiblePipelineLayout(PipelineLayoutNotSupersetError)
The pipeline layout is not compatible with what the shader expects.
Trait Implementations
sourceimpl Clone for ComputePipelineCreationError
impl Clone for ComputePipelineCreationError
sourcefn clone(&self) -> ComputePipelineCreationError
fn clone(&self) -> ComputePipelineCreationError
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 Debug for ComputePipelineCreationError
impl Debug for ComputePipelineCreationError
sourceimpl Error for ComputePipelineCreationError
impl Error for ComputePipelineCreationError
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<OomError> for ComputePipelineCreationError
impl From<OomError> for ComputePipelineCreationError
sourcefn from(err: OomError) -> ComputePipelineCreationError
fn from(err: OomError) -> ComputePipelineCreationError
Converts to this type from the input type.
sourceimpl From<PipelineLayoutCreationError> for ComputePipelineCreationError
impl From<PipelineLayoutCreationError> for ComputePipelineCreationError
sourcefn from(err: PipelineLayoutCreationError) -> ComputePipelineCreationError
fn from(err: PipelineLayoutCreationError) -> ComputePipelineCreationError
Converts to this type from the input type.
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 PartialEq<ComputePipelineCreationError> for ComputePipelineCreationError
impl PartialEq<ComputePipelineCreationError> for ComputePipelineCreationError
sourcefn eq(&self, other: &ComputePipelineCreationError) -> bool
fn eq(&self, other: &ComputePipelineCreationError) -> bool
impl Eq for ComputePipelineCreationError
impl StructuralEq for ComputePipelineCreationError
impl StructuralPartialEq for ComputePipelineCreationError
Auto Trait Implementations
impl RefUnwindSafe for ComputePipelineCreationError
impl Send for ComputePipelineCreationError
impl Sync for ComputePipelineCreationError
impl Unpin for ComputePipelineCreationError
impl UnwindSafe for ComputePipelineCreationError
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.