pub trait CUDA_BackgroundSubtractorGMGTraitConst: BackgroundSubtractorTraitConst {
// Required method
fn as_raw_CUDA_BackgroundSubtractorGMG(&self) -> *const c_void;
// Provided methods
fn get_max_features(&self) -> Result<i32> { ... }
fn get_default_learning_rate(&self) -> Result<f64> { ... }
fn get_num_frames(&self) -> Result<i32> { ... }
fn get_quantization_levels(&self) -> Result<i32> { ... }
fn get_background_prior(&self) -> Result<f64> { ... }
fn get_smoothing_radius(&self) -> Result<i32> { ... }
fn get_decision_threshold(&self) -> Result<f64> { ... }
fn get_update_background_model(&self) -> Result<bool> { ... }
fn get_min_val(&self) -> Result<f64> { ... }
fn get_max_val(&self) -> Result<f64> { ... }
}Expand description
Constant methods for crate::cudalegacy::CUDA_BackgroundSubtractorGMG
Required Methods§
fn as_raw_CUDA_BackgroundSubtractorGMG(&self) -> *const c_void
Provided Methods§
fn get_max_features(&self) -> Result<i32>
fn get_default_learning_rate(&self) -> Result<f64>
fn get_num_frames(&self) -> Result<i32>
fn get_quantization_levels(&self) -> Result<i32>
fn get_background_prior(&self) -> Result<f64>
fn get_smoothing_radius(&self) -> Result<i32>
fn get_decision_threshold(&self) -> Result<f64>
fn get_update_background_model(&self) -> Result<bool>
fn get_min_val(&self) -> Result<f64>
fn get_max_val(&self) -> Result<f64>
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.