#[repr(C)]pub struct ID2D1DeviceVtbl {
pub parent: ID2D1ResourceVtbl,
pub CreateDeviceContext: unsafe extern "system" fn(This: *mut ID2D1Device, options: D2D1_DEVICE_CONTEXT_OPTIONS, deviceContext: *mut *mut ID2D1DeviceContext) -> HRESULT,
pub CreatePrintControl: unsafe extern "system" fn(This: *mut ID2D1Device, wicFactory: *const IWICImagingFactory, documentTarget: *const IPrintDocumentPackageTarget, printControlProperties: *const D2D1_PRINT_CONTROL_PROPERTIES, printControl: *mut *mut ID2D1PrintControl) -> HRESULT,
pub SetMaximumTextureMemory: unsafe extern "system" fn(This: *mut ID2D1Device, maximumInBytes: UINT64),
pub GetMaximumTextureMemory: unsafe extern "system" fn(This: *mut ID2D1Device) -> UINT64,
pub ClearResources: unsafe extern "system" fn(This: *mut ID2D1Device, millisecondsSinceUse: UINT32),
}
Fields§
§parent: ID2D1ResourceVtbl
§CreateDeviceContext: unsafe extern "system" fn(This: *mut ID2D1Device, options: D2D1_DEVICE_CONTEXT_OPTIONS, deviceContext: *mut *mut ID2D1DeviceContext) -> HRESULT
§CreatePrintControl: unsafe extern "system" fn(This: *mut ID2D1Device, wicFactory: *const IWICImagingFactory, documentTarget: *const IPrintDocumentPackageTarget, printControlProperties: *const D2D1_PRINT_CONTROL_PROPERTIES, printControl: *mut *mut ID2D1PrintControl) -> HRESULT
§SetMaximumTextureMemory: unsafe extern "system" fn(This: *mut ID2D1Device, maximumInBytes: UINT64)
§GetMaximumTextureMemory: unsafe extern "system" fn(This: *mut ID2D1Device) -> UINT64
§ClearResources: unsafe extern "system" fn(This: *mut ID2D1Device, millisecondsSinceUse: UINT32)
Auto Trait Implementations§
impl Freeze for ID2D1DeviceVtbl
impl RefUnwindSafe for ID2D1DeviceVtbl
impl Send for ID2D1DeviceVtbl
impl Sync for ID2D1DeviceVtbl
impl Unpin for ID2D1DeviceVtbl
impl UnwindSafe for ID2D1DeviceVtbl
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