pub struct DestroyedResourceError(pub ResourceErrorIdent);Tuple Fields§
§0: ResourceErrorIdentTrait Implementations§
Source§impl Clone for DestroyedResourceError
impl Clone for DestroyedResourceError
Source§fn clone(&self) -> DestroyedResourceError
fn clone(&self) -> DestroyedResourceError
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 DestroyedResourceError
impl Debug for DestroyedResourceError
Source§impl<'de> Deserialize<'de> for DestroyedResourceError
impl<'de> Deserialize<'de> for DestroyedResourceError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DestroyedResourceError
impl Display for DestroyedResourceError
Source§impl Error for DestroyedResourceError
impl Error for DestroyedResourceError
1.30.0 · 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<DestroyedResourceError> for BindingError
impl From<DestroyedResourceError> for BindingError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for BufferAccessError
impl From<DestroyedResourceError> for BufferAccessError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for BuildAccelerationStructureError
impl From<DestroyedResourceError> for BuildAccelerationStructureError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for ClearError
impl From<DestroyedResourceError> for ClearError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for CommandEncoderError
impl From<DestroyedResourceError> for CommandEncoderError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for CompactBlasError
impl From<DestroyedResourceError> for CompactBlasError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for ComputePassErrorInner
impl From<DestroyedResourceError> for ComputePassErrorInner
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for CreateBindGroupError
impl From<DestroyedResourceError> for CreateBindGroupError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for CreateTextureViewError
impl From<DestroyedResourceError> for CreateTextureViewError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for ExecutionError
impl From<DestroyedResourceError> for ExecutionError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for QueryError
impl From<DestroyedResourceError> for QueryError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for QueueSubmitError
impl From<DestroyedResourceError> for QueueSubmitError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for QueueWriteError
impl From<DestroyedResourceError> for QueueWriteError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for RenderCommandError
impl From<DestroyedResourceError> for RenderCommandError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for RenderPassErrorInner
impl From<DestroyedResourceError> for RenderPassErrorInner
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for ValidateAsActionsError
impl From<DestroyedResourceError> for ValidateAsActionsError
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl Serialize for DestroyedResourceError
impl Serialize for DestroyedResourceError
Source§impl WebGpuError for DestroyedResourceError
impl WebGpuError for DestroyedResourceError
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 DestroyedResourceError
impl RefUnwindSafe for DestroyedResourceError
impl Send for DestroyedResourceError
impl Sync for DestroyedResourceError
impl Unpin for DestroyedResourceError
impl UnwindSafe for DestroyedResourceError
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more