#[repr(C)]pub struct ID2D1Device {
pub lpVtbl: *const ID2D1DeviceVtbl,
}
Fields§
§lpVtbl: *const ID2D1DeviceVtbl
Implementations§
Source§impl ID2D1Device
impl ID2D1Device
pub unsafe fn CreateDeviceContext( &self, options: D2D1_DEVICE_CONTEXT_OPTIONS, deviceContext: *mut *mut ID2D1DeviceContext, ) -> HRESULT
pub unsafe fn CreatePrintControl( &self, wicFactory: *const IWICImagingFactory, documentTarget: *const IPrintDocumentPackageTarget, printControlProperties: *const D2D1_PRINT_CONTROL_PROPERTIES, printControl: *mut *mut ID2D1PrintControl, ) -> HRESULT
pub unsafe fn SetMaximumTextureMemory(&self, maximumInBytes: UINT64)
pub unsafe fn GetMaximumTextureMemory(&self) -> UINT64
pub unsafe fn ClearResources(&self, millisecondsSinceUse: UINT32)
Methods from Deref<Target = ID2D1Resource>§
pub unsafe fn GetFactory(&self, factory: *mut *mut ID2D1Factory)
Trait Implementations§
Source§impl Deref for ID2D1Device
impl Deref for ID2D1Device
Source§type Target = ID2D1Resource
type Target = ID2D1Resource
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Resource
fn deref(&self) -> &ID2D1Resource
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1Device
impl RefUnwindSafe for ID2D1Device
impl !Send for ID2D1Device
impl !Sync for ID2D1Device
impl Unpin for ID2D1Device
impl UnwindSafe for ID2D1Device
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