pub enum Action<'a, R: ReferenceType> {
Show 53 variants
Init {
desc: DeviceDescriptor<'a>,
backend: Backend,
},
ConfigureSurface(R::Surface, SurfaceConfiguration<Vec<TextureFormat>>),
CreateBuffer(R::Buffer, BufferDescriptor<'a>),
DestroyBuffer(R::Buffer),
DropBuffer(R::Buffer),
CreateTexture(R::Texture, TextureDescriptor<'a>),
CreateTextureError(R::Texture, TextureDescriptor<'a>),
DestroyTexture(R::Texture),
DropTexture(R::Texture),
CreateTextureView {
id: R::TextureView,
parent: R::Texture,
desc: TextureViewDescriptor<'a>,
},
DropTextureView(R::TextureView),
CreateExternalTexture {
id: R::ExternalTexture,
desc: ExternalTextureDescriptor<'a>,
planes: Box<[R::TextureView]>,
},
DestroyExternalTexture(R::ExternalTexture),
DropExternalTexture(R::ExternalTexture),
CreateSampler(PointerId<Sampler>, SamplerDescriptor<'a>),
DropSampler(PointerId<Sampler>),
GetSurfaceTexture {
id: R::Texture,
parent: R::Surface,
},
Present(R::Surface),
DiscardSurfaceTexture(R::Surface),
ReleaseSurfaceTexture(R::Surface),
CreateBindGroupLayout(PointerId<BindGroupLayout>, BindGroupLayoutDescriptor<'a, BindGroupLayoutEntry>),
GetRenderPipelineBindGroupLayout {
id: PointerId<BindGroupLayout>,
pipeline: PointerId<RenderPipeline>,
index: u32,
},
GetComputePipelineBindGroupLayout {
id: PointerId<BindGroupLayout>,
pipeline: PointerId<ComputePipeline>,
index: u32,
},
GetRayTracingPipelineBindGroupLayout {
id: PointerId<BindGroupLayout>,
pipeline: PointerId<RayTracingPipeline>,
index: u32,
},
DropBindGroupLayout(PointerId<BindGroupLayout>),
CreatePipelineLayout(PointerId<PipelineLayout>, PipelineLayoutDescriptor<'a, PointerId<BindGroupLayout>>),
DropPipelineLayout(PointerId<PipelineLayout>),
CreateBindGroup(PointerId<BindGroup>, TraceBindGroupDescriptor<'a>),
DropBindGroup(PointerId<BindGroup>),
CreateShaderModule {
id: PointerId<ShaderModule>,
desc: ShaderModuleDescriptor<'a>,
data: Data,
},
CreateShaderModulePassthrough {
id: PointerId<ShaderModule>,
data: Vec<Data>,
label: Label<'a>,
entry_points: Cow<'a, [PassthroughShaderEntryPoint<'a>]>,
},
DropShaderModule(PointerId<ShaderModule>),
CreateComputePipeline {
id: PointerId<ComputePipeline>,
desc: TraceComputePipelineDescriptor<'a>,
},
DropComputePipeline(PointerId<ComputePipeline>),
CreateGeneralRenderPipeline {
id: PointerId<RenderPipeline>,
desc: TraceGeneralRenderPipelineDescriptor<'a>,
},
DropRenderPipeline(PointerId<RenderPipeline>),
CreateRayTracingPipeline {
id: PointerId<RayTracingPipeline>,
desc: TraceRayTracingPipelineDescriptor<'a>,
},
DropRayTracingPipeline(PointerId<RayTracingPipeline>),
CreatePipelineCache {
id: PointerId<PipelineCache>,
desc: PipelineCacheDescriptor<'a>,
},
DropPipelineCache(PointerId<PipelineCache>),
CreateRenderBundle {
id: R::RenderBundle,
desc: RenderBundleEncoderDescriptor<'a>,
base: BasePass<RenderCommand<R>, Infallible>,
},
DropRenderBundle(PointerId<RenderBundle>),
CreateQuerySet {
id: PointerId<QuerySet>,
desc: QuerySetDescriptor<'a>,
},
DropQuerySet(PointerId<QuerySet>),
DestroyQuerySet(PointerId<QuerySet>),
WriteBuffer {
id: R::Buffer,
data: Data,
offset: BufferAddress,
size: BufferAddress,
queued: bool,
},
WriteTexture {
to: TexelCopyTextureInfo<R::Texture>,
data: Data,
layout: TexelCopyBufferLayout,
size: Extent3d,
},
Submit(SubmissionIndex, Vec<Command<R>>),
FailedCommands {
commands: Option<Vec<Command<R>>>,
failed_at_submit: Option<SubmissionIndex>,
error: String,
},
CreateBlas {
id: R::Blas,
desc: BlasDescriptor<'a>,
sizes: BlasGeometrySizeDescriptors,
},
DropBlas(R::Blas),
CreateTlas {
id: R::Tlas,
desc: TlasDescriptor<'a>,
},
DropTlas(R::Tlas),
}Available on crate features
replay or trace only.Variants§
Init
ConfigureSurface(R::Surface, SurfaceConfiguration<Vec<TextureFormat>>)
CreateBuffer(R::Buffer, BufferDescriptor<'a>)
DestroyBuffer(R::Buffer)
DropBuffer(R::Buffer)
CreateTexture(R::Texture, TextureDescriptor<'a>)
CreateTextureError(R::Texture, TextureDescriptor<'a>)
DestroyTexture(R::Texture)
DropTexture(R::Texture)
CreateTextureView
DropTextureView(R::TextureView)
CreateExternalTexture
DestroyExternalTexture(R::ExternalTexture)
DropExternalTexture(R::ExternalTexture)
CreateSampler(PointerId<Sampler>, SamplerDescriptor<'a>)
DropSampler(PointerId<Sampler>)
GetSurfaceTexture
Present(R::Surface)
DiscardSurfaceTexture(R::Surface)
ReleaseSurfaceTexture(R::Surface)
CreateBindGroupLayout(PointerId<BindGroupLayout>, BindGroupLayoutDescriptor<'a, BindGroupLayoutEntry>)
GetRenderPipelineBindGroupLayout
GetComputePipelineBindGroupLayout
GetRayTracingPipelineBindGroupLayout
DropBindGroupLayout(PointerId<BindGroupLayout>)
CreatePipelineLayout(PointerId<PipelineLayout>, PipelineLayoutDescriptor<'a, PointerId<BindGroupLayout>>)
DropPipelineLayout(PointerId<PipelineLayout>)
CreateBindGroup(PointerId<BindGroup>, TraceBindGroupDescriptor<'a>)
DropBindGroup(PointerId<BindGroup>)
CreateShaderModule
CreateShaderModulePassthrough
Fields
§
entry_points: Cow<'a, [PassthroughShaderEntryPoint<'a>]>DropShaderModule(PointerId<ShaderModule>)
CreateComputePipeline
DropComputePipeline(PointerId<ComputePipeline>)
CreateGeneralRenderPipeline
DropRenderPipeline(PointerId<RenderPipeline>)
CreateRayTracingPipeline
DropRayTracingPipeline(PointerId<RayTracingPipeline>)
CreatePipelineCache
DropPipelineCache(PointerId<PipelineCache>)
CreateRenderBundle
Fields
§
id: R::RenderBundle§
desc: RenderBundleEncoderDescriptor<'a>§
base: BasePass<RenderCommand<R>, Infallible>DropRenderBundle(PointerId<RenderBundle>)
CreateQuerySet
DropQuerySet(PointerId<QuerySet>)
DestroyQuerySet(PointerId<QuerySet>)
WriteBuffer
WriteTexture
Submit(SubmissionIndex, Vec<Command<R>>)
FailedCommands
Fields
§
failed_at_submit: Option<SubmissionIndex>If None, then encoding failed due to a validation error (returned
from CommandEncoder::finish). If Some, submission failed due to
a resource having been destroyed.
CreateBlas
DropBlas(R::Blas)
CreateTlas
DropTlas(R::Tlas)
Trait Implementations§
Source§impl<'de, 'a, R: ReferenceType> Deserialize<'de> for Action<'a, R>where
R::Buffer: Serialize + for<'d> Deserialize<'d>,
R::Surface: Serialize + for<'d> Deserialize<'d>,
R::Texture: Serialize + for<'d> Deserialize<'d>,
R::TextureView: Serialize + for<'d> Deserialize<'d>,
R::ExternalTexture: Serialize + for<'d> Deserialize<'d>,
R::QuerySet: Serialize + for<'d> Deserialize<'d>,
R::BindGroup: Serialize + for<'d> Deserialize<'d>,
R::RenderPipeline: Serialize + for<'d> Deserialize<'d>,
R::RenderBundle: Serialize + for<'d> Deserialize<'d>,
R::ComputePipeline: Serialize + for<'d> Deserialize<'d>,
R::RayTracingPipeline: Serialize + for<'d> Deserialize<'d>,
R::Blas: Serialize + for<'d> Deserialize<'d>,
R::Tlas: Serialize + for<'d> Deserialize<'d>,
BufferTransition<R::Buffer>: Serialize + for<'d> Deserialize<'d>,
TextureTransition<R::Texture>: Serialize + for<'d> Deserialize<'d>,
impl<'de, 'a, R: ReferenceType> Deserialize<'de> for Action<'a, R>where
R::Buffer: Serialize + for<'d> Deserialize<'d>,
R::Surface: Serialize + for<'d> Deserialize<'d>,
R::Texture: Serialize + for<'d> Deserialize<'d>,
R::TextureView: Serialize + for<'d> Deserialize<'d>,
R::ExternalTexture: Serialize + for<'d> Deserialize<'d>,
R::QuerySet: Serialize + for<'d> Deserialize<'d>,
R::BindGroup: Serialize + for<'d> Deserialize<'d>,
R::RenderPipeline: Serialize + for<'d> Deserialize<'d>,
R::RenderBundle: Serialize + for<'d> Deserialize<'d>,
R::ComputePipeline: Serialize + for<'d> Deserialize<'d>,
R::RayTracingPipeline: Serialize + for<'d> Deserialize<'d>,
R::Blas: Serialize + for<'d> Deserialize<'d>,
R::Tlas: Serialize + for<'d> Deserialize<'d>,
BufferTransition<R::Buffer>: Serialize + for<'d> Deserialize<'d>,
TextureTransition<R::Texture>: Serialize + for<'d> Deserialize<'d>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a, R: ReferenceType> Serialize for Action<'a, R>where
R::Buffer: Serialize + for<'d> Deserialize<'d>,
R::Surface: Serialize + for<'d> Deserialize<'d>,
R::Texture: Serialize + for<'d> Deserialize<'d>,
R::TextureView: Serialize + for<'d> Deserialize<'d>,
R::ExternalTexture: Serialize + for<'d> Deserialize<'d>,
R::QuerySet: Serialize + for<'d> Deserialize<'d>,
R::BindGroup: Serialize + for<'d> Deserialize<'d>,
R::RenderPipeline: Serialize + for<'d> Deserialize<'d>,
R::RenderBundle: Serialize + for<'d> Deserialize<'d>,
R::ComputePipeline: Serialize + for<'d> Deserialize<'d>,
R::RayTracingPipeline: Serialize + for<'d> Deserialize<'d>,
R::Blas: Serialize + for<'d> Deserialize<'d>,
R::Tlas: Serialize + for<'d> Deserialize<'d>,
BufferTransition<R::Buffer>: Serialize + for<'d> Deserialize<'d>,
TextureTransition<R::Texture>: Serialize + for<'d> Deserialize<'d>,
impl<'a, R: ReferenceType> Serialize for Action<'a, R>where
R::Buffer: Serialize + for<'d> Deserialize<'d>,
R::Surface: Serialize + for<'d> Deserialize<'d>,
R::Texture: Serialize + for<'d> Deserialize<'d>,
R::TextureView: Serialize + for<'d> Deserialize<'d>,
R::ExternalTexture: Serialize + for<'d> Deserialize<'d>,
R::QuerySet: Serialize + for<'d> Deserialize<'d>,
R::BindGroup: Serialize + for<'d> Deserialize<'d>,
R::RenderPipeline: Serialize + for<'d> Deserialize<'d>,
R::RenderBundle: Serialize + for<'d> Deserialize<'d>,
R::ComputePipeline: Serialize + for<'d> Deserialize<'d>,
R::RayTracingPipeline: Serialize + for<'d> Deserialize<'d>,
R::Blas: Serialize + for<'d> Deserialize<'d>,
R::Tlas: Serialize + for<'d> Deserialize<'d>,
BufferTransition<R::Buffer>: Serialize + for<'d> Deserialize<'d>,
TextureTransition<R::Texture>: Serialize + for<'d> Deserialize<'d>,
Auto Trait Implementations§
impl<'a, R> Forget for Action<'a, R>
impl<'a, R> Freeze for Action<'a, R>where
&'a str: Freeze,
String: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
<R as ReferenceType>::Surface: Freeze,
InternalBitFlags: Freeze,
PhantomData<TextureFormat>: Freeze,
<R as ReferenceType>::Buffer: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
<R as ReferenceType>::Texture: Freeze,
<R as ReferenceType>::TextureView: Freeze,
<R as ReferenceType>::ExternalTexture: Freeze,
*const [<R as ReferenceType>::TextureView] is !null: Freeze,
PhantomData<[<R as ReferenceType>::TextureView]>: Freeze,
NonZero<usize>: Freeze,
PhantomData<Sampler>: Freeze,
PhantomData<BindGroupLayout>: Freeze,
&'a [BindGroupLayoutEntry]: Freeze,
Vec<BindGroupLayoutEntry>: Freeze,
PhantomData<RenderPipeline>: Freeze,
PhantomData<ComputePipeline>: Freeze,
PhantomData<RayTracingPipeline>: Freeze,
PhantomData<PipelineLayout>: Freeze,
&'a [Option<PointerId<BindGroupLayout>>]: Freeze,
Vec<Option<PointerId<BindGroupLayout>>>: Freeze,
PhantomData<BindGroup>: Freeze,
&'a [BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>]: Freeze,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: Freeze,
PhantomData<ShaderModule>: Freeze,
PhantomData<Data>: Freeze,
&'a [PassthroughShaderEntryPoint<'a>]: Freeze,
Vec<PassthroughShaderEntryPoint<'a>>: Freeze,
PhantomData<(String, f64)>: Freeze,
PhantomData<PipelineCache>: Freeze,
&'a [Option<VertexBufferLayout<'a>>]: Freeze,
Vec<Option<VertexBufferLayout<'a>>>: Freeze,
&'a [Option<ColorTargetState>]: Freeze,
Vec<Option<ColorTargetState>>: Freeze,
NonZero<u32>: Freeze,
PhantomData<RayTracingIntersectionDescriptor<'a, PointerId<ShaderModule>>>: Freeze,
&'a [u8]: Freeze,
Vec<u8>: Freeze,
<R as ReferenceType>::RenderBundle: Freeze,
&'a [Option<TextureFormat>]: Freeze,
Vec<Option<TextureFormat>>: Freeze,
PhantomData<RenderCommand<R>>: Freeze,
PhantomData<u32>: Freeze,
PhantomData<RenderBundle>: Freeze,
PhantomData<QuerySet>: Freeze,
InternalBitFlags: Freeze,
PhantomData<Command<R>>: Freeze,
<R as ReferenceType>::Blas: Freeze,
InternalBitFlags: Freeze,
PhantomData<BlasTriangleGeometrySizeDescriptor>: Freeze,
PhantomData<BlasAABBGeometrySizeDescriptor>: Freeze,
<R as ReferenceType>::Tlas: Freeze,
impl<'a, R> Move for Action<'a, R>
impl<'a, R> RefUnwindSafe for Action<'a, R>where
String: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
<R as ReferenceType>::Surface: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
<R as ReferenceType>::Buffer: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
<R as ReferenceType>::Texture: RefUnwindSafe,
<R as ReferenceType>::TextureView: RefUnwindSafe,
<R as ReferenceType>::ExternalTexture: RefUnwindSafe,
NonZero<usize>: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
NonZero<u64>: RefUnwindSafe,
NonZero<u32>: RefUnwindSafe,
Vec<BindGroupLayoutEntry>: RefUnwindSafe,
Vec<Option<PointerId<BindGroupLayout>>>: RefUnwindSafe,
Vec<BufferBinding<PointerId<Buffer>>>: RefUnwindSafe,
Vec<PointerId<Sampler>>: RefUnwindSafe,
Vec<PointerId<TextureView>>: RefUnwindSafe,
Vec<PointerId<Tlas>>: RefUnwindSafe,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: RefUnwindSafe,
Vec<PassthroughShaderEntryPoint<'a>>: RefUnwindSafe,
Vec<VertexAttribute>: RefUnwindSafe,
Vec<Option<VertexBufferLayout<'a>>>: RefUnwindSafe,
Vec<Option<ColorTargetState>>: RefUnwindSafe,
Vec<u8>: RefUnwindSafe,
<R as ReferenceType>::RenderBundle: RefUnwindSafe,
Vec<Option<TextureFormat>>: RefUnwindSafe,
<R as ReferenceType>::BindGroup: RefUnwindSafe,
<R as ReferenceType>::RenderPipeline: RefUnwindSafe,
<R as ReferenceType>::QuerySet: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
<R as ReferenceType>::ComputePipeline: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
<R as ReferenceType>::RayTracingPipeline: RefUnwindSafe,
Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>: RefUnwindSafe,
<R as ReferenceType>::Blas: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
<R as ReferenceType>::Tlas: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
InternalBitFlags: RefUnwindSafe,
impl<'a, R> Send for Action<'a, R>where
&'a str: Send,
String: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
RawVecInner: Send,
<R as ReferenceType>::Surface: Send,
InternalBitFlags: Send,
<R as ReferenceType>::Buffer: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
<R as ReferenceType>::Texture: Send,
<R as ReferenceType>::TextureView: Send,
<R as ReferenceType>::ExternalTexture: Send,
BoxRaw<[<R as ReferenceType>::TextureView]>: Send,
NonZero<usize>: Send,
&'a [BindGroupLayoutEntry]: Send,
Vec<BindGroupLayoutEntry>: Send,
&'a [Option<PointerId<BindGroupLayout>>]: Send,
Vec<Option<PointerId<BindGroupLayout>>>: Send,
&'a [BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>]: Send,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: Send,
&'a [PassthroughShaderEntryPoint<'a>]: Send,
Vec<PassthroughShaderEntryPoint<'a>>: Send,
RawTable<(String, f64)>: Send,
&'a [Option<VertexBufferLayout<'a>>]: Send,
Vec<Option<VertexBufferLayout<'a>>>: Send,
&'a [Option<ColorTargetState>]: Send,
Vec<Option<ColorTargetState>>: Send,
NonZero<u32>: Send,
&'a [u8]: Send,
Vec<u8>: Send,
<R as ReferenceType>::RenderBundle: Send,
&'a [Option<TextureFormat>]: Send,
Vec<Option<TextureFormat>>: Send,
<R as ReferenceType>::BindGroup: Send,
<R as ReferenceType>::RenderPipeline: Send,
<R as ReferenceType>::QuerySet: Send,
InternalBitFlags: Send,
<R as ReferenceType>::ComputePipeline: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
<R as ReferenceType>::RayTracingPipeline: Send,
SmallVec<[Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>; 1]>: Send,
<R as ReferenceType>::Blas: Send,
InternalBitFlags: Send,
<R as ReferenceType>::Tlas: Send,
InternalBitFlags: Send,
InternalBitFlags: Send,
impl<'a, R> Sync for Action<'a, R>where
String: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
RawVecInner: Sync,
<R as ReferenceType>::Surface: Sync,
InternalBitFlags: Sync,
<R as ReferenceType>::Buffer: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
<R as ReferenceType>::Texture: Sync,
<R as ReferenceType>::TextureView: Sync,
<R as ReferenceType>::ExternalTexture: Sync,
BoxRaw<[<R as ReferenceType>::TextureView]>: Sync,
NonZero<usize>: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
NonZero<u64>: Sync,
NonZero<u32>: Sync,
Vec<BindGroupLayoutEntry>: Sync,
Vec<Option<PointerId<BindGroupLayout>>>: Sync,
Vec<BufferBinding<PointerId<Buffer>>>: Sync,
Vec<PointerId<Sampler>>: Sync,
Vec<PointerId<TextureView>>: Sync,
Vec<PointerId<Tlas>>: Sync,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: Sync,
Vec<PassthroughShaderEntryPoint<'a>>: Sync,
RawTable<(String, f64)>: Sync,
Vec<VertexAttribute>: Sync,
Vec<Option<VertexBufferLayout<'a>>>: Sync,
Vec<Option<ColorTargetState>>: Sync,
Vec<u8>: Sync,
<R as ReferenceType>::RenderBundle: Sync,
Vec<Option<TextureFormat>>: Sync,
<R as ReferenceType>::BindGroup: Sync,
<R as ReferenceType>::RenderPipeline: Sync,
<R as ReferenceType>::QuerySet: Sync,
InternalBitFlags: Sync,
<R as ReferenceType>::ComputePipeline: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
<R as ReferenceType>::RayTracingPipeline: Sync,
SmallVecData<[Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>; 1]>: Sync,
Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>: Sync,
<R as ReferenceType>::Blas: Sync,
InternalBitFlags: Sync,
<R as ReferenceType>::Tlas: Sync,
InternalBitFlags: Sync,
InternalBitFlags: Sync,
impl<'a, R> Unpin for Action<'a, R>where
&'a str: Unpin,
String: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
*const u8 is !null: Unpin,
<R as ReferenceType>::Surface: Unpin,
InternalBitFlags: Unpin,
<R as ReferenceType>::Buffer: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
<R as ReferenceType>::Texture: Unpin,
<R as ReferenceType>::TextureView: Unpin,
<R as ReferenceType>::ExternalTexture: Unpin,
Box<[<R as ReferenceType>::TextureView]>: Unpin,
NonZero<usize>: Unpin,
&'a [BindGroupLayoutEntry]: Unpin,
Vec<BindGroupLayoutEntry>: Unpin,
&'a [Option<PointerId<BindGroupLayout>>]: Unpin,
Vec<Option<PointerId<BindGroupLayout>>>: Unpin,
&'a [BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>]: Unpin,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: Unpin,
&'a [PassthroughShaderEntryPoint<'a>]: Unpin,
Vec<PassthroughShaderEntryPoint<'a>>: Unpin,
&'a [Option<VertexBufferLayout<'a>>]: Unpin,
Vec<Option<VertexBufferLayout<'a>>>: Unpin,
&'a [Option<ColorTargetState>]: Unpin,
Vec<Option<ColorTargetState>>: Unpin,
NonZero<u32>: Unpin,
&'a [u8]: Unpin,
Vec<u8>: Unpin,
<R as ReferenceType>::RenderBundle: Unpin,
&'a [Option<TextureFormat>]: Unpin,
Vec<Option<TextureFormat>>: Unpin,
<R as ReferenceType>::BindGroup: Unpin,
<R as ReferenceType>::RenderPipeline: Unpin,
<R as ReferenceType>::QuerySet: Unpin,
InternalBitFlags: Unpin,
<R as ReferenceType>::ComputePipeline: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
<R as ReferenceType>::RayTracingPipeline: Unpin,
*const Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>> is !null: Unpin,
Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>: Unpin,
<R as ReferenceType>::Blas: Unpin,
InternalBitFlags: Unpin,
<R as ReferenceType>::Tlas: Unpin,
InternalBitFlags: Unpin,
InternalBitFlags: Unpin,
impl<'a, R> UnsafeUnpin for Action<'a, R>where
&'a str: UnsafeUnpin,
String: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
<R as ReferenceType>::Surface: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
PhantomData<TextureFormat>: UnsafeUnpin,
<R as ReferenceType>::Buffer: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
<R as ReferenceType>::Texture: UnsafeUnpin,
<R as ReferenceType>::TextureView: UnsafeUnpin,
<R as ReferenceType>::ExternalTexture: UnsafeUnpin,
*const [<R as ReferenceType>::TextureView] is !null: UnsafeUnpin,
PhantomData<[<R as ReferenceType>::TextureView]>: UnsafeUnpin,
NonZeroUsizeInner: UnsafeUnpin,
PhantomData<Sampler>: UnsafeUnpin,
PhantomData<BindGroupLayout>: UnsafeUnpin,
&'a [BindGroupLayoutEntry]: UnsafeUnpin,
Vec<BindGroupLayoutEntry>: UnsafeUnpin,
PhantomData<RenderPipeline>: UnsafeUnpin,
PhantomData<ComputePipeline>: UnsafeUnpin,
PhantomData<RayTracingPipeline>: UnsafeUnpin,
PhantomData<PipelineLayout>: UnsafeUnpin,
&'a [Option<PointerId<BindGroupLayout>>]: UnsafeUnpin,
Vec<Option<PointerId<BindGroupLayout>>>: UnsafeUnpin,
PhantomData<BindGroup>: UnsafeUnpin,
&'a [BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>]: UnsafeUnpin,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: UnsafeUnpin,
PhantomData<ShaderModule>: UnsafeUnpin,
PhantomData<Data>: UnsafeUnpin,
&'a [PassthroughShaderEntryPoint<'a>]: UnsafeUnpin,
Vec<PassthroughShaderEntryPoint<'a>>: UnsafeUnpin,
PhantomData<(String, f64)>: UnsafeUnpin,
PhantomData<PipelineCache>: UnsafeUnpin,
&'a [Option<VertexBufferLayout<'a>>]: UnsafeUnpin,
Vec<Option<VertexBufferLayout<'a>>>: UnsafeUnpin,
&'a [Option<ColorTargetState>]: UnsafeUnpin,
Vec<Option<ColorTargetState>>: UnsafeUnpin,
NonZeroU32Inner: UnsafeUnpin,
PhantomData<RayTracingIntersectionDescriptor<'a, PointerId<ShaderModule>>>: UnsafeUnpin,
&'a [u8]: UnsafeUnpin,
Vec<u8>: UnsafeUnpin,
<R as ReferenceType>::RenderBundle: UnsafeUnpin,
&'a [Option<TextureFormat>]: UnsafeUnpin,
Vec<Option<TextureFormat>>: UnsafeUnpin,
PhantomData<RenderCommand<R>>: UnsafeUnpin,
PhantomData<u32>: UnsafeUnpin,
PhantomData<RenderBundle>: UnsafeUnpin,
PhantomData<QuerySet>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
PhantomData<Command<R>>: UnsafeUnpin,
<R as ReferenceType>::Blas: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
PhantomData<BlasTriangleGeometrySizeDescriptor>: UnsafeUnpin,
PhantomData<BlasAABBGeometrySizeDescriptor>: UnsafeUnpin,
<R as ReferenceType>::Tlas: UnsafeUnpin,
impl<'a, R> UnwindSafe for Action<'a, R>where
&'a str: UnwindSafe,
String: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
RawVecInner: UnwindSafe,
<R as ReferenceType>::Surface: UnwindSafe,
InternalBitFlags: UnwindSafe,
<R as ReferenceType>::Buffer: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
<R as ReferenceType>::Texture: UnwindSafe,
<R as ReferenceType>::TextureView: UnwindSafe,
<R as ReferenceType>::ExternalTexture: UnwindSafe,
BoxRaw<[<R as ReferenceType>::TextureView]>: UnwindSafe,
NonZero<usize>: UnwindSafe,
&'a [BindGroupLayoutEntry]: UnwindSafe,
Vec<BindGroupLayoutEntry>: UnwindSafe,
&'a [Option<PointerId<BindGroupLayout>>]: UnwindSafe,
Vec<Option<PointerId<BindGroupLayout>>>: UnwindSafe,
&'a [BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>]: UnwindSafe,
Vec<BindGroupEntry<'a, PointerId<Buffer>, PointerId<Sampler>, PointerId<TextureView>, PointerId<Tlas>, PointerId<ExternalTexture>>>: UnwindSafe,
&'a [PassthroughShaderEntryPoint<'a>]: UnwindSafe,
Vec<PassthroughShaderEntryPoint<'a>>: UnwindSafe,
NonNull<u8>: UnwindSafe,
&'a [Option<VertexBufferLayout<'a>>]: UnwindSafe,
Vec<Option<VertexBufferLayout<'a>>>: UnwindSafe,
&'a [Option<ColorTargetState>]: UnwindSafe,
Vec<Option<ColorTargetState>>: UnwindSafe,
NonZero<u32>: UnwindSafe,
&'a [u8]: UnwindSafe,
Vec<u8>: UnwindSafe,
<R as ReferenceType>::RenderBundle: UnwindSafe,
&'a [Option<TextureFormat>]: UnwindSafe,
Vec<Option<TextureFormat>>: UnwindSafe,
<R as ReferenceType>::BindGroup: UnwindSafe,
<R as ReferenceType>::RenderPipeline: UnwindSafe,
<R as ReferenceType>::QuerySet: UnwindSafe,
InternalBitFlags: UnwindSafe,
<R as ReferenceType>::ComputePipeline: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
<R as ReferenceType>::RayTracingPipeline: UnwindSafe,
NonNull<Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>>: UnwindSafe,
Option<RenderPassColorAttachment<<R as ReferenceType>::TextureView>>: UnwindSafe,
<R as ReferenceType>::Blas: UnwindSafe,
InternalBitFlags: UnwindSafe,
<R as ReferenceType>::Tlas: UnwindSafe,
InternalBitFlags: UnwindSafe,
InternalBitFlags: UnwindSafe,
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