pub trait IMFDXGIBuffer_Impl: Sized {
    // Required methods
    fn GetResource(
        &self,
        riid: *const GUID,
        ppvobject: *mut *mut c_void,
    ) -> Result<()>;
    fn GetSubresourceIndex(&self) -> Result<u32>;
    fn GetUnknown(
        &self,
        guid: *const GUID,
        riid: *const GUID,
        ppvobject: *mut *mut c_void,
    ) -> Result<()>;
    fn SetUnknown(
        &self,
        guid: *const GUID,
        punkdata: Option<&IUnknown>,
    ) -> Result<()>;
}

Required Methods§

fn GetResource( &self, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

fn GetSubresourceIndex(&self) -> Result<u32>

fn GetUnknown( &self, guid: *const GUID, riid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§