Trait ID2D1Device_Impl
pub trait ID2D1Device_Impl: ID2D1Resource_Impl {
// Required methods
fn CreateDeviceContext(
&self,
options: D2D1_DEVICE_CONTEXT_OPTIONS,
) -> Result<ID2D1DeviceContext>;
fn CreatePrintControl(
&self,
wicfactory: Ref<'_, IWICImagingFactory>,
documenttarget: Ref<'_, IPrintDocumentPackageTarget>,
printcontrolproperties: *const D2D1_PRINT_CONTROL_PROPERTIES,
) -> Result<ID2D1PrintControl>;
fn SetMaximumTextureMemory(&self, maximuminbytes: u64);
fn GetMaximumTextureMemory(&self) -> u64;
fn ClearResources(&self, millisecondssinceuse: u32);
}
Required Methods§
fn CreateDeviceContext( &self, options: D2D1_DEVICE_CONTEXT_OPTIONS, ) -> Result<ID2D1DeviceContext>
fn CreatePrintControl( &self, wicfactory: Ref<'_, IWICImagingFactory>, documenttarget: Ref<'_, IPrintDocumentPackageTarget>, printcontrolproperties: *const D2D1_PRINT_CONTROL_PROPERTIES, ) -> Result<ID2D1PrintControl>
fn SetMaximumTextureMemory(&self, maximuminbytes: u64)
fn GetMaximumTextureMemory(&self) -> u64
fn ClearResources(&self, millisecondssinceuse: u32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.