pub struct PassStateError {
pub scope: PassErrorScope,
/* private fields */
}
Expand description
Variant of EncoderStateError
that includes the pass scope.
Fields§
§scope: PassErrorScope
Trait Implementations§
Source§impl Clone for PassStateError
impl Clone for PassStateError
Source§fn clone(&self) -> PassStateError
fn clone(&self) -> PassStateError
Returns a duplicate 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 PassStateError
impl Debug for PassStateError
Source§impl Display for PassStateError
impl Display for PassStateError
Source§impl Error for PassStateError
impl Error for PassStateError
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 WebGpuError for PassStateError
impl WebGpuError for PassStateError
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 PassStateError
impl RefUnwindSafe for PassStateError
impl Send for PassStateError
impl Sync for PassStateError
impl Unpin for PassStateError
impl UnwindSafe for PassStateError
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