Struct windows::Win32::Graphics::Dxgi::IDXGIResource_Vtbl
#[repr(C)]pub struct IDXGIResource_Vtbl {
pub base__: IDXGIDeviceSubObject_Vtbl,
pub GetSharedHandle: unsafe extern "system" fn(_: *mut c_void, _: *mut HANDLE) -> HRESULT,
pub GetUsage: unsafe extern "system" fn(_: *mut c_void, _: *mut DXGI_USAGE) -> HRESULT,
pub SetEvictionPriority: unsafe extern "system" fn(_: *mut c_void, _: DXGI_RESOURCE_PRIORITY) -> HRESULT,
pub GetEvictionPriority: unsafe extern "system" fn(_: *mut c_void, _: *mut DXGI_RESOURCE_PRIORITY) -> HRESULT,
}
Fields§
§base__: IDXGIDeviceSubObject_Vtbl
§GetUsage: unsafe extern "system" fn(_: *mut c_void, _: *mut DXGI_USAGE) -> HRESULT
§SetEvictionPriority: unsafe extern "system" fn(_: *mut c_void, _: DXGI_RESOURCE_PRIORITY) -> HRESULT
§GetEvictionPriority: unsafe extern "system" fn(_: *mut c_void, _: *mut DXGI_RESOURCE_PRIORITY) -> HRESULT
Implementations§
§impl IDXGIResource_Vtbl
impl IDXGIResource_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDXGIResource_Vtblwhere
Identity: IDXGIResource_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDXGIResource_Vtbl
impl RefUnwindSafe for IDXGIResource_Vtbl
impl Send for IDXGIResource_Vtbl
impl Sync for IDXGIResource_Vtbl
impl Unpin for IDXGIResource_Vtbl
impl UnwindSafe for IDXGIResource_Vtbl
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