Trait windows::Win32::Graphics::Direct3D12::ID3D12Object_Impl

pub trait ID3D12Object_Impl: Sized {
    // Required methods
    fn GetPrivateData(
        &self,
        guid: *const GUID,
        pdatasize: *mut u32,
        pdata: *mut c_void,
    ) -> Result<()>;
    fn SetPrivateData(
        &self,
        guid: *const GUID,
        datasize: u32,
        pdata: *const c_void,
    ) -> Result<()>;
    fn SetPrivateDataInterface(
        &self,
        guid: *const GUID,
        pdata: Option<&IUnknown>,
    ) -> Result<()>;
    fn SetName(&self, name: &PCWSTR) -> Result<()>;
}

Required Methods§

fn GetPrivateData( &self, guid: *const GUID, pdatasize: *mut u32, pdata: *mut c_void, ) -> Result<()>

fn SetPrivateData( &self, guid: *const GUID, datasize: u32, pdata: *const c_void, ) -> Result<()>

fn SetPrivateDataInterface( &self, guid: *const GUID, pdata: Option<&IUnknown>, ) -> Result<()>

fn SetName(&self, name: &PCWSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§