Struct winsafe::vt::IDXGIResourceVT
source · #[repr(C)]pub struct IDXGIResourceVT {
pub IDXGIDeviceSubObjectVT: IDXGIDeviceSubObjectVT,
pub GetSharedHandle: fn(_: *mut c_void, _: *mut *mut c_void) -> u32,
pub GetUsage: fn(_: *mut c_void, _: *mut u32) -> u32,
pub SetEvictionPriority: fn(_: *mut c_void, _: u32) -> u32,
pub GetEvictionPriority: fn(_: *mut c_void, _: *mut u32) -> u32,
}
Available on crate features
ole
and dxgi
only.Expand description
IDXGIResource
virtual table.
Fields§
§IDXGIDeviceSubObjectVT: IDXGIDeviceSubObjectVT
§GetUsage: fn(_: *mut c_void, _: *mut u32) -> u32
§SetEvictionPriority: fn(_: *mut c_void, _: u32) -> u32
§GetEvictionPriority: fn(_: *mut c_void, _: *mut u32) -> u32
Auto Trait Implementations§
impl Freeze for IDXGIResourceVT
impl RefUnwindSafe for IDXGIResourceVT
impl Send for IDXGIResourceVT
impl Sync for IDXGIResourceVT
impl Unpin for IDXGIResourceVT
impl UnwindSafe for IDXGIResourceVT
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