Trait WImageOverlayTrait

Source
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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§