pub struct Dx12;
Trait Implementations
sourceimpl 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 Buffer = Buffer
type Texture = Texture
type SurfaceTexture = Texture
type TextureView = TextureView
type Sampler = Sampler
type QuerySet = QuerySet
type Fence = Fence
type BindGroupLayout = BindGroupLayout
type BindGroup = BindGroup
type PipelineLayout = PipelineLayout
type ShaderModule = ShaderModule
type RenderPipeline = RenderPipeline
type ComputePipeline = ComputePipeline
sourceimpl HalApi for Dx12
impl HalApi for Dx12
const VARIANT: Backend = Backend::Dx12
fn create_instance_from_hal(name: &str, hal_instance: Self::Instance) -> Instance
fn instance_as_hal(instance: &Instance) -> Option<&Self::Instance>
fn hub<G: GlobalIdentityHandlerFactory>(global: &Global<G>) -> &Hub<Self, G>
fn get_surface(surface: &Surface) -> &HalSurface<Self>
fn get_surface_mut(surface: &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