Trait ID2D1DeviceContext3_Impl
pub trait ID2D1DeviceContext3_Impl: ID2D1DeviceContext2_Impl {
// Required methods
fn CreateSpriteBatch(&self) -> Result<ID2D1SpriteBatch>;
fn DrawSpriteBatch(
&self,
spritebatch: Ref<'_, ID2D1SpriteBatch>,
startindex: u32,
spritecount: u32,
bitmap: Ref<'_, ID2D1Bitmap>,
interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE,
spriteoptions: D2D1_SPRITE_OPTIONS,
);
}
Required Methods§
fn CreateSpriteBatch(&self) -> Result<ID2D1SpriteBatch>
fn DrawSpriteBatch( &self, spritebatch: Ref<'_, ID2D1SpriteBatch>, startindex: u32, spritecount: u32, bitmap: Ref<'_, ID2D1Bitmap>, interpolationmode: D2D1_BITMAP_INTERPOLATION_MODE, spriteoptions: D2D1_SPRITE_OPTIONS, )
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.