#[repr(C)]pub struct ID2D1Device1 {
pub lpVtbl: *const ID2D1Device1Vtbl,
}
Fields§
§lpVtbl: *const ID2D1Device1Vtbl
Implementations§
Source§impl ID2D1Device1
impl ID2D1Device1
pub unsafe fn GetRenderingPriority(&self) -> D2D1_RENDERING_PRIORITY
pub unsafe fn SetRenderingPriority( &self, renderingPriority: D2D1_RENDERING_PRIORITY, )
pub unsafe fn CreateDeviceContext( &self, options: D2D1_DEVICE_CONTEXT_OPTIONS, deviceContext1: *mut *mut ID2D1DeviceContext1, ) -> HRESULT
Methods from Deref<Target = 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 ID2D1Device1
impl Deref for ID2D1Device1
Source§type Target = ID2D1Device
type Target = ID2D1Device
The resulting type after dereferencing.
Source§fn deref(&self) -> &ID2D1Device
fn deref(&self) -> &ID2D1Device
Dereferences the value.
Auto Trait Implementations§
impl Freeze for ID2D1Device1
impl RefUnwindSafe for ID2D1Device1
impl !Send for ID2D1Device1
impl !Sync for ID2D1Device1
impl Unpin for ID2D1Device1
impl UnwindSafe for ID2D1Device1
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