Trait opencv::viz::Widget2DTrait[][src]

pub trait Widget2DTrait: Widget2DTraitConst + WidgetTrait {
    fn as_raw_mut_Widget2D(&mut self) -> *mut c_void;

    fn set_color(&mut self, color: &Color) -> Result<()> { ... }
}

Required methods

Provided methods

Sets the color of the widget.

Parameters
  • color: color of type Color

Implementors