pub struct Gles;
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
Source§type CommandBuffer = CommandBuffer
type CommandBuffer = CommandBuffer
This API’s command buffer type. Read more
type Buffer = Buffer
type Texture = Texture
type SurfaceTexture = Texture
type TextureView = TextureView
type Sampler = Sampler
type QuerySet = QuerySet
type AccelerationStructure = ()
type BindGroupLayout = BindGroupLayout
type BindGroup = BindGroup
type PipelineLayout = PipelineLayout
type ShaderModule = ShaderModule
type RenderPipeline = RenderPipeline
type ComputePipeline = ComputePipeline
Source§impl HalApi for Gles
Available on gles
only.
impl HalApi for Gles
Available on
gles
only.const VARIANT: Backend = Backend::Gl
fn create_instance_from_hal( name: &str, hal_instance: Self::Instance, ) -> Instance
fn instance_as_hal(instance: &Instance) -> Option<&Self::Instance>
fn hub(global: &Global) -> &Hub<Self>
fn surface_as_hal(surface: &Surface) -> Option<&Self::Surface>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)