pub trait CUDA_DensePyrLKOpticalFlowTrait: CUDA_DenseOpticalFlowTrait + CUDA_DensePyrLKOpticalFlowTraitConst {
// Required method
fn as_raw_mut_CUDA_DensePyrLKOpticalFlow(&mut self) -> *mut c_void;
// Provided methods
fn set_win_size(&mut self, win_size: Size) -> Result<()> { ... }
fn set_max_level(&mut self, max_level: i32) -> Result<()> { ... }
fn set_num_iters(&mut self, iters: i32) -> Result<()> { ... }
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::cudaoptflow::CUDA_DensePyrLKOpticalFlow
Required Methods§
fn as_raw_mut_CUDA_DensePyrLKOpticalFlow(&mut self) -> *mut c_void
Provided Methods§
fn set_win_size(&mut self, win_size: Size) -> Result<()>
fn set_max_level(&mut self, max_level: i32) -> Result<()>
fn set_num_iters(&mut self, iters: i32) -> Result<()>
fn set_use_initial_flow(&mut self, use_initial_flow: bool) -> 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.