Trait symcode::interfaces::Debugger[][src]

pub trait Debugger {
    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); 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) { ... } }

For use during development to help visualizing the pipeline stages

Required methods

fn render_color_image_to_canvas(
    &self,
    image: &ColorImage
) -> Result<(), &'static str>
[src]

fn render_bounding_rect_to_canvas_with_color(
    &self,
    rect: &BoundingRect,
    color: Color
)
[src]

fn log(&self, msg: &str)[src]

Loading content...

Provided methods

fn render_binary_image_to_canvas(
    &self,
    image: &BinaryImage
) -> Result<(), &'static str>
[src]

fn render_point_i32_to_canvas(&self, point: PointI32)[src]

fn render_point_i32_to_canvas_with_size_color(
    &self,
    point: PointI32,
    size: usize,
    color: Color
)
[src]

fn render_bounding_rect_to_canvas(&self, rect: &BoundingRect)[src]

Loading content...

Implementors

impl Debugger for DummyDebugger[src]

Loading content...