Struct windows::Win32::Graphics::DXCore::IDXCoreAdapterList_Vtbl
#[repr(C)]pub struct IDXCoreAdapterList_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetAdapter: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub GetAdapterCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub IsStale: unsafe extern "system" fn(_: *mut c_void) -> bool,
pub GetFactory: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT,
pub Sort: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DXCoreAdapterPreference) -> HRESULT,
pub IsAdapterPreferenceSupported: unsafe extern "system" fn(_: *mut c_void, _: DXCoreAdapterPreference) -> bool,
}
Fields§
§base__: IUnknown_Vtbl
§GetAdapter: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§GetAdapterCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§IsStale: unsafe extern "system" fn(_: *mut c_void) -> bool
§GetFactory: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT
§Sort: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const DXCoreAdapterPreference) -> HRESULT
§IsAdapterPreferenceSupported: unsafe extern "system" fn(_: *mut c_void, _: DXCoreAdapterPreference) -> bool
Implementations§
§impl IDXCoreAdapterList_Vtbl
impl IDXCoreAdapterList_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDXCoreAdapterList_Vtblwhere
Identity: IDXCoreAdapterList_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDXCoreAdapterList_Vtbl
impl RefUnwindSafe for IDXCoreAdapterList_Vtbl
impl Send for IDXCoreAdapterList_Vtbl
impl Sync for IDXCoreAdapterList_Vtbl
impl Unpin for IDXCoreAdapterList_Vtbl
impl UnwindSafe for IDXCoreAdapterList_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