pub struct Api;
Trait Implementations§
source§impl Api for Api
impl Api for Api
type Instance = Instance
type Surface = Surface
type Adapter = Adapter
type Device = Device
type Queue = Queue
type CommandEncoder = CommandEncoder
§type CommandBuffer = CommandBuffer
type CommandBuffer = CommandBuffer
This API’s command buffer type. Read more
type Buffer = Buffer
type Texture = Texture
type SurfaceTexture = SurfaceTexture
type TextureView = TextureView
type Sampler = Sampler
type QuerySet = QuerySet
type AccelerationStructure = AccelerationStructure
type BindGroupLayout = BindGroupLayout
type BindGroup = BindGroup
type PipelineLayout = PipelineLayout
type ShaderModule = ShaderModule
type RenderPipeline = RenderPipeline
type ComputePipeline = ComputePipeline
Auto Trait Implementations§
impl Freeze for Api
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
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