#[repr(C)]pub struct IDXGIResource {
pub lpVtbl: *const IDXGIResourceVtbl,
}
Fields§
§lpVtbl: *const IDXGIResourceVtbl
Implementations§
Source§impl IDXGIResource
impl IDXGIResource
pub unsafe fn GetUsage(&self, pUsage: *mut DXGI_USAGE) -> HRESULT
pub unsafe fn SetEvictionPriority(&self, EvictionPriority: UINT) -> HRESULT
pub unsafe fn GetEvictionPriority( &self, pEvictionPriority: *mut UINT, ) -> HRESULT
Methods from Deref<Target = IDXGIDeviceSubObject>§
Methods from Deref<Target = IDXGIObject>§
pub unsafe fn SetPrivateData( &self, Name: REFGUID, DataSize: UINT, pData: *const c_void, ) -> HRESULT
pub unsafe fn SetPrivateDataInterface( &self, Name: REFGUID, pUnknown: *const IUnknown, ) -> HRESULT
pub unsafe fn GetPrivateData( &self, Name: REFGUID, pDataSize: *mut UINT, pData: *mut c_void, ) -> HRESULT
pub unsafe fn GetParent( &self, riid: REFIID, ppParent: *mut *mut c_void, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDXGIResource
impl Deref for IDXGIResource
Source§type Target = IDXGIDeviceSubObject
type Target = IDXGIDeviceSubObject
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDXGIDeviceSubObject
fn deref(&self) -> &IDXGIDeviceSubObject
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDXGIResource
impl RefUnwindSafe for IDXGIResource
impl !Send for IDXGIResource
impl !Sync for IDXGIResource
impl Unpin for IDXGIResource
impl UnwindSafe for IDXGIResource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more