pub trait IRenderTargetBitmapImpl:
IReadableBitmapImpl
+ Send
+ Sync {
// Required method
fn create_drawing_context(&self) -> Box<dyn IDrawingContextImpl>;
}Expand description
Defines the platform-specific interface for a bitmap that can be drawn into.
Required Methods§
Sourcefn create_drawing_context(&self) -> Box<dyn IDrawingContextImpl>
fn create_drawing_context(&self) -> Box<dyn IDrawingContextImpl>
Creates a drawing context that draws into the bitmap.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".