pub trait WImageOverlayTrait: WImageOverlayTraitConst + Widget2DTrait {
    // Required method
    fn as_raw_mut_WImageOverlay(&mut self) -> *mut c_void;

    // Provided method
    fn set_image(&mut self, image: &impl ToInputArray) -> Result<()> { ... }
}
Expand description

Mutable methods for crate::viz::WImageOverlay

Required Methods§

Provided Methods§

source

fn set_image(&mut self, image: &impl ToInputArray) -> Result<()>

Sets the image content of the widget.

Parameters
  • image: BGR or Gray-Scale image.

Object Safety§

This trait is not object safe.

Implementors§