pub struct Empty;
Trait Implementations
sourceimpl Api for Api
impl Api for Api
type Instance = Context
type Surface = Context
type Adapter = Context
type Device = Context
type Queue = Context
type CommandEncoder = Encoder
type CommandBuffer = Resource
type Buffer = Resource
type Texture = Resource
type SurfaceTexture = Resource
type TextureView = Resource
type Sampler = Resource
type QuerySet = Resource
type Fence = Resource
type BindGroupLayout = Resource
type BindGroup = Resource
type PipelineLayout = Resource
type ShaderModule = Resource
type RenderPipeline = Resource
type ComputePipeline = Resource
sourceimpl HalApi for Empty
impl HalApi for Empty
const VARIANT: Backend = Backend::Empty
fn create_instance_from_hal(_: &str, _: Self::Instance) -> Instance
fn instance_as_hal(_: &Instance) -> Option<&Self::Instance>
fn hub<G: GlobalIdentityHandlerFactory>(_: &Global<G>) -> &Hub<Self, G>
fn get_surface(_: &Surface) -> &HalSurface<Self>
fn get_surface_mut(_: &mut Surface) -> &mut HalSurface<Self>
Auto Trait Implementations
impl RefUnwindSafe for Api
impl Send for Api
impl Sync for Api
impl Unpin for Api
impl UnwindSafe for Api
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more