pub struct ComputePassError {
pub scope: PassErrorScope,
pub(super) inner: ComputePassErrorInner,
}
Expand description
Error encountered when performing a compute pass, stored for later reporting when encoding ends.
Fields§
§scope: PassErrorScope
§inner: ComputePassErrorInner
Trait Implementations§
Source§impl Clone for ComputePassError
impl Clone for ComputePassError
Source§fn clone(&self) -> ComputePassError
fn clone(&self) -> ComputePassError
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 Debug for ComputePassError
impl Debug for ComputePassError
Source§impl Display for ComputePassError
impl Display for ComputePassError
Source§impl Error for ComputePassError
impl Error for ComputePassError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<ComputePassError> for CommandEncoderError
impl From<ComputePassError> for CommandEncoderError
Source§fn from(source: ComputePassError) -> Self
fn from(source: ComputePassError) -> Self
Converts to this type from the input type.
Source§impl<E> MapPassErr<ComputePassError> for Ewhere
E: Into<ComputePassErrorInner>,
impl<E> MapPassErr<ComputePassError> for Ewhere
E: Into<ComputePassErrorInner>,
fn map_pass_err(self, scope: PassErrorScope) -> ComputePassError
Source§impl WebGpuError for ComputePassError
impl WebGpuError for ComputePassError
Source§fn webgpu_error_type(&self) -> ErrorType
fn webgpu_error_type(&self) -> ErrorType
Determine the classification of this error as a WebGPU
ErrorType
.Auto Trait Implementations§
impl Freeze for ComputePassError
impl !RefUnwindSafe for ComputePassError
impl Send for ComputePassError
impl Sync for ComputePassError
impl Unpin for ComputePassError
impl !UnwindSafe for ComputePassError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more