pub struct DeviceMismatch {
    pub(crate) res: ResourceErrorIdent,
    pub(crate) res_device: ResourceErrorIdent,
    pub(crate) target: Option<ResourceErrorIdent>,
    pub(crate) target_device: ResourceErrorIdent,
}Fields§
§res: ResourceErrorIdent§res_device: ResourceErrorIdent§target: Option<ResourceErrorIdent>§target_device: ResourceErrorIdentTrait Implementations§
Source§impl Clone for DeviceMismatch
 
impl Clone for DeviceMismatch
Source§fn clone(&self) -> DeviceMismatch
 
fn clone(&self) -> DeviceMismatch
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 DeviceMismatch
 
impl Debug for DeviceMismatch
Source§impl<'de> Deserialize<'de> for DeviceMismatch
 
impl<'de> Deserialize<'de> for DeviceMismatch
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 DeviceMismatch
 
impl Display for DeviceMismatch
Source§impl Error for DeviceMismatch
 
impl Error for DeviceMismatch
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 Serialize for DeviceMismatch
 
impl Serialize for DeviceMismatch
Source§impl WebGpuError for DeviceMismatch
 
impl WebGpuError for DeviceMismatch
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 DeviceMismatch
impl RefUnwindSafe for DeviceMismatch
impl Send for DeviceMismatch
impl Sync for DeviceMismatch
impl Unpin for DeviceMismatch
impl UnwindSafe for DeviceMismatch
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