Struct wgpu_core::device::DeviceMismatch
source · 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: ResourceErrorIdent
Trait Implementations§
source§impl Clone for DeviceMismatch
impl Clone for DeviceMismatch
source§fn clone(&self) -> DeviceMismatch
fn clone(&self) -> DeviceMismatch
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 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)>
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()
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