Trait ID2D1CommandSink2_Impl
pub trait ID2D1CommandSink2_Impl: ID2D1CommandSink1_Impl {
// Required methods
fn DrawInk(
&self,
ink: Ref<'_, ID2D1Ink>,
brush: Ref<'_, ID2D1Brush>,
inkstyle: Ref<'_, ID2D1InkStyle>,
) -> Result<()>;
fn DrawGradientMesh(
&self,
gradientmesh: Ref<'_, ID2D1GradientMesh>,
) -> Result<()>;
fn DrawGdiMetafile(
&self,
gdimetafile: Ref<'_, ID2D1GdiMetafile>,
destinationrectangle: *const D2D_RECT_F,
sourcerectangle: *const D2D_RECT_F,
) -> Result<()>;
}
Required Methods§
fn DrawInk( &self, ink: Ref<'_, ID2D1Ink>, brush: Ref<'_, ID2D1Brush>, inkstyle: Ref<'_, ID2D1InkStyle>, ) -> Result<()>
fn DrawGradientMesh( &self, gradientmesh: Ref<'_, ID2D1GradientMesh>, ) -> Result<()>
fn DrawGdiMetafile( &self, gdimetafile: Ref<'_, ID2D1GdiMetafile>, destinationrectangle: *const D2D_RECT_F, sourcerectangle: *const D2D_RECT_F, ) -> Result<()>
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.