pub 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 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 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<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 UnsafeUnpin 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