pub trait Debugger {
// Required methods
fn render_color_image_to_canvas(
&self,
image: &ColorImage,
) -> Result<(), &'static str>;
fn render_bounding_rect_to_canvas_with_color(
&self,
rect: &BoundingRect,
color: Color,
);
fn log(&self, msg: &str);
// Provided methods
fn render_binary_image_to_canvas(
&self,
image: &BinaryImage,
) -> Result<(), &'static str> { ... }
fn render_point_i32_to_canvas(&self, point: PointI32) { ... }
fn render_point_i32_to_canvas_with_size_color(
&self,
point: PointI32,
size: usize,
color: Color,
) { ... }
fn render_bounding_rect_to_canvas(&self, rect: &BoundingRect) { ... }
}Expand description
For use during development to help visualizing the pipeline stages