opencv 0.5.3

Rust bindings for OpenCV
Documentation
extern "C" {
    #[doc(hidden)] fn cv_PtrOfLogisticRegression_get(ptr: *mut c_void) -> *mut c_void;
    #[doc(hidden)] fn cv_delete_PtrOfLogisticRegression(ptr: *mut c_void);
}

#[allow(dead_code)]
pub struct PtrOfLogisticRegression {
    pub(crate) ptr: *mut c_void
}

impl PtrOfLogisticRegression {
    #[doc(hidden)] pub fn as_raw_PtrOfLogisticRegression(&self) -> *mut c_void {
        self.ptr
    }
}

impl Drop for PtrOfLogisticRegression {
    fn drop(&mut self) {
        unsafe { cv_delete_PtrOfLogisticRegression(self.ptr) };
    }
}
impl core::Algorithm for PtrOfLogisticRegression {
    #[doc(hidden)]
    fn as_raw_Algorithm(&self) -> *mut c_void {
        unsafe { cv_PtrOfLogisticRegression_get(self.ptr) }
    }
}

impl core::StatModel for PtrOfLogisticRegression {
    #[doc(hidden)]
    fn as_raw_StatModel(&self) -> *mut c_void {
        unsafe { cv_PtrOfLogisticRegression_get(self.ptr) }
    }
}

impl core::LogisticRegression for PtrOfLogisticRegression {
    #[doc(hidden)]
    fn as_raw_LogisticRegression(&self) -> *mut c_void {
        unsafe { cv_PtrOfLogisticRegression_get(self.ptr) }
    }
}