pub trait CUDA_FarnebackOpticalFlowTrait: CUDA_DenseOpticalFlowTrait + CUDA_FarnebackOpticalFlowTraitConst {
// Required method
fn as_raw_mut_CUDA_FarnebackOpticalFlow(&mut self) -> *mut c_void;
// Provided methods
fn set_num_levels(&mut self, num_levels: i32) -> Result<()> { ... }
fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()> { ... }
fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()> { ... }
fn set_win_size(&mut self, win_size: i32) -> Result<()> { ... }
fn set_num_iters(&mut self, num_iters: i32) -> Result<()> { ... }
fn set_poly_n(&mut self, poly_n: i32) -> Result<()> { ... }
fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()> { ... }
fn set_flags(&mut self, flags: i32) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::cudaoptflow::CUDA_FarnebackOpticalFlow
Required Methods§
fn as_raw_mut_CUDA_FarnebackOpticalFlow(&mut self) -> *mut c_void
Provided Methods§
fn set_num_levels(&mut self, num_levels: i32) -> Result<()>
fn set_pyr_scale(&mut self, pyr_scale: f64) -> Result<()>
fn set_fast_pyramids(&mut self, fast_pyramids: bool) -> Result<()>
fn set_win_size(&mut self, win_size: i32) -> Result<()>
fn set_num_iters(&mut self, num_iters: i32) -> Result<()>
fn set_poly_n(&mut self, poly_n: i32) -> Result<()>
fn set_poly_sigma(&mut self, poly_sigma: f64) -> Result<()>
fn set_flags(&mut self, flags: i32) -> 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.