Struct wgpu_core::command::compute::ComputePassError
source · pub struct ComputePassError {
pub scope: PassErrorScope,
pub(super) inner: ComputePassErrorInner,
}
Expand description
Error encountered when performing a compute pass.
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<T, E> MapPassErr<T, ComputePassError> for Result<T, E>where
E: Into<ComputePassErrorInner>,
impl<T, E> MapPassErr<T, ComputePassError> for Result<T, E>where
E: Into<ComputePassErrorInner>,
fn map_pass_err(self, scope: PassErrorScope) -> Result<T, ComputePassError>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)