#[repr(C)]pub struct IDCompositionSurfaceFactoryVtbl {
pub parent: IUnknownVtbl,
pub CreateSurface: unsafe extern "system" fn(This: *mut IDCompositionSurfaceFactory, width: UINT, height: UINT, pixelFormat: DXGI_FORMAT, alphaMode: DXGI_ALPHA_MODE, surface: *mut *mut IDCompositionSurface) -> HRESULT,
pub CreateVirtualSurface: unsafe extern "system" fn(This: *mut IDCompositionSurfaceFactory, initialWidth: UINT, initialHeight: UINT, pixelFormat: DXGI_FORMAT, alphaMode: DXGI_ALPHA_MODE, virtualSurface: *mut *mut IDCompositionVirtualSurface) -> HRESULT,
}Fields§
§parent: IUnknownVtbl§CreateSurface: unsafe extern "system" fn(This: *mut IDCompositionSurfaceFactory, width: UINT, height: UINT, pixelFormat: DXGI_FORMAT, alphaMode: DXGI_ALPHA_MODE, surface: *mut *mut IDCompositionSurface) -> HRESULT§CreateVirtualSurface: unsafe extern "system" fn(This: *mut IDCompositionSurfaceFactory, initialWidth: UINT, initialHeight: UINT, pixelFormat: DXGI_FORMAT, alphaMode: DXGI_ALPHA_MODE, virtualSurface: *mut *mut IDCompositionVirtualSurface) -> HRESULTAuto Trait Implementations§
impl Freeze for IDCompositionSurfaceFactoryVtbl
impl RefUnwindSafe for IDCompositionSurfaceFactoryVtbl
impl Send for IDCompositionSurfaceFactoryVtbl
impl Sync for IDCompositionSurfaceFactoryVtbl
impl Unpin for IDCompositionSurfaceFactoryVtbl
impl UnwindSafe for IDCompositionSurfaceFactoryVtbl
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