pub trait Api: Clone + Debug + Sized {
Show 21 associated items
type Instance: Instance<Self>;
type Surface: Surface<Self>;
type Adapter: Adapter<Self>;
type Device: Device<Self>;
type Queue: Queue<Self>;
type CommandEncoder: CommandEncoder<Self>;
type CommandBuffer: WasmNotSendSync + Debug;
type Buffer: Debug + WasmNotSendSync + 'static;
type Texture: Debug + WasmNotSendSync + 'static;
type SurfaceTexture: Debug + WasmNotSendSync + Borrow<Self::Texture>;
type TextureView: Debug + WasmNotSendSync;
type Sampler: Debug + WasmNotSendSync;
type QuerySet: Debug + WasmNotSendSync;
type Fence: Debug + WasmNotSendSync;
type BindGroupLayout: Debug + WasmNotSendSync;
type BindGroup: Debug + WasmNotSendSync;
type PipelineLayout: Debug + WasmNotSendSync;
type ShaderModule: Debug + WasmNotSendSync;
type RenderPipeline: Debug + WasmNotSendSync;
type ComputePipeline: Debug + WasmNotSendSync;
type AccelerationStructure: Debug + WasmNotSendSync + 'static;
}
Required Associated Types§
type Instance: Instance<Self>
type Surface: Surface<Self>
type Adapter: Adapter<Self>
type Device: Device<Self>
type Queue: Queue<Self>
type CommandEncoder: CommandEncoder<Self>
type CommandBuffer: WasmNotSendSync + Debug
type Buffer: Debug + WasmNotSendSync + 'static
type Texture: Debug + WasmNotSendSync + 'static
type SurfaceTexture: Debug + WasmNotSendSync + Borrow<Self::Texture>
type TextureView: Debug + WasmNotSendSync
type Sampler: Debug + WasmNotSendSync
type QuerySet: Debug + WasmNotSendSync
type Fence: Debug + WasmNotSendSync
type BindGroupLayout: Debug + WasmNotSendSync
type BindGroup: Debug + WasmNotSendSync
type PipelineLayout: Debug + WasmNotSendSync
type ShaderModule: Debug + WasmNotSendSync
type RenderPipeline: Debug + WasmNotSendSync
type ComputePipeline: Debug + WasmNotSendSync
type AccelerationStructure: Debug + WasmNotSendSync + 'static
Object Safety§
This trait is not object safe.