Struct wgpu_core::command::RenderBundleError
source · pub struct RenderBundleError {
pub scope: PassErrorScope,
inner: RenderBundleErrorInner,
}
Expand description
Error encountered when finishing recording a render bundle.
Fields§
§scope: PassErrorScope
§inner: RenderBundleErrorInner
Implementations§
source§impl RenderBundleError
impl RenderBundleError
pub fn from_device_error(e: DeviceError) -> Self
Trait Implementations§
source§impl Clone for RenderBundleError
impl Clone for RenderBundleError
source§fn clone(&self) -> RenderBundleError
fn clone(&self) -> RenderBundleError
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 RenderBundleError
impl Debug for RenderBundleError
source§impl Display for RenderBundleError
impl Display for RenderBundleError
source§impl Error for RenderBundleError
impl Error for RenderBundleError
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<T, E> MapPassErr<T, RenderBundleError> for Result<T, E>where
E: Into<RenderBundleErrorInner>,
impl<T, E> MapPassErr<T, RenderBundleError> for Result<T, E>where
E: Into<RenderBundleErrorInner>,
fn map_pass_err(self, scope: PassErrorScope) -> Result<T, RenderBundleError>
Auto Trait Implementations§
impl Freeze for RenderBundleError
impl !RefUnwindSafe for RenderBundleError
impl Send for RenderBundleError
impl Sync for RenderBundleError
impl Unpin for RenderBundleError
impl !UnwindSafe for RenderBundleError
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