pub trait CUDA_CannyEdgeDetectorTraitConst: AlgorithmTraitConst {
// Required method
fn as_raw_CUDA_CannyEdgeDetector(&self) -> *const c_void;
// Provided methods
fn get_low_threshold(&self) -> Result<f64> { ... }
fn get_high_threshold(&self) -> Result<f64> { ... }
fn get_apperture_size(&self) -> Result<i32> { ... }
fn get_l2_gradient(&self) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::cudaimgproc::CUDA_CannyEdgeDetector
Required Methods§
fn as_raw_CUDA_CannyEdgeDetector(&self) -> *const c_void
Provided Methods§
fn get_low_threshold(&self) -> Result<f64>
fn get_high_threshold(&self) -> Result<f64>
fn get_apperture_size(&self) -> Result<i32>
fn get_l2_gradient(&self) -> Result<bool>
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.