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 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
)