trait ColrDrawSinkExt: DrawSink {
// Provided methods
fn fill_with_paint(&mut self, rect: &Rect, paint: AtlasPaint) { ... }
fn fill_solid(&mut self, rect: &Rect, color: AlphaColor<Srgb>) { ... }
fn fill_gradient(&mut self, rect: &Rect, gradient: Gradient) { ... }
}Provided Methods§
fn fill_with_paint(&mut self, rect: &Rect, paint: AtlasPaint)
fn fill_solid(&mut self, rect: &Rect, color: AlphaColor<Srgb>)
fn fill_gradient(&mut self, rect: &Rect, gradient: Gradient)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".