Function imageproc::drawing::draw_filled_rect_mut

source ยท
pub fn draw_filled_rect_mut<C>(canvas: &mut C, rect: Rect, color: C::Pixel)
where C: Canvas,
Expand description

Draws a rectangle and its contents on an image in place.

Draws as much of the rectangle and its contents as lies inside the image bounds.