Struct wgpu_core::resource::InvalidResourceError
source · pub struct InvalidResourceError(pub ResourceErrorIdent);
Tuple Fields§
§0: ResourceErrorIdent
Trait Implementations§
source§impl Clone for InvalidResourceError
impl Clone for InvalidResourceError
source§fn clone(&self) -> InvalidResourceError
fn clone(&self) -> InvalidResourceError
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 InvalidResourceError
impl Debug for InvalidResourceError
source§impl<'de> Deserialize<'de> for InvalidResourceError
impl<'de> Deserialize<'de> for InvalidResourceError
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 InvalidResourceError
impl Display for InvalidResourceError
source§impl Error for InvalidResourceError
impl Error for InvalidResourceError
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<InvalidResourceError> for BufferAccessError
impl From<InvalidResourceError> for BufferAccessError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for ClearError
impl From<InvalidResourceError> for ClearError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CommandEncoderError
impl From<InvalidResourceError> for CommandEncoderError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for ComputePassErrorInner
impl From<InvalidResourceError> for ComputePassErrorInner
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CopyError
impl From<InvalidResourceError> for CopyError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CreateBindGroupError
impl From<InvalidResourceError> for CreateBindGroupError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CreateComputePipelineError
impl From<InvalidResourceError> for CreateComputePipelineError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CreatePipelineLayoutError
impl From<InvalidResourceError> for CreatePipelineLayoutError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CreateRenderPipelineError
impl From<InvalidResourceError> for CreateRenderPipelineError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for CreateTextureViewError
impl From<InvalidResourceError> for CreateTextureViewError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for DestroyError
impl From<InvalidResourceError> for DestroyError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for GetBindGroupLayoutError
impl From<InvalidResourceError> for GetBindGroupLayoutError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for QueryError
impl From<InvalidResourceError> for QueryError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for QueueSubmitError
impl From<InvalidResourceError> for QueueSubmitError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for QueueWriteError
impl From<InvalidResourceError> for QueueWriteError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for RenderBundleErrorInner
impl From<InvalidResourceError> for RenderBundleErrorInner
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for RenderPassErrorInner
impl From<InvalidResourceError> for RenderPassErrorInner
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
source§impl From<InvalidResourceError> for StageError
impl From<InvalidResourceError> for StageError
source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for InvalidResourceError
impl RefUnwindSafe for InvalidResourceError
impl Send for InvalidResourceError
impl Sync for InvalidResourceError
impl Unpin for InvalidResourceError
impl UnwindSafe for InvalidResourceError
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
)