Enum wgpu_core::command::bundle::RenderBundleErrorInner
source · pub(super) enum RenderBundleErrorInner {
Device(DeviceError),
RenderCommand(RenderCommandError),
Draw(DrawError),
MissingDownlevelFlags(MissingDownlevelFlags),
Bind(BindError),
InvalidResource(InvalidResourceError),
}
Expand description
Error encountered when finishing recording a render bundle.
Variants§
Device(DeviceError)
RenderCommand(RenderCommandError)
Draw(DrawError)
MissingDownlevelFlags(MissingDownlevelFlags)
Bind(BindError)
InvalidResource(InvalidResourceError)
Trait Implementations§
source§impl Clone for RenderBundleErrorInner
impl Clone for RenderBundleErrorInner
source§fn clone(&self) -> RenderBundleErrorInner
fn clone(&self) -> RenderBundleErrorInner
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 RenderBundleErrorInner
impl Debug for RenderBundleErrorInner
source§impl Display for RenderBundleErrorInner
impl Display for RenderBundleErrorInner
source§impl Error for RenderBundleErrorInner
impl Error for RenderBundleErrorInner
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<BindError> for RenderBundleErrorInner
impl From<BindError> for RenderBundleErrorInner
source§impl From<DeviceError> for RenderBundleErrorInner
impl From<DeviceError> for RenderBundleErrorInner
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<DrawError> for RenderBundleErrorInner
impl From<DrawError> for RenderBundleErrorInner
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<MissingDownlevelFlags> for RenderBundleErrorInner
impl From<MissingDownlevelFlags> for RenderBundleErrorInner
source§fn from(source: MissingDownlevelFlags) -> Self
fn from(source: MissingDownlevelFlags) -> Self
Converts to this type from the input type.
source§impl<T> From<T> for RenderBundleErrorInnerwhere
T: Into<RenderCommandError>,
impl<T> From<T> for RenderBundleErrorInnerwhere
T: Into<RenderCommandError>,
Auto Trait Implementations§
impl Freeze for RenderBundleErrorInner
impl !RefUnwindSafe for RenderBundleErrorInner
impl Send for RenderBundleErrorInner
impl Sync for RenderBundleErrorInner
impl Unpin for RenderBundleErrorInner
impl !UnwindSafe for RenderBundleErrorInner
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