pub trait InpainterBaseTrait: InpainterBaseTraitConst {
// Required method
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void;
// Provided methods
fn set_radius(&mut self, val: i32) -> Result<()> { ... }
fn set_motion_model(&mut self, val: MotionModel) -> Result<()> { ... }
fn inpaint(
&mut self,
idx: i32,
frame: &mut impl MatTrait,
mask: &mut impl MatTrait,
) -> Result<()> { ... }
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::videostab::InpainterBase
Required Methods§
fn as_raw_mut_InpainterBase(&mut self) -> *mut c_void
Provided Methods§
fn set_radius(&mut self, val: i32) -> Result<()>
fn set_motion_model(&mut self, val: MotionModel) -> Result<()>
fn inpaint( &mut self, idx: i32, frame: &mut impl MatTrait, mask: &mut impl MatTrait, ) -> Result<()>
fn set_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_motions(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilized_frames(&mut self, val: &Vector<Mat>) -> Result<()>
fn set_stabilization_motions(&mut self, val: &Vector<Mat>) -> Result<()>
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.