Enum wgpu_core::command::PassErrorScope
source · pub enum PassErrorScope {
Show 23 variants
Bundle,
Pass,
SetBindGroup,
SetPipelineRender,
SetPipelineCompute,
SetPushConstant,
SetVertexBuffer,
SetIndexBuffer,
SetBlendConstant,
SetStencilReference,
SetViewport,
SetScissorRect,
Draw {
kind: DrawKind,
indexed: bool,
},
WriteTimestamp,
BeginOcclusionQuery,
EndOcclusionQuery,
BeginPipelineStatisticsQuery,
EndPipelineStatisticsQuery,
ExecuteBundle,
Dispatch {
indirect: bool,
},
PushDebugGroup,
PopDebugGroup,
InsertDebugMarker,
}
Variants§
Bundle
Pass
SetBindGroup
SetPipelineRender
SetPipelineCompute
SetPushConstant
SetVertexBuffer
SetIndexBuffer
SetBlendConstant
SetStencilReference
SetViewport
SetScissorRect
Draw
WriteTimestamp
BeginOcclusionQuery
EndOcclusionQuery
BeginPipelineStatisticsQuery
EndPipelineStatisticsQuery
ExecuteBundle
Dispatch
PushDebugGroup
PopDebugGroup
InsertDebugMarker
Trait Implementations§
source§impl Clone for PassErrorScope
impl Clone for PassErrorScope
source§fn clone(&self) -> PassErrorScope
fn clone(&self) -> PassErrorScope
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 PassErrorScope
impl Debug for PassErrorScope
source§impl Display for PassErrorScope
impl Display for PassErrorScope
source§impl Error for PassErrorScope
impl Error for PassErrorScope
1.30.0 · 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()
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§
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