Trait opencv::viz::WTextTrait[][src]

pub trait WTextTrait: WTextTraitConst + Widget2DTrait {
    fn as_raw_mut_WText(&mut self) -> *mut c_void;

    fn set_text(&mut self, text: &str) -> Result<()> { ... }
}

Required methods

Provided methods

Sets the text content of the widget.

Parameters
  • text: Text content of the widget.

Implementors