pub trait OpticalFlowPCAFlowTrait: OpticalFlowPCAFlowTraitConst + DenseOpticalFlowTrait {
// Required method
fn as_raw_mut_OpticalFlowPCAFlow(&mut self) -> *mut c_void;
// Provided methods
fn calc(
&mut self,
i0: &impl ToInputArray,
i1: &impl ToInputArray,
flow: &mut impl ToInputOutputArray,
) -> Result<()> { ... }
fn collect_garbage(&mut self) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::optflow::OpticalFlowPCAFlow
Required Methods§
fn as_raw_mut_OpticalFlowPCAFlow(&mut self) -> *mut c_void
Provided Methods§
fn calc( &mut self, i0: &impl ToInputArray, i1: &impl ToInputArray, flow: &mut impl ToInputOutputArray, ) -> Result<()>
fn collect_garbage(&mut self) -> 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.