extern "C" {
#[doc(hidden)] fn cv_PtrOfANN_MLP_get(ptr: *mut c_void) -> *mut c_void;
#[doc(hidden)] fn cv_delete_PtrOfANN_MLP(ptr: *mut c_void);
}
#[allow(dead_code)]
pub struct PtrOfANN_MLP {
pub(crate) ptr: *mut c_void
}
impl PtrOfANN_MLP {
#[doc(hidden)] pub fn as_raw_PtrOfANN_MLP(&self) -> *mut c_void {
self.ptr
}
}
impl Drop for PtrOfANN_MLP {
fn drop(&mut self) {
unsafe { cv_delete_PtrOfANN_MLP(self.ptr) };
}
}
impl core::ANN_MLP for PtrOfANN_MLP {
#[doc(hidden)]
fn as_raw_ANN_MLP(&self) -> *mut c_void {
unsafe { cv_PtrOfANN_MLP_get(self.ptr) }
}
}
impl core::Algorithm for PtrOfANN_MLP {
#[doc(hidden)]
fn as_raw_Algorithm(&self) -> *mut c_void {
unsafe { cv_PtrOfANN_MLP_get(self.ptr) }
}
}
impl core::StatModel for PtrOfANN_MLP {
#[doc(hidden)]
fn as_raw_StatModel(&self) -> *mut c_void {
unsafe { cv_PtrOfANN_MLP_get(self.ptr) }
}
}