windows::Win32::Graphics::Direct3D11

Trait ID3D11ClassLinkage_Impl

pub trait ID3D11ClassLinkage_Impl: ID3D11DeviceChild_Impl {
    // Required methods
    fn GetClassInstance(
        &self,
        pclassinstancename: &PCSTR,
        instanceindex: u32,
    ) -> Result<ID3D11ClassInstance>;
    fn CreateClassInstance(
        &self,
        pclasstypename: &PCSTR,
        constantbufferoffset: u32,
        constantvectoroffset: u32,
        textureoffset: u32,
        sampleroffset: u32,
    ) -> Result<ID3D11ClassInstance>;
}

Required Methods§

fn GetClassInstance( &self, pclassinstancename: &PCSTR, instanceindex: u32, ) -> Result<ID3D11ClassInstance>

fn CreateClassInstance( &self, pclasstypename: &PCSTR, constantbufferoffset: u32, constantvectoroffset: u32, textureoffset: u32, sampleroffset: u32, ) -> Result<ID3D11ClassInstance>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§