Struct wgpu_core::resource::DestroyedResourceError
source · pub struct DestroyedResourceError(pub ResourceErrorIdent);
Tuple Fields§
§0: ResourceErrorIdent
Trait Implementations§
source§impl Clone for DestroyedResourceError
impl Clone for DestroyedResourceError
source§fn clone(&self) -> DestroyedResourceError
fn clone(&self) -> DestroyedResourceError
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 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 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 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 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 CopyError
impl From<DestroyedResourceError> for CopyError
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.
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§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
)