pub trait TextDetectionModel_DBTraitConst: TextDetectionModelTraitConst {
// Required method
fn as_raw_TextDetectionModel_DB(&self) -> *const c_void;
// Provided methods
fn get_binary_threshold(&self) -> Result<f32> { ... }
fn get_polygon_threshold(&self) -> Result<f32> { ... }
fn get_unclip_ratio(&self) -> Result<f64> { ... }
fn get_max_candidates(&self) -> Result<i32> { ... }
}
Expand description
Constant methods for crate::dnn::TextDetectionModel_DB
Required Methods§
fn as_raw_TextDetectionModel_DB(&self) -> *const c_void
Provided Methods§
fn get_binary_threshold(&self) -> Result<f32>
fn get_polygon_threshold(&self) -> Result<f32>
fn get_unclip_ratio(&self) -> Result<f64>
fn get_max_candidates(&self) -> Result<i32>
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.