pub enum RenderBundleErrorInner {
DebugGroup(DebugGroupError),
Create(CreateRenderBundleError),
Device(DeviceError),
RenderCommand(RenderCommandError),
Draw(DrawError),
MissingDownlevelFlags(MissingDownlevelFlags),
Bind(BindError),
Ended,
}Expand description
Error encountered when finishing recording a render bundle.
Variants§
DebugGroup(DebugGroupError)
Create(CreateRenderBundleError)
Device(DeviceError)
RenderCommand(RenderCommandError)
Draw(DrawError)
MissingDownlevelFlags(MissingDownlevelFlags)
Bind(BindError)
Ended
Trait Implementations§
Source§impl Clone for RenderBundleErrorInner
impl Clone for RenderBundleErrorInner
Source§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)>
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<BindError> for RenderBundleErrorInner
impl From<BindError> for RenderBundleErrorInner
Source§impl From<CreateRenderBundleError> for RenderBundleErrorInner
impl From<CreateRenderBundleError> for RenderBundleErrorInner
Source§fn from(source: CreateRenderBundleError) -> Self
fn from(source: CreateRenderBundleError) -> Self
Converts to this type from the input type.
Source§impl From<DebugGroupError> for RenderBundleErrorInner
impl From<DebugGroupError> for RenderBundleErrorInner
Source§fn from(source: DebugGroupError) -> Self
fn from(source: DebugGroupError) -> Self
Converts to this type from the input type.
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<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 !RefUnwindSafe for RenderBundleErrorInner
impl !UnwindSafe for RenderBundleErrorInner
impl Forget for RenderBundleErrorInner
impl Freeze for RenderBundleErrorInnerwhere
&'static str: Freeze,
String: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
*const DeviceMismatch is !null: Freeze,
PhantomData<DeviceMismatch>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Option<TextureFormat>>: Freeze,
NonZero<u32>: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
*const BinderError is !null: Freeze,
PhantomData<BinderError>: Freeze,
InternalBitFlags: Freeze,
impl Move for RenderBundleErrorInner
impl Send for RenderBundleErrorInnerwhere
&'static str: Send,
String: Send,
RawVecInner: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
BoxRaw<DeviceMismatch>: Send,
NonZero<u32>: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
BoxRaw<BinderError>: Send,
InternalBitFlags: Send,
impl Sync for RenderBundleErrorInnerwhere
String: Sync,
RawVecInner: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
BoxRaw<DeviceMismatch>: Sync,
NonZero<u32>: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
BoxRaw<BinderError>: Sync,
InternalBitFlags: Sync,
impl Unpin for RenderBundleErrorInnerwhere
&'static str: Unpin,
String: Unpin,
*const u8 is !null: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
Box<DeviceMismatch>: Unpin,
NonZero<u32>: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
Box<BinderError>: Unpin,
InternalBitFlags: Unpin,
impl UnsafeUnpin for RenderBundleErrorInnerwhere
&'static str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
*const DeviceMismatch is !null: UnsafeUnpin,
PhantomData<DeviceMismatch>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Option<TextureFormat>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
*const BinderError is !null: UnsafeUnpin,
PhantomData<BinderError>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
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