Enum wgpu_core::command::PassErrorScope
source · [−]pub enum PassErrorScope {
Show 18 variants
Bundle,
Pass(CommandEncoderId),
SetBindGroup(BindGroupId),
SetPipelineRender(RenderPipelineId),
SetPipelineCompute(ComputePipelineId),
SetPushConstant,
SetVertexBuffer(BufferId),
SetIndexBuffer(BufferId),
SetViewport,
SetScissorRect,
Draw {
indexed: bool,
indirect: bool,
pipeline: Option<RenderPipelineId>,
},
QueryReset,
WriteTimestamp,
BeginPipelineStatisticsQuery,
EndPipelineStatisticsQuery,
ExecuteBundle,
Dispatch {
indirect: bool,
pipeline: Option<ComputePipelineId>,
},
PopDebugGroup,
}
Variants
Bundle
Pass(CommandEncoderId)
SetBindGroup(BindGroupId)
SetPipelineRender(RenderPipelineId)
SetPipelineCompute(ComputePipelineId)
SetPushConstant
SetVertexBuffer(BufferId)
SetIndexBuffer(BufferId)
SetViewport
SetScissorRect
Draw
QueryReset
WriteTimestamp
BeginPipelineStatisticsQuery
EndPipelineStatisticsQuery
ExecuteBundle
Dispatch
PopDebugGroup
Trait Implementations
sourceimpl Clone for PassErrorScope
impl Clone for PassErrorScope
sourcefn clone(&self) -> PassErrorScope
fn clone(&self) -> PassErrorScope
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PassErrorScope
impl Debug for PassErrorScope
sourceimpl Display for PassErrorScope
impl Display for PassErrorScope
sourceimpl Error for PassErrorScope
impl Error for PassErrorScope
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl PrettyError for PassErrorScope
impl PrettyError for PassErrorScope
fn fmt_pretty(&self, fmt: &mut ErrorFormatter<'_>)
impl Copy for PassErrorScope
Auto Trait Implementations
impl !RefUnwindSafe for PassErrorScope
impl Send for PassErrorScope
impl Sync for PassErrorScope
impl Unpin for PassErrorScope
impl !UnwindSafe for PassErrorScope
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more