Struct wgpu_core::resource::MissingTextureUsageError
source · pub struct MissingTextureUsageError {
pub(crate) res: ResourceErrorIdent,
pub(crate) actual: TextureUsages,
pub(crate) expected: TextureUsages,
}
Fields§
§res: ResourceErrorIdent
§actual: TextureUsages
§expected: TextureUsages
Trait Implementations§
source§impl Clone for MissingTextureUsageError
impl Clone for MissingTextureUsageError
source§fn clone(&self) -> MissingTextureUsageError
fn clone(&self) -> MissingTextureUsageError
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 MissingTextureUsageError
impl Debug for MissingTextureUsageError
source§impl Display for MissingTextureUsageError
impl Display for MissingTextureUsageError
source§impl Error for MissingTextureUsageError
impl Error for MissingTextureUsageError
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()
source§impl From<MissingTextureUsageError> for CreateBindGroupError
impl From<MissingTextureUsageError> for CreateBindGroupError
source§fn from(source: MissingTextureUsageError) -> Self
fn from(source: MissingTextureUsageError) -> Self
Converts to this type from the input type.
source§impl From<MissingTextureUsageError> for RenderCommandError
impl From<MissingTextureUsageError> for RenderCommandError
source§fn from(source: MissingTextureUsageError) -> Self
fn from(source: MissingTextureUsageError) -> Self
Converts to this type from the input type.
source§impl From<MissingTextureUsageError> for RenderPassErrorInner
impl From<MissingTextureUsageError> for RenderPassErrorInner
source§fn from(error: MissingTextureUsageError) -> Self
fn from(error: MissingTextureUsageError) -> Self
Converts to this type from the input type.
source§impl From<MissingTextureUsageError> for TransferError
impl From<MissingTextureUsageError> for TransferError
source§fn from(source: MissingTextureUsageError) -> Self
fn from(source: MissingTextureUsageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for MissingTextureUsageError
impl RefUnwindSafe for MissingTextureUsageError
impl Send for MissingTextureUsageError
impl Sync for MissingTextureUsageError
impl Unpin for MissingTextureUsageError
impl UnwindSafe for MissingTextureUsageError
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